aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/exec.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2009-12-05 12:44:26 +0100
committerAurelien Jarno <aurelien@aurel32.net>2009-12-05 17:36:05 +0100
commit10c339a07d42fcccbccd3f8a5e9c94ccb51fe3e4 (patch)
tree5f0a7c337caba4c87117bd6afe2c9682c1ce5ad0 /target-s390x/exec.h
parent6b02494d64a15476e26a6e8468623d01c4c75c58 (diff)
Add support for S390x system emulation
Let's enable the basics for system emulation so we can run virtual machines with KVM! Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-s390x/exec.h')
-rw-r--r--target-s390x/exec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-s390x/exec.h b/target-s390x/exec.h
index 5198359804..13dc7dd066 100644
--- a/target-s390x/exec.h
+++ b/target-s390x/exec.h
@@ -22,9 +22,14 @@
register struct CPUS390XState *env asm(AREG0);
+#include "config.h"
#include "cpu.h"
#include "exec-all.h"
+#if !defined(CONFIG_USER_ONLY)
+#include "softmmu_exec.h"
+#endif /* !defined(CONFIG_USER_ONLY) */
+
static inline int cpu_has_work(CPUState *env)
{
return env->interrupt_request & CPU_INTERRUPT_HARD; // guess