virt: Add a func to make filesystem on partition

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #1731 from liyangfnst/mkfs

virt: Add a func to make filesystem on partition