[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 16/25] accel: Allow to build QEMU without TCG or KVM
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PULL 16/25] accel: Allow to build QEMU without TCG or KVM support |
Date: |
Sat, 9 Mar 2019 08:48:09 +0100 |
From: Anthony PERARD <address@hidden>
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 <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
accel/accel.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/accel/accel.c b/accel/accel.c
index 68b6d56..0d5b370 100644
--- a/accel/accel.c
+++ b/accel/accel.c
@@ -91,7 +91,9 @@ void configure_accelerator(MachineState *ms, const char
*progname)
#elif defined(CONFIG_KVM)
accel = "kvm";
#else
-#error "No default accelerator available"
+ error_report("No accelerator selected and"
+ " no default accelerator available");
+ exit(1);
#endif
}
}
--
1.8.3.1
- [Qemu-devel] [PULL 02/25] vfio-pci: enable by default, (continued)
- [Qemu-devel] [PULL 02/25] vfio-pci: enable by default, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 04/25] block/iscsi: Restrict Linux-specific code, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 08/25] i386: extended the cpuid_level when Intel PT is enabled, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 07/25] target-i386: add kvm stubs to user-mode emulators, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 14/25] build: remove unnecessary assignments from Makefile.target, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 12/25] update copyright notice, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 19/25] scsi-disk: Fix crash if request is invaild or disk is no medium, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 11/25] lsi: check if SIGP bit is already set in Wait reselect, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 20/25] lsi: use ldn_le_p()/stn_le_p(), Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 17/25] oslib-posix: Ignore fcntl("/dev/null", F_SETFL, O_NONBLOCK) failure, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 16/25] accel: Allow to build QEMU without TCG or KVM support,
Paolo Bonzini <=
- [Qemu-devel] [PULL 24/25] lsi: return dfifo value, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 10/25] lsi: implement basic SBCL functionality, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 06/25] configure: Enable werror for git worktrees, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 18/25] configure: Disable W^X on OpenBSD, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 25/25] exec: streamline flatview_add_to_dispatch, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 22/25] lsi: use enum type for s->msg_action, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 09/25] virtio-scsi: Fix build with gcc 9, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 23/25] lsi: use SCSI phase names instead of numbers in trace, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 05/25] contrib/elf2dmp: add kernel start address checking, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 13/25] build: get rid of target-obj-y, Paolo Bonzini, 2019/03/09