OSDN Git Service

hw/arm/virt: Remove the compat forcing tpm-tis-device PPI to off
authorEric Auger <eric.auger@redhat.com>
Mon, 27 Apr 2020 14:31:45 +0000 (16:31 +0200)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 6 May 2020 14:12:16 +0000 (10:12 -0400)
Now that the tpm-tis-device device PPI property is off by default,
we can remove the compat used for the same goal.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Message-id: 20200427143145.16251-3-eric.auger@redhat.com

hw/arm/virt.c

index 171e690..dd024d0 100644 (file)
@@ -2354,11 +2354,6 @@ type_init(machvirt_machine_init);
 
 static void virt_machine_5_0_options(MachineClass *mc)
 {
-    static GlobalProperty compat[] = {
-        { TYPE_TPM_TIS_SYSBUS, "ppi", "false" },
-    };
-
-    compat_props_add(mc->compat_props, compat, G_N_ELEMENTS(compat));
 }
 DEFINE_VIRT_MACHINE_AS_LATEST(5, 0)