diff options
Diffstat (limited to 'accel')
-rw-r--r-- | accel/accel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/accel/accel.c b/accel/accel.c index 68b6d56323..0d5b370dfd 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 } } |