
On 09/04/2013 06:13 AM, Michal Privoznik wrote:
On 28.08.2013 06:00, Eric Blake wrote:
In Fedora 19, 'qemu-kvm' is a simple wrapper that calls 'qemu-system-x86_64 -machine accel=kvm'. Attempting to use 'virsh qemu-attach $pid' to a machine started as:
qemu-kvm -cdrom /var/lib/libvirt/images/foo.img \ -monitor unix:/tmp/demo,server,nowait -name foo \ --uuid cece4f9f-dff0-575d-0e8e-01fe380f12ea
was failing with: error: XML error: No PCI buses available
because we did not see 'kvm' in the executable name parsed from /proc/$pid/cmdline, which in turn led to not setting def->os.machine correctly, which in turn led to refusal to recognize the pci bus.
ACK
Thanks; pushed. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org