summaryrefslogtreecommitdiffstats
path: root/hw/i386/pc_piix.c
diff options
context:
space:
mode:
authorDenis Plotnikov2019-12-23 08:28:56 +0100
committerMichael S. Tsirkin2020-01-05 13:03:03 +0100
commitd940208cbbbecd52bb6bac539c5e486bcc07abba (patch)
tree7b5f71251d6d5d2d78c50b251711a73e835a3246 /hw/i386/pc_piix.c
parentvhost-user-scsi: reset the device if supported (diff)
downloadqemu-d940208cbbbecd52bb6bac539c5e486bcc07abba.tar.gz
qemu-d940208cbbbecd52bb6bac539c5e486bcc07abba.tar.xz
qemu-d940208cbbbecd52bb6bac539c5e486bcc07abba.zip
hw: fix using 4.2 compat in 5.0 machine types for i440fx/q35
5.0 machine type uses 4.2 compats. This seems to be incorrect, since the latests machine type by now is 5.0 and it should use its own compat or shouldn't use any relying on the defaults. Seems, like this appeared because of some problems on merge/rebase. Signed-off-by: Denis Plotnikov <dplotnikov@virtuozzo.com> Message-Id: <20191223072856.5369-1-dplotnikov@virtuozzo.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/pc_piix.c')
-rw-r--r--hw/i386/pc_piix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 721c7aa64e..fa12203079 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -425,7 +425,6 @@ static void pc_i440fx_5_0_machine_options(MachineClass *m)
m->alias = "pc";
m->is_default = 1;
pcmc->default_cpu_version = 1;
- compat_props_add(m->compat_props, hw_compat_4_2, hw_compat_4_2_len);
}
DEFINE_I440FX_MACHINE(v5_0, "pc-i440fx-5.0", NULL,