aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-06-24 14:25:15 -0500
committerAvi Kivity <avi@redhat.com>2009-06-28 10:55:49 +0300
commit9011bae8e2101095aae53f1f1553ca3e72919f9b (patch)
treefc7845115ea9ed32d113b4e9aa6b00fc3cda7bfb /target-ppc
parentMerge branch 'upstream-merge' (diff)
downloadqemu-kvm-9011bae8e2101095aae53f1f1553ca3e72919f9b.tar.gz
qemu-kvm-9011bae8e2101095aae53f1f1553ca3e72919f9b.tar.bz2
qemu-kvm-9011bae8e2101095aae53f1f1553ca3e72919f9b.zip
Fix ppc-softmmu kvm-disabled build
This gets ppc-softmmu building when KVM is not enabled. It may be enough to get it working with KVM enabled but I haven't checked. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/helper.c1
-rw-r--r--target-ppc/machine.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index 5a7a935bb..3629c9928 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -29,6 +29,7 @@
#include "helper_regs.h"
#include "qemu-common.h"
#include "kvm.h"
+#include "qemu-kvm.h"
//#define DEBUG_MMU
//#define DEBUG_BATS
diff --git a/target-ppc/machine.c b/target-ppc/machine.c
index 99ba3eb2a..ec8e19794 100644
--- a/target-ppc/machine.c
+++ b/target-ppc/machine.c
@@ -1,6 +1,7 @@
#include "hw/hw.h"
#include "hw/boards.h"
#include "kvm.h"
+#include "qemu-kvm.h"
void cpu_save(QEMUFile *f, void *opaque)
{