virt: Add a func to format disk address in utils_test module

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