aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-04-17 18:59:13 +0200
committerJuan Quintela <quintela@redhat.com>2017-05-18 19:20:59 +0200
commit82b9d0f06ab23c0c06b0a8c3adac4c39c38db67a (patch)
tree6c9213a0b1649c615f281f4f6c41ed02fe04dbb5 /include
parent576d1abc205fb1c135a7448df96bc9d47cb360dc (diff)
downloadqemu-82b9d0f06ab23c0c06b0a8c3adac4c39c38db67a.zip
qemu-82b9d0f06ab23c0c06b0a8c3adac4c39c38db67a.tar.gz
qemu-82b9d0f06ab23c0c06b0a8c3adac4c39c38db67a.tar.bz2
migration: Remove qemu-file.h from vmstate.h
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> -- minor rearangements due to the rebase
Diffstat (limited to 'include')
-rw-r--r--include/hw/hw.h1
-rw-r--r--include/migration/vmstate.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/hw.h b/include/hw/hw.h
index e22d4ce..af9eae1 100644
--- a/include/hw/hw.h
+++ b/include/hw/hw.h
@@ -11,6 +11,7 @@
#include "exec/memory.h"
#include "hw/irq.h"
#include "migration/vmstate.h"
+#include "migration/qemu-file.h"
#include "qemu/module.h"
#include "sysemu/reset.h"
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index dacb052..f97411d 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -27,9 +27,6 @@
#ifndef QEMU_VMSTATE_H
#define QEMU_VMSTATE_H
-#ifndef CONFIG_USER_ONLY
-#include "migration/qemu-file.h"
-#endif
#include "migration/qjson.h"
typedef void SaveStateHandler(QEMUFile *f, void *opaque);