aboutsummaryrefslogtreecommitdiff
path: root/include/migration/migration.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2015-05-13 18:17:43 +0200
committerJuan Quintela <quintela@redhat.com>2015-07-07 14:54:53 +0200
commit61964c23e5ddd5a33f15699e45ce126f879e3e33 (patch)
treee03e1ed3daa2837b71e1da5ad977d4a8b1c8520a /include/migration/migration.h
parentdf8961522a3d6bc7bb60c2830ef59e7c6c67a928 (diff)
migration: Add configuration section
It needs to be the first one and it is not optional, that is the reason why it is opencoded. For new machine types, it is required that machine type name is the same in both sides. It is just done right now for pc's. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'include/migration/migration.h')
-rw-r--r--include/migration/migration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index f153eba47a..a308eccf18 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -34,6 +34,7 @@
#define QEMU_VM_SECTION_FULL 0x04
#define QEMU_VM_SUBSECTION 0x05
#define QEMU_VM_VMDESCRIPTION 0x06
+#define QEMU_VM_CONFIGURATION 0x07
#define QEMU_VM_SECTION_FOOTER 0x7e
struct MigrationParams {
@@ -199,4 +200,5 @@ void ram_mig_init(void);
void savevm_skip_section_footers(void);
void register_global_state(void);
void global_state_set_optional(void);
+void savevm_skip_configuration(void);
#endif