[libvirt] [PATCH 3/3] qemu: recognize -machine accel=kvm when parsing native

Eric Blake eblake at redhat.com
Fri Sep 6 15:56:17 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130906/61fa8ef1/attachment-0001.sig>


More information about the libvir-list mailing list