Skip to content

Commit

Permalink
isapc: Remove unnecessary migration compatibility code
Browse files Browse the repository at this point in the history
We don't touch isapc when we change guest ABI and add new entries
to PC_COMPAT_* or new PCMachineClass compat flags.  This means
isapc never guaranteed guest ABI and cross-QEMU-version live
migration compatibility.  There's no point in keeping code for
kvm-pv-eoi and APIC ID compatibility in pc_init_isa().

Signed-off-by: Eduardo Habkost <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
  • Loading branch information
ehabkost authored and mstsirkin committed Oct 15, 2017
1 parent a93c8d8 commit b5dac42
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hw/i386/pc_piix.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,6 @@ static void pc_compat_0_13(MachineState *machine)

static void pc_init_isa(MachineState *machine)
{
x86_cpu_change_kvm_default("kvm-pv-eoi", NULL);
enable_compat_apic_id_mode();
pc_init1(machine, TYPE_I440FX_PCI_HOST_BRIDGE, TYPE_I440FX_PCI_DEVICE);
}

Expand Down

0 comments on commit b5dac42

Please sign in to comment.