virttest: Remove duplicate lines in qemu_vm

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest.qemu_device: Make virtio-scsi-pci bus can support num_queues

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest: Init old_redirs as a empty dict

Make the type of old_redirs and self.redirs the same. Otherwise
it will always failed in the check step and set up the self.devices
to None.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest: Update nic command line in create when devices already exist

As we will skip the command update if vm object already have self.devices
in qemu_vm. We need manually update the fds and vhostfds for it when we
get them from host.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest: Remove the special strings from sysfs of numa possible node

In some system the possible node information read from sysfs include some
special string as \x00 for end of the string. Need remove it as it will
failed the translate of string to int.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest.qemu_vm: Support ctrl_mac_addr parameter in qemu command.

Signed-off-by: Feng Yang <fyang@redhat.com>
virt.share.cfg: Update macvtap_mac_change configure.

Signed-off-by: Feng Yang <fyang@redhat.com>
Docs: Update multi host migration instructions

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
v2v.tests: List all testcases as default.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest.libvirt_storage: Undefine pool anyway for delete_pool.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest.utils_v2v: Support both network and bridge option.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test.libvirt: Add mk_label function.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Revert deleting of v2v_quick filters.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
test_setup: Restart polkitd for rule to take effect

After some research, we found that polkit rule will take 1 second to
take effct after change. This will cause some fail cases if interval
between checking access and writing rule are short enough.

yumingfei pointed out restart polkit service will force rules to take
effect.

Signed-off-by: Hao Liu <hliu@redhat.com>
virt: Add a func to get graphic devices

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt: Modify add_ssl_spice_graphic to make it can add vnc type

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virttest.virsh: Update snapshot_current function

Simplify the function to only return CmdResult instance, did not
handle cmd status in function, which will benefit for adding more
negatvie cases.

Signed-off-by: Wayne Sun <gsun@redhat.com>
libvirt_xml: Support guest panic dump

Signed-off-by: Yanbing Du <ydu@redhat.com>
utils_libguestfs: Add some new APIs
capability_xml: Add getter for power_management

Add a function to get a list contains all supported power management
methods.

Signed-off-by: Hao Liu <hliu@redhat.com>