]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: explicitly error for non-x86 default CPU
authorCole Robinson <crobinso@redhat.com>
Thu, 13 Jul 2017 19:15:38 +0000 (15:15 -0400)
committerCole Robinson <crobinso@redhat.com>
Thu, 3 Aug 2017 15:54:42 +0000 (11:54 -0400)
commit64665fa82f605a5e9aaafd4327fd7cf53751b1bd
treed89876ec1005e047138fbf759634cd73c5bc10a7
parent05583fcb37eae1ce7328491d15b3a02740769d47
qemu: command: explicitly error for non-x86 default CPU

The code only currently handles writing an x86 default -cpu
argument, and doesn't know anything about other architectures.
Let's make this explicit rather than leaving ex. qemu ppc64 to
throw an error about -cpu qemu64

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_command.c