mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
global_state: Make section optional
This section would be sent: a- for all new machine types b- for old machine types if section state is different form {running,paused} that were the only giving us troubles. So, in new qemus: it is alwasy there. In old qemus: they are only there if it an error has happened, basically stoping on target. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
parent
df4b102452
commit
13d16814d2
5 changed files with 33 additions and 0 deletions
|
@ -1853,6 +1853,7 @@ static const TypeInfo spapr_machine_info = {
|
|||
static void spapr_compat_2_3(Object *obj)
|
||||
{
|
||||
savevm_skip_section_footers();
|
||||
global_state_set_optional();
|
||||
}
|
||||
|
||||
static void spapr_compat_2_2(Object *obj)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue