From b39466269b9b3c29b0c31c1320aa519f376b750f Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Tue, 10 Jan 2017 11:59:55 +0100 Subject: kvm: move cpu synchronization code Move the generic cpu_synchronize_ functions to the common hw_accel.h header, in order to prepare for the addition of a second hardware accelerator. Signed-off-by: Stefan Weil Signed-off-by: Vincent Palatin Message-Id: Signed-off-by: Paolo Bonzini --- target/i386/helper.c | 1 + target/i386/kvm.c | 1 + 2 files changed, 2 insertions(+) (limited to 'target/i386') diff --git a/target/i386/helper.c b/target/i386/helper.c index 43e87dd..19b2656 100644 --- a/target/i386/helper.c +++ b/target/i386/helper.c @@ -24,6 +24,7 @@ #include "kvm_i386.h" #ifndef CONFIG_USER_ONLY #include "sysemu/sysemu.h" +#include "sysemu/hw_accel.h" #include "monitor/monitor.h" #include "hw/i386/apic_internal.h" #endif diff --git a/target/i386/kvm.c b/target/i386/kvm.c index 10a9cd8..e6c4f75 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -23,6 +23,7 @@ #include "qemu-common.h" #include "cpu.h" #include "sysemu/sysemu.h" +#include "sysemu/hw_accel.h" #include "sysemu/kvm_int.h" #include "kvm_i386.h" #include "hyperv.h" -- cgit v1.1