summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2017-10-06 10:25:02 -0300
committerMichael S. Tsirkin <mst@redhat.com>2017-10-15 05:54:44 +0300
commitb5dac424922d62467ec2fd5bbe3a37b8d51919f3 (patch)
treeb3d0a255a5c089a12cbba8881bcda5e2e10b0372
parenta93c8d828af186d9a6a1c915a1be8ba22fb89849 (diff)
downloadfocaccia-qemu-b5dac424922d62467ec2fd5bbe3a37b8d51919f3.tar.gz
focaccia-qemu-b5dac424922d62467ec2fd5bbe3a37b8d51919f3.zip
isapc: Remove unnecessary migration compatibility code
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 <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--hw/i386/pc_piix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 1a56465490..9dbcbcd57c 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -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);
 }