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

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