pci: drop COMPAT_PROP_PCP for 2.0 machine types
authorIgor Mammedov <imammedo@redhat.com>
Tue, 22 Feb 2022 10:25:04 +0000 (05:25 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 6 Mar 2022 10:28:55 +0000 (05:28 -0500)
COMPAT_PROP_PCP is 'on' by default and it's used for turning
off PCP capability on PCIe slots for 2.0 machine types using
compat machinery.
Drop not needed compat glue as Q35 supports migration starting
from 2.4 machine types.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220222102504.3080104-1-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c

index 32bf12421efe143976aea9b0cc803b0dddef4260..fd55fc725caf3f6d643b5b87bba8cffed0ba60a0 100644 (file)
@@ -318,8 +318,6 @@ GlobalProperty pc_compat_2_0[] = {
     { "pci-serial-4x", "prog_if", "0" },
     { "virtio-net-pci", "guest_announce", "off" },
     { "ICH9-LPC", "memory-hotplug-support", "off" },
-    { "xio3130-downstream", COMPAT_PROP_PCP, "off" },
-    { "ioh3420", COMPAT_PROP_PCP, "off" },
 };
 const size_t pc_compat_2_0_len = G_N_ELEMENTS(pc_compat_2_0);