virttest.libvirt_vm: Add functions to get vm pci devices.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>