From 61964c23e5ddd5a33f15699e45ce126f879e3e33 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 13 May 2015 18:17:43 +0200 Subject: 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 Reviewed-by: Dr. David Alan Gilbert --- hw/i386/pc_piix.c | 1 + hw/i386/pc_q35.c | 1 + 2 files changed, 2 insertions(+) (limited to 'hw') diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 3ee3b47cec..4c3cb40ce0 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -313,6 +313,7 @@ static void pc_compat_2_3(MachineState *machine) pcms->smm = ON_OFF_AUTO_OFF; } global_state_set_optional(); + savevm_skip_configuration(); } static void pc_compat_2_2(MachineState *machine) diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 0dc4ab149a..43e6c18777 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -296,6 +296,7 @@ static void pc_compat_2_3(MachineState *machine) pcms->smm = ON_OFF_AUTO_OFF; } global_state_set_optional(); + savevm_skip_configuration(); } static void pc_compat_2_2(MachineState *machine) -- cgit v1.2.3