diff options
author | Juan Quintela <quintela@redhat.com> | 2015-05-13 18:17:43 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-07-07 14:54:53 +0200 |
commit | 61964c23e5ddd5a33f15699e45ce126f879e3e33 (patch) | |
tree | e03e1ed3daa2837b71e1da5ad977d4a8b1c8520a /hw/i386 | |
parent | df8961522a3d6bc7bb60c2830ef59e7c6c67a928 (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 'hw/i386')
-rw-r--r-- | hw/i386/pc_piix.c | 1 | ||||
-rw-r--r-- | hw/i386/pc_q35.c | 1 |
2 files changed, 2 insertions, 0 deletions
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) |