qemu.tests.pci_devices: Get firmware time to initialize

Before "info qtree" returns the correct values, firmware initialization
has to finish. 10s should be enough (in case we won't define 1000
devices)

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.pci_devices: Add virtio_disk testing devices

This patch adds the possibility to use virtio_disks for testing.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.pci_devices: Add support for uhci test device

Make it possible to use ich9-usb-uhci controller for pci_devices testing

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
virttest.qemu_devices: Fix the bug with overwritten bus for virtio disk

The bus property of virtio disks is set by pci_bus and is set during
device insertion via parent_bus.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.pci_devices: Major config update

Original setups were only for developing the test and some of them
were invalid (impossible for real hw and thus unsupported by kernel).
These setups were checked with pci device developer and they should be
working properly.
qemu.test: Not create test file when it is not necessary

Not create test file when it is not necessary

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
qemu.tests.cfg: add remove_image_stg for usb_storage

need to remove the origin image and create a new image for format_disk
when running every usb_storage subcase.

Signed-off-by: Shuping Cui <scui@redhat.com>
Merge pull request #1238 from jferlan/virsh_migrate_multi_vms

virsh_migrate_multi_vms: SKIP if srcuri and desturi not defined
Merge pull request #1263 from spcui/usb_storage_fix

qemu.tests.cfg: add remove_image_stg for usb_storage
qemu_vm, aexpect, utils_misc: attempt to catch qemu in defunct state.

Add support to detect if qemu becomes <defunct> (zombie)
after it was started. If qemu is detected defunct, it will
raise virt_vm.VMStartError().

Signed-off-by: Ruda Moura <rmoura@redhat.com>
Fix backport bug -> Rename json to simplejson

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Fix undefined variable bug introduced in 10c60b61

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1267 from autotest/fix-backport-bug

Fix backport bug
Merge pull request #1255 from ruda/qemu-defunct

qemu_vm, aexpect, utils_misc: attempt to catch qemu in defunct state.
Merge pull request #1262 from humanux/virtual_nic_send_buffer

qemu.test: Not create test file when it is not necessary
qemu.tests.hypervisor_flag: test for 'hypervisor' flag

Sanity check for 'hypervisor' flag in cpuinfo for the running guest VM.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
staging.backports.simplejson: Use all relative imports

Due to the import structure of the staging module, in
order to make importing the simplejson module possible
in systems without python-simplejson installed already,
use only relative imports. This will avoid the error

ImportError: No module named simplejson.scanner

Found by jferlan.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1268 from autotest/fix-import-problem

staging.backports.simplejson: Use all relative imports
cfg: Fix tcpdump kill command to work on a wider variety of hosts

Using 'pkill -9 tcpdump' works on both new and older
distros.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1270 from autotest/fix-tcpdump-kill

cfg: Fix tcpdump kill command to work on a wider variety of hosts