autotest/virt-test — pull request #770 by ldoktor (2013-08-22 18:01:57+00:00)
Title: virttest.qemu_devices: Differentiate between qemu and autotest bus type

This patchset changes the way bus type is handled in qemu_devices. This was required as qemu type is often shared between various kind of devices (eg. ide-hd uses IDE bus, which is common to ide and ahci HBA).

Additionally this patch fixes the problem, where device was added in qemu into first qemu-matching-bus, which wasn't autotest matching bus (ide disk was added into ahci bus). In case this should happened autotest sets the bus and full address of the device.

There is still an extra hack for ahci disks, because qemu handles them kind-of weird. I need to check with developer whether this is a bug or very nasty feature.

Kind regards,
Lukáš

PS: The first two commits (cbf7624 and e7aa02b) are part of https://github.com/autotest/virt-test/pull/760 pull request thus no need to review them here.