virt: Add a func to make filesystem on partition

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>