]> xenbits.xensource.com Git - libvirt.git/commit
qemu: command: Support arm 32-on-64 KVM with -cpu aarch64=off
authorCole Robinson <crobinso@redhat.com>
Thu, 21 May 2015 22:18:20 +0000 (18:18 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 8 Jun 2015 21:51:06 +0000 (17:51 -0400)
commit29ce1693fa16634610520218d5b227dcdaba7fc3
tree876a64111f891809e39e4f8107ab576e7271ff6f
parent65a0b334f96fd0a24fa4e3cf9709594994ab42d5
qemu: command: Support arm 32-on-64 KVM with -cpu aarch64=off

qemu 2.3.0 added the -cpu host,aarch64=off option, which allows using
qemu-system-aarch64 KVM to run armv7l VMs.

Add a capabilities check for it, wire it up in qemu_command, and test
the command line generation.
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-aarch64-kvm-32-on-64.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-aarch64-kvm-32-on-64.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c