diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-27 08:40:04 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-19 16:42:28 +0200 |
commit | 741da0d38b40b143724de320f4ed599402eece07 (patch) | |
tree | 4620cc4fd5f18d951b71069e2ae5d3207a479cfb /target-s390x/cpu.c | |
parent | 1e00b8d57a16b9855ae49c2b0fe897e4ec7142d4 (diff) |
hw: cannot include hw/hw.h from user emulation
All qdev definitions are available from other headers, user-mode
emulation does not need hw/hw.h.
By considering system emulation only, it is simpler to disentangle
hw/hw.h from NEED_CPU_H.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-s390x/cpu.c')
-rw-r--r-- | target-s390x/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-s390x/cpu.c b/target-s390x/cpu.c index 4bfff341dc..e6651654f3 100644 --- a/target-s390x/cpu.c +++ b/target-s390x/cpu.c @@ -30,10 +30,11 @@ #include "qemu/cutils.h" #include "qemu/timer.h" #include "qemu/error-report.h" -#include "hw/hw.h" #include "trace.h" #include "qapi/visitor.h" +#include "migration/vmstate.h" #ifndef CONFIG_USER_ONLY +#include "hw/hw.h" #include "sysemu/arch_init.h" #include "sysemu/sysemu.h" #include "hw/s390x/sclp.h" |