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.utils_sasl: add SASL common utilities

Signed-off-by: Alex Jia <chuanchang.jia@gmail.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>
virttest.utils_conn: support more features

Signed-off-by: Alex Jia <chuanchang.jia@gmail.com>
iscsi.export_target: change selinux mode

If selinux is enforcing, when adding a logicalunit to a target during
iscsi target epxport, you will get the error: 'tgtadm: invalid request'.
So compromise selinux mode to avoid this problem.

Signed-off-by: Yanbing Du <ydu@redhat.com>
iscsi: Support CHAP authentication for iscsi target

1. Implement CHAP authentication setup.
2. Update libvirt secret_xml to use CHAP authentication.

Signed-off-by: Yanbing Du <ydu@redhat.com>
libvirt_xml.devices.disk: Support auth element for disk xml

Signed-off-by: Yanbing Du <ydu@redhat.com>
utils_test.libvirt: Support more disk type for create_disk_xml

Signed-off-by: Yanbing Du <ydu@redhat.com>
virt: Get more address type from vmxml

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt: Add get_all_cgroups into Cgroup class

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.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>