virttest: add new function to utils_misc

get guest disk free space and memory free size

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