aboutsummaryrefslogtreecommitdiff
path: root/target-openrisc
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-03-15 12:51:18 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-05-19 16:42:28 +0200
commit1e00b8d57a16b9855ae49c2b0fe897e4ec7142d4 (patch)
tree2f5b8c78efb15abc1e455aebc86d41d5935a2578 /target-openrisc
parentcbd62f8616305085a547ad4245e0b63a61b3aa71 (diff)
hw: move CPU state serialization to migration/cpu.h
Remove usage of NEED_CPU_H from hw/hw.h. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-openrisc')
-rw-r--r--target-openrisc/machine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-openrisc/machine.c b/target-openrisc/machine.c
index b4dc08dfe1..bd5d50f338 100644
--- a/target-openrisc/machine.c
+++ b/target-openrisc/machine.c
@@ -20,6 +20,7 @@
#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/boards.h"
+#include "migration/cpu.h"
static const VMStateDescription vmstate_env = {
.name = "env",