virt: Add funcs to get pool and volumes

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