diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-09-17 12:21:29 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-19 16:42:28 +0200 |
commit | 77ac58ddc6be324abc3451ae78a1799efa7cc3b7 (patch) | |
tree | 3fa85c47b2104596c0d4f377cd0b9ae507c8811b /hw/intc | |
parent | da163845602bf75999054d2a9b9f8f877cb36ce2 (diff) | |
download | qemu-77ac58ddc6be324abc3451ae78a1799efa7cc3b7.tar.gz qemu-77ac58ddc6be324abc3451ae78a1799efa7cc3b7.tar.bz2 qemu-77ac58ddc6be324abc3451ae78a1799efa7cc3b7.zip |
dma: do not depend on kvm_enabled()
Memory barriers are needed also by Xen and, when the ioeventfd
bugs are fixed, by TCG as well.
sysemu/kvm.h is not anymore needed in sysemu/dma.h, move it to
the actual users.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/intc')
-rw-r--r-- | hw/intc/arm_gicv2m.c | 1 | ||||
-rw-r--r-- | hw/intc/xics_kvm.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/hw/intc/arm_gicv2m.c b/hw/intc/arm_gicv2m.c index e8b5177dcc..589d315c10 100644 --- a/hw/intc/arm_gicv2m.c +++ b/hw/intc/arm_gicv2m.c @@ -29,6 +29,7 @@ #include "qapi/error.h" #include "hw/sysbus.h" #include "hw/pci/msi.h" +#include "sysemu/kvm.h" #define TYPE_ARM_GICV2M "arm-gicv2m" #define ARM_GICV2M(obj) OBJECT_CHECK(ARMGICv2mState, (obj), TYPE_ARM_GICV2M) diff --git a/hw/intc/xics_kvm.c b/hw/intc/xics_kvm.c index b40292d050..55fd801ffd 100644 --- a/hw/intc/xics_kvm.c +++ b/hw/intc/xics_kvm.c @@ -31,7 +31,7 @@ #include "cpu.h" #include "hw/hw.h" #include "trace.h" -#include "linux/kvm.h" +#include "sysemu/kvm.h" #include "hw/ppc/spapr.h" #include "hw/ppc/xics.h" #include "kvm_ppc.h" |