diff options
-rw-r--r-- | accel.c | 4 | ||||
-rw-r--r-- | include/sysemu/accel.h | 2 |
2 files changed, 2 insertions, 4 deletions
@@ -77,7 +77,7 @@ static int accel_init_machine(AccelClass *acc, MachineState *ms) return ret; } -int configure_accelerator(MachineState *ms) +void configure_accelerator(MachineState *ms) { const char *p; char buf[10]; @@ -128,8 +128,6 @@ int configure_accelerator(MachineState *ms) if (init_failed) { fprintf(stderr, "Back to %s accelerator.\n", acc->name); } - - return !accel_initialised; } diff --git a/include/sysemu/accel.h b/include/sysemu/accel.h index a74b2faf5f..15944c152c 100644 --- a/include/sysemu/accel.h +++ b/include/sysemu/accel.h @@ -56,6 +56,6 @@ typedef struct AccelClass { extern int tcg_tb_size; -int configure_accelerator(MachineState *ms); +void configure_accelerator(MachineState *ms); #endif |