virttest.utils_misc: add function to format disk in guest

Signed-off-by: Xu Tian <xutian@redhat.com>