summaryrefslogtreecommitdiff
path: root/savevm.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2013-11-28 12:01:11 -0200
committerJuan Quintela <quintela@redhat.com>2014-01-13 12:39:48 +0100
commitb5503338ed1c66310f090cd9164abd244fc82631 (patch)
tree7972f534148c3032b425e37dd0b793db279f2bb9 /savevm.c
parentc961514fd9e707b6a39c60f687a711ffe0a33539 (diff)
downloadqemu-b5503338ed1c66310f090cd9164abd244fc82631.tar.gz
qemu-b5503338ed1c66310f090cd9164abd244fc82631.tar.bz2
qemu-b5503338ed1c66310f090cd9164abd244fc82631.zip
migration: Move QEMU_VM_* defines to migration/migration.h
The VMState code will be moved to vmstate.c and it uses some of the QEMU_VM_* constants, so move it to a header. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'savevm.c')
-rw-r--r--savevm.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/savevm.c b/savevm.c
index 8da1d295b1..46643f1cd8 100644
--- a/savevm.c
+++ b/savevm.c
@@ -1821,17 +1821,6 @@ static void vmstate_save(QEMUFile *f, SaveStateEntry *se)
vmstate_save_state(f,se->vmsd, se->opaque);
}
-#define QEMU_VM_FILE_MAGIC 0x5145564d
-#define QEMU_VM_FILE_VERSION_COMPAT 0x00000002
-#define QEMU_VM_FILE_VERSION 0x00000003
-
-#define QEMU_VM_EOF 0x00
-#define QEMU_VM_SECTION_START 0x01
-#define QEMU_VM_SECTION_PART 0x02
-#define QEMU_VM_SECTION_END 0x03
-#define QEMU_VM_SECTION_FULL 0x04
-#define QEMU_VM_SUBSECTION 0x05
-
bool qemu_savevm_state_blocked(Error **errp)
{
SaveStateEntry *se;