mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
Disable section footers on older machine types
The next patch adds section footers; but we don't want to break migration compatibility so disable them on older machine types Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
ce39bfc918
commit
37fb569c01
4 changed files with 12 additions and 1 deletions
|
@ -52,6 +52,7 @@
|
|||
#ifdef CONFIG_XEN
|
||||
# include <xen/hvm/hvm_info_table.h>
|
||||
#endif
|
||||
#include "migration/migration.h"
|
||||
|
||||
#define MAX_IDE_BUS 2
|
||||
|
||||
|
@ -305,6 +306,7 @@ static void pc_init1(MachineState *machine)
|
|||
|
||||
static void pc_compat_2_3(MachineState *machine)
|
||||
{
|
||||
savevm_skip_section_footers();
|
||||
}
|
||||
|
||||
static void pc_compat_2_2(MachineState *machine)
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include "hw/usb.h"
|
||||
#include "hw/cpu/icc_bus.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "migration/migration.h"
|
||||
|
||||
/* ICH9 AHCI has 6 ports */
|
||||
#define MAX_SATA_PORTS 6
|
||||
|
@ -289,6 +290,7 @@ static void pc_q35_init(MachineState *machine)
|
|||
|
||||
static void pc_compat_2_3(MachineState *machine)
|
||||
{
|
||||
savevm_skip_section_footers();
|
||||
}
|
||||
|
||||
static void pc_compat_2_2(MachineState *machine)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue