Blob Blame History Raw
From 88b450562f14b4b246f88c31d0bdd48e47f3afce Mon Sep 17 00:00:00 2001
From: Miroslav Rezanina <mrezanin@redhat.com>
Date: Thu, 26 Apr 2018 02:54:03 +0000
Subject: Remove rhel6* machine types

As we do not support RHEL 6 compatibility on RHEL 8 we remove rhel6*
machine types.

Types were originally added for BZ 983991 (Provide RHEL-6 machine types) and were
updated multipletimes during the RHEL 7 development to keep the compatibility. As
all machine types changes are located in pc_piix.c file there are only tests to
be fixed beside this file (and one comment removal in pc.h).

Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 hw/i386/pc_piix.c    | 696 ---------------------------------------------------
 include/hw/i386/pc.h |   2 -
 tests/qom-test.c     |   4 +-
 3 files changed, 1 insertion(+), 701 deletions(-)

diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 0ff1e2d..229d551 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -1324,699 +1324,3 @@ static void pc_machine_rhel700_options(MachineClass *m)
 
 DEFINE_PC_MACHINE(rhel700, "pc-i440fx-rhel7.0.0", pc_init_rhel700,
                   pc_machine_rhel700_options);
-
-#define PC_RHEL6_6_COMPAT \
-        {\
-            .driver   = "scsi-hd",\
-            .property = "discard_granularity",\
-            .value    = stringify(0),\
-        },{\
-            .driver   = "scsi-cd",\
-            .property = "discard_granularity",\
-            .value    = stringify(0),\
-        },{\
-            .driver   = "scsi-disk",\
-            .property = "discard_granularity",\
-            .value    = stringify(0),\
-        },{\
-            .driver   = "ide-hd",\
-            .property = "discard_granularity",\
-            .value    = stringify(0),\
-        },{\
-            .driver   = "ide-cd",\
-            .property = "discard_granularity",\
-            .value    = stringify(0),\
-        },{\
-            .driver   = "ide-drive",\
-            .property = "discard_granularity",\
-            .value    = stringify(0),\
-        },{\
-            .driver   = "virtio-blk-pci",\
-            .property = "discard_granularity",\
-            .value    = stringify(0),\
-        },{\
-            .driver   = "virtio-serial-pci",\
-            .property = "vectors",\
-            /* DEV_NVECTORS_UNSPECIFIED as a uint32_t string */\
-            .value    = stringify(0xFFFFFFFF),\
-        },{\
-            .driver   = "486-" TYPE_X86_CPU,\
-            .property = "model",\
-            .value    = stringify(0),\
-        },{\
-            .driver   = "usb-tablet",\
-            .property = "usb_version",\
-            .value    = stringify(1),\
-        },{\
-            .driver   = "virtio-net-pci",\
-            .property = "mq",\
-            .value    = "off",\
-        },{\
-            .driver   = "VGA",\
-            .property = "mmio",\
-            .value    = "off",\
-        },{\
-            .driver   = "virtio-blk-pci",\
-            .property = "config-wce",\
-            .value    = "off",\
-        },{\
-            .driver   = TYPE_ISA_FDC,\
-            .property = "check_media_rate",\
-            .value    = "off",\
-        },{\
-            .driver   = "virtio-balloon-pci",\
-            .property = "class",\
-            .value    = stringify(PCI_CLASS_MEMORY_RAM),\
-        },{\
-            .driver   = TYPE_PCI_DEVICE,\
-            .property = "command_serr_enable",\
-            .value    = "off",\
-        },{\
-            .driver   = "AC97",\
-            .property = "use_broken_id",\
-            .value    = stringify(1),\
-        },{\
-            .driver   = "intel-hda",\
-            .property = "msi",\
-            .value    = "off",\
-        },{\
-            .driver = "qemu32-" TYPE_X86_CPU,\
-            .property = "min-xlevel",\
-            .value = stringify(0),\
-        },{\
-            .driver = "486-" TYPE_X86_CPU,\
-            .property = "min-level",\
-            .value = stringify(0),\
-        },{\
-            .driver   = "qemu32-" TYPE_X86_CPU,\
-            .property = "model",\
-            .value    = stringify(3),\
-        },{\
-            .driver   = "usb-ccid",\
-            .property = "serial",\
-            .value    = "1",\
-        },{\
-            .driver   = "virtio-net-pci",\
-            .property = "any_layout",\
-            .value    = "off",\
-        },\
-        {\
-            .driver = "pentium" "-" TYPE_X86_CPU,\
-            .property = "apic",\
-            .value = "off",\
-        },\
-        {\
-            .driver = "pentium2" "-" TYPE_X86_CPU,\
-            .property = "apic",\
-            .value = "off",\
-        },\
-        {\
-            .driver = "pentium3" "-" TYPE_X86_CPU,\
-            .property = "apic",\
-            .value = "off",\
-        },\
-        {\
-            .driver = "Conroe" "-" TYPE_X86_CPU,\
-            .property = "x2apic",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Penryn" "-" TYPE_X86_CPU,\
-            .property = "x2apic",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Nehalem" "-" TYPE_X86_CPU,\
-            .property = "x2apic",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Nehalem-IBRS" "-" TYPE_X86_CPU,\
-            .property = "x2apic",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "x2apic",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "x2apic",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "pclmulqdq",\
-            .value = "off",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "pclmulqdq",\
-            .value = "off",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "fxsr",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "fxsr",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "mmx",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "mmx",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "pat",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "pat",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "cmov",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "cmov",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "pge",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "pge",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "apic",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "apic",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "cx8",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "cx8",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "mce",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "mce",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "pae",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "pae",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "msr",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "msr",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "tsc",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "tsc",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "pse",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "pse",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "de",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "de",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Westmere" "-" TYPE_X86_CPU,\
-            .property = "fpu",\
-            .value = "on",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Westmere-IBRS" "-" TYPE_X86_CPU,\
-            .property = "fpu",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Broadwell" "-" TYPE_X86_CPU,\
-            .property = "rdtscp",\
-            .value = "off",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Broadwell-IBRS" "-" TYPE_X86_CPU,\
-            .property = "rdtscp",\
-            .value = "off",\
-        },\
-        {\
-            .driver = "Broadwell" "-" TYPE_X86_CPU,\
-            .property = "smap",\
-            .value = "off",\
-        },\
-        { /* PC_RHEL6_6_COMPAT (copied from the entry above) */ \
-            .driver = "Broadwell-IBRS" "-" TYPE_X86_CPU,\
-            .property = "smap",\
-            .value = "off",\
-        },\
-        {\
-            .driver = TYPE_X86_CPU,\
-            .property = "rdtscp",\
-            .value = "off",\
-        },\
-        {\
-            .driver = "Opteron_G1" "-" TYPE_X86_CPU,\
-            .property = "x2apic",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Opteron_G2" "-" TYPE_X86_CPU,\
-            .property = "x2apic",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Opteron_G3" "-" TYPE_X86_CPU,\
-            .property = "x2apic",\
-            .value = "on",\
-        },\
-        {\
-            .driver = "Opteron_G4" "-" TYPE_X86_CPU,\
-            .property = "x2apic",\
-            .value = "off",\
-        },\
-        {\
-            .driver = "Opteron_G5" "-" TYPE_X86_CPU,\
-            .property = "x2apic",\
-            .value = "off",\
-        },\
-        {\
-            .driver = TYPE_X86_CPU,\
-            .property = "3dnow",\
-            .value = "off",\
-        },\
-        {\
-            .driver = TYPE_X86_CPU,\
-            .property = "3dnowext",\
-            .value = "off",\
-        },\
-        {\
-            .driver = "virtio-net-pci",\
-            .property = "__com.redhat_rhel6_ctrl_guest_workaround", \
-            .value = "on",\
-        },
-
-static void pc_compat_rhel660(MachineState *machine)
-{
-    PCMachineState *pcms = PC_MACHINE(machine);
-    PCMachineClass *pcmc = PC_MACHINE_GET_CLASS(pcms);
-
-    pc_compat_rhel700(machine);
-    if (!machine->cpu_type) {
-        machine->cpu_type = "cpu64-rhel6";
-    }
-
-    x86_cpu_change_kvm_default("kvm-pv-unhalt", NULL);
-
-    pcmc->gigabyte_align = false;
-    shadow_bios_after_incoming = true;
-    ich9_uhci123_irqpin_override = true;
-}
-
-static void pc_init_rhel660(MachineState *machine)
-{
-    pc_compat_rhel660(machine);
-    pc_init1(machine, TYPE_I440FX_PCI_HOST_BRIDGE, \
-             TYPE_I440FX_PCI_DEVICE);}
-
-static void pc_machine_rhel660_options(MachineClass *m)
-{
-    PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
-    pc_machine_rhel700_options(m);
-    m->family = "pc_piix_Z";
-    m->desc = "RHEL 6.6.0 PC";
-    m->rom_file_has_mr = false;
-    m->default_machine_opts = "firmware=bios.bin";
-    pcmc->has_acpi_build = false;
-    SET_MACHINE_COMPAT(m, PC_RHEL6_6_COMPAT);
-}
-
-DEFINE_PC_MACHINE(rhel660, "rhel6.6.0", pc_init_rhel660,
-                  pc_machine_rhel660_options);
-
-#define PC_RHEL6_5_COMPAT \
-        {\
-            .driver   = TYPE_USB_DEVICE,\
-            .property = "msos-desc",\
-            .value    = "no",\
-        },
-
-static void pc_compat_rhel650(MachineState *machine)
-{
-    pc_compat_rhel660(machine);
-}
-
-static void pc_init_rhel650(MachineState *machine)
-{
-    pc_compat_rhel650(machine);
-    pc_init1(machine, TYPE_I440FX_PCI_HOST_BRIDGE, \
-             TYPE_I440FX_PCI_DEVICE);}
-
-static void pc_machine_rhel650_options(MachineClass *m)
-{
-    pc_machine_rhel660_options(m);
-    m->family = "pc_piix_Z";
-    m->desc = "RHEL 6.5.0 PC";
-    SET_MACHINE_COMPAT(m, PC_RHEL6_5_COMPAT);
-}
-
-DEFINE_PC_MACHINE(rhel650, "rhel6.5.0", pc_init_rhel650,
-                  pc_machine_rhel650_options);
-
-#define PC_RHEL6_4_COMPAT \
-        {\
-            .driver   = "virtio-scsi-pci",\
-            .property = "vectors",\
-            .value    = stringify(2),\
-        },{\
-            .driver   = "hda-micro",\
-            .property = "mixer",\
-            .value    = "off",\
-        },{\
-            .driver   = "hda-duplex",\
-            .property = "mixer",\
-            .value    = "off",\
-        },{\
-            .driver   = "hda-output",\
-            .property = "mixer",\
-            .value    = "off",\
-        },{\
-            .driver   = "virtio-net-pci",\
-            .property = "ctrl_mac_addr",\
-            .value    = "off",\
-        },\
-        {\
-            .driver = TYPE_X86_CPU,\
-            .property = "sep",\
-            .value = "off",\
-        },\
-        {\
-            .driver = "virtio-net-pci",\
-            .property = "__com.redhat_rhel6_ctrl_guest_workaround", \
-            .value = "off",\
-        },
-
-static void pc_compat_rhel640(MachineState *machine)
-{
-    pc_compat_rhel650(machine);
-}
-
-static void pc_init_rhel640(MachineState *machine)
-{
-    pc_compat_rhel640(machine);
-    pc_init1(machine, TYPE_I440FX_PCI_HOST_BRIDGE, \
-             TYPE_I440FX_PCI_DEVICE);}
-
-static void pc_machine_rhel640_options(MachineClass *m)
-{
-    pc_machine_rhel650_options(m);
-    m->family = "pc_piix_Z";
-    m->desc = "RHEL 6.4.0 PC";
-    SET_MACHINE_COMPAT(m, PC_RHEL6_4_COMPAT);
-}
-
-DEFINE_PC_MACHINE(rhel640, "rhel6.4.0", pc_init_rhel640,
-                  pc_machine_rhel640_options);
-
-#define PC_RHEL6_3_COMPAT \
-        {\
-            .driver   = "Conroe-" TYPE_X86_CPU,\
-            .property = "min-level",\
-            .value    = stringify(2),\
-        },{\
-            .driver   = "Penryn-" TYPE_X86_CPU,\
-            .property = "min-level",\
-            .value    = stringify(2),\
-        },{\
-            .driver   = "Nehalem-" TYPE_X86_CPU,\
-            .property = "min-level",\
-            .value    = stringify(2),\
-        },{\
-            .driver   = "e1000",\
-            .property = "autonegotiation",\
-            .value    = "off",\
-        },{\
-            .driver   = "qxl",\
-            .property = "revision",\
-            .value    = stringify(3),\
-        },{\
-            .driver   = "qxl-vga",\
-            .property = "revision",\
-            .value    = stringify(3),\
-        },{\
-            .driver   = "virtio-scsi-pci",\
-            .property = "hotplug",\
-            .value    = "off",\
-        },{\
-            .driver   = "virtio-scsi-pci",\
-            .property = "param_change",\
-            .value    = "off",\
-        },{\
-            .driver = TYPE_X86_CPU,\
-            .property = "pmu",\
-            .value = "on",\
-        },{\
-            .driver   = "usb-hub",\
-            .property = "serial",\
-            .value    = "314159",\
-        },{\
-            .driver   = "usb-storage",\
-            .property = "serial",\
-            .value    = "1",\
-        },\
-        {\
-            .driver = "SandyBridge" "-" TYPE_X86_CPU,\
-            .property = "tsc-deadline",\
-            .value = "off",\
-        },\
-        { /* PC_RHEL6_3_COMPAT (copied from the entry above) */ \
-            .driver = "SandyBridge-IBRS" "-" TYPE_X86_CPU,\
-            .property = "tsc-deadline",\
-            .value = "off",\
-        },
-
-static void pc_compat_rhel630(MachineState *machine)
-{
-    pc_compat_rhel640(machine);
-    x86_cpu_change_kvm_default("kvm-pv-eoi",NULL);
-    enable_compat_apic_id_mode();
-}
-
-static void pc_init_rhel630(MachineState *machine)
-{
-    pc_compat_rhel630(machine);
-    pc_init1(machine, TYPE_I440FX_PCI_HOST_BRIDGE, \
-             TYPE_I440FX_PCI_DEVICE);}
-
-static void pc_machine_rhel630_options(MachineClass *m)
-{
-    pc_machine_rhel640_options(m);
-    m->family = "pc_piix_Z";
-    m->desc = "RHEL 6.3.0 PC";
-    SET_MACHINE_COMPAT(m, PC_RHEL6_3_COMPAT);
-}
-
-DEFINE_PC_MACHINE(rhel630, "rhel6.3.0", pc_init_rhel630,
-                  pc_machine_rhel630_options);
-
-
-#define PC_RHEL6_2_COMPAT \
-        {\
-            .driver = TYPE_X86_CPU,\
-            .property = "pmu",\
-            .value = "off",\
-        },
-
-static void pc_compat_rhel620(MachineState *machine)
-{
-    pc_compat_rhel630(machine);
-}
-
-static void pc_init_rhel620(MachineState *machine)
-{
-    pc_compat_rhel620(machine);
-    pc_init1(machine, TYPE_I440FX_PCI_HOST_BRIDGE, \
-             TYPE_I440FX_PCI_DEVICE);}
-
-static void pc_machine_rhel620_options(MachineClass *m)
-{
-    pc_machine_rhel630_options(m);
-    m->family = "pc_piix_Z";
-    m->desc = "RHEL 6.2.0 PC";
-    SET_MACHINE_COMPAT(m, PC_RHEL6_2_COMPAT);
-}
-
-DEFINE_PC_MACHINE(rhel620, "rhel6.2.0", pc_init_rhel620,
-                  pc_machine_rhel620_options);
-
-/*
- * NOTE: We don't have the event_idx compat entry for the
- * virtio-balloon-pci driver because RHEL6 doesn't disable
- * it either due to a bug (see RHBZ 1029539 fo more info)
- */
-#define PC_RHEL6_1_COMPAT \
-        {\
-            .driver   = "PIIX4_PM",\
-            .property = "disable_s3",\
-            .value    = "0",\
-        },{\
-            .driver   = "PIIX4_PM",\
-            .property = "disable_s4",\
-            .value    = "0",\
-        },{\
-            .driver   = "qxl",\
-            .property = "revision",\
-            .value    = stringify(2),\
-        },{\
-            .driver   = "qxl-vga",\
-            .property = "revision",\
-            .value    = stringify(2),\
-        },{\
-            .driver   = "virtio-blk-pci",\
-            .property = "event_idx",\
-            .value    = "off",\
-        },{\
-            .driver   = "virtio-serial-pci",\
-            .property = "event_idx",\
-            .value    = "off",\
-        },{\
-            .driver   = "virtio-net-pci",\
-            .property = "event_idx",\
-            .value    = "off",\
-        },{\
-            .driver   = "usb-kbd",\
-            .property = "serial",\
-            .value    = "1",\
-        },{\
-            .driver   = "usb-mouse",\
-            .property = "serial",\
-            .value    = "1",\
-        },{\
-            .driver   = "usb-tablet",\
-            .property = "serial",\
-            .value    = "1",\
-        },
-
-static void pc_compat_rhel610(MachineState *machine)
-{
-    pc_compat_rhel620(machine);
-}
-
-static void pc_init_rhel610(MachineState *machine)
-{
-    pc_compat_rhel610(machine);
-    pc_init1(machine, TYPE_I440FX_PCI_HOST_BRIDGE, \
-             TYPE_I440FX_PCI_DEVICE);}
-
-static void pc_machine_rhel610_options(MachineClass *m)
-{
-    pc_machine_rhel620_options(m);
-    m->family = "pc_piix_Z";
-    m->desc = "RHEL 6.1.0 PC";
-    SET_MACHINE_COMPAT(m, PC_RHEL6_1_COMPAT);
-}
-
-DEFINE_PC_MACHINE(rhel610, "rhel6.1.0", pc_init_rhel610,
-                  pc_machine_rhel610_options);
-
-#define PC_RHEL6_0_COMPAT \
-        {\
-            .driver   = "qxl",\
-            .property = "revision",\
-            .value    = stringify(1),\
-        },{\
-            .driver   = "qxl-vga",\
-            .property = "revision",\
-            .value    = stringify(1),\
-        },{\
-            .driver   = "VGA",\
-            .property = "rombar",\
-            .value    = stringify(0),\
-        },
-
-static void pc_compat_rhel600(MachineState *machine)
-{
-    pc_compat_rhel610(machine);
-}
-
-static void pc_init_rhel600(MachineState *machine)
-{
-    pc_compat_rhel600(machine);
-    pc_init1(machine, TYPE_I440FX_PCI_HOST_BRIDGE, \
-             TYPE_I440FX_PCI_DEVICE);}
-
-static void pc_machine_rhel600_options(MachineClass *m)
-{
-    pc_machine_rhel610_options(m);
-    m->family = "pc_piix_Z";
-    m->desc = "RHEL 6.0.0 PC";
-    SET_MACHINE_COMPAT(m, PC_RHEL6_0_COMPAT);
-}
-
-DEFINE_PC_MACHINE(rhel600, "rhel6.0.0", pc_init_rhel600,
-                  pc_machine_rhel600_options);
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index e94424f..ae84db4 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -1394,8 +1394,6 @@ extern void igd_passthrough_isa_bridge_create(PCIBus *bus, uint16_t gpu_dev_id);
  * The PC_RHEL_*_COMPAT serve the same purpose for RHEL-7 machine
  * types as the PC_COMPAT_* do for upstream types.
  * PC_RHEL_7_*_COMPAT apply both to i440fx and q35 types.
- * PC_RHEL6_*_COMPAT apply to i440fx types only, and therefore live
- * in pc_piix.c.
  */
 
 /*
diff --git a/tests/qom-test.c b/tests/qom-test.c
index db0d3ab..2fc2670 100644
--- a/tests/qom-test.c
+++ b/tests/qom-test.c
@@ -16,9 +16,7 @@
 #include "libqtest.h"
 
 static const char *blacklist_x86[] = {
-    "xenfv", "xenpv", "isapc",
-    "rhel6.6.0", "rhel6.5.0", "rhel6.4.0", "rhel6.3.0",
-    "rhel6.2.0", "rhel6.1.0", "rhel6.0.0", NULL
+    "xenfv", "xenpv", "isapc", NULL
 };
 
 static const struct {
-- 
1.8.3.1