virt: Multi-host migration with network problem on destination side

1) Multi-host migration with network problem on destination side
2) Repair multi-host test starter for renamed kvm tests to qemu tests.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virt: Repairs Multi-host starter for renamed tests [kvm->qemu].

Signed-off-by: Jiří Župka <jzupka@redhat.com>
bootstrap: Introduce force_update param for create_config_files()

When running the automated regression tests on autotest,
it is useful to force update of the config files. So,
add this option to the create_config_files function,
so we can make programs that use it.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Add update_config.py script

So that we can upgrade forcefully all config files for
a given test, useful for automated regression testing
of virt-tests.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
cfg files: Access cfg files on both specific and shared dirs the same way

Fix an inconsistency in the bootstrap setup, making it
better for automated next regression testing.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt: Fix utils_net / unittest KVM -> Qemu

Signed-off-by: Chris Evich <cevich@redhat.com>
update_config: Also include subtests.cfg creation

So that the config is fully functional.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt-libvirt: VMXML.new_from_dumpxml bugfix

Parameters to VMXML instantiation were wrong.  Added unittest
to flag related problems with this method in future.

Signed-off-by: Chris Evich <cevich@redhat.com>
Fix some other references to vm_type = kvm

Change those to 'qemu'.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu test: Add sr_iov_boot_negative.py test script

This script covers some sr-iov negative boot test case.
Boot sr-iov device with invalid parameter.

Signed-off-by: Feng Yang <fyang@redhat.com>
qemu test: Add sr_iov_hotplug_negative.py test script

This script covers some sr-iov hotplug negative test case.
Hotplug sr-iov device with invalid parameters.

Signed-off-by: Feng Yang <fyang@redhat.com>
qemu: Add sr-iov negative test cases

It covers the following sr-iov negative test cases:

[KVM_AUTOTEST][SR-IOV] RFE: Hotplug VF/PF with invalid addr value
[KVM_AUTOTEST][SR-IOV] Generate -1 VF from one PF
[KVM_AUTOTEST][SR-IOV] Hot add a VF with iommu turned off
[KVM_AUTOTEST][SR-IOV] Remove SR-IOV driver while VF is in use by guest
[KVM_AUTOTEST][SR-IOV] Assign a PCI device to qemu guest in -no-kvm mode
[KVM_AUTOTEST][SR-IOV] Assign multiple VFs to multiple guests
[KVM_AUTOTEST][SR-IOV] RFE: Generate more than Max VFs from one PF

Signed-off-by: Feng Yang <fyang@redhat.com>
guest-hw.cfg: Update driver_option for more_than_max_vfs and negative_max_vfs cases

Signed-off-by: Feng Yang <fyang@redhat.com>
qemu: add chardev_hotplug test

Hotplug a number of chardev devices to qemu and
verify whether they have the expected functionality.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
virt: Multi-host repair compatibility with new virt cfg structure.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virt: Adds test for vhost and adds minor repair for file transfer tests.

vhost test: tests for migration with different vhost param setup.
repair: multi-host file transfer test. The test correctly delete all files
        which are used for testing and adds parameter for "del_file_with_err"
        control deleting of files used for testing.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virt: cartesian_config catch another cfg error.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virt-libvirt: add configuration for virsh edit

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt-libvirt: add virsh function for virsh edit

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt-libvirt: add test for virsh edit

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