]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: detect arch correctly for KVM
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Jan 2012 13:49:48 +0000 (14:49 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 27 Jan 2012 15:51:49 +0000 (16:51 +0100)
commit4be541a6d92348b2bdf8bc29ade9685f1ab24692
tree9c16bfc9f05584ae3841b071f03f1c1f77d42089
parentef00a05e515f93f681c1546fad5d90757b986dc2
qemu: detect arch correctly for KVM

When running under KVM, the arch is usually set to i686 because
the name of the emulator is not qemu-system-x86_64.  Use the host
arch instead.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
src/qemu/qemu_command.c