]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Set arch to i686 if qemu-system-i386 is found
authorGuido Günther <agx@sigxcpu.org>
Thu, 18 Oct 2012 23:14:15 +0000 (01:14 +0200)
committerGuido Günther <agx@sigxcpu.org>
Fri, 19 Oct 2012 06:12:21 +0000 (08:12 +0200)
commitc324bad93ac7fb7b7db69b3576e58f31dfa94dbd
tree63ade0677b3df6461668bf17862f6e8d6f872ff4
parenta605594f8e2feaa77474008212a31a8dd21b03b7
qemu: Set arch to i686 if qemu-system-i386 is found

If we can't probe the architecture from QMP we parse the architecture
from the qemu binaries name. This results in the architecture being i386
instead of i686 which then results in QEMU_CAPS_PCI_MULTIBUS being unset
which gives a broken qemu command line.

This probably didn't show up earlier since most of the time there's also
a /usr/bin/qemu around which results in i686 capabilities.
src/qemu/qemu_capabilities.c