[libvirt] [PATCH v3 1/3] Introduce QEMU_CAPS_ARM_VIRT_PCI

Pavel Fedin p.fedin at samsung.com
Tue Jul 7 08:25:41 UTC 2015


 Hello!

> Is there a way how we could detect this according to the actual presence
> of the PCI bus for the ARM machine? A certain device type that can be
> queried rather than relying on a version check.

 I looked at the code you suggested. As far as i could understand, it actually parses an output of
"qemu-system-blah -device ?" plus some extras. And this command lists all devices that this qemu
version knows, and not only what can be attached to a particular machine.
 I browsed through the history of qemu patches. Actually, "gpex-pcihost" device was implemented
together with adding it to 'virt' machine. So, i could query for this flag and count it as
capability. But - it only says that qemu knows this device in principle. It does not say that this
device is really a part of virt machine. Will it be acceptable ?

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia





More information about the libvir-list mailing list