accel: Allow to build QEMU without TCG or KVM support
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 16 Jan 2019 17:35:27 +0000 (17:35 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 11 Mar 2019 15:33:49 +0000 (16:33 +0100)
commitb0c214ce4145e35a39362b8a3da88b4908ca7c71
treeaed8ac575290aa64cab0552d0fca098d25cd4bc8
parent74970d35b43036c4dbfaf4c8bef8517c2b1ec6aa
accel: Allow to build QEMU without TCG or KVM support

Instead of deny build of QEMU without a default accelerator, simply
report an error when the user haven't passed -accel or -machine accel=
and TCG and KVM isn't builtin.

./configure already check that at least one accelerator is available.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/accel.c