Message ID | 20200427143145.16251-3-eric.auger@redhat.com |
---|---|
State | New |
Headers | show |
Series | virt: Set tpm-tis-device ppi property to off by default | expand |
On Mon, 27 Apr 2020 16:31:45 +0200 Eric Auger <eric.auger@redhat.com> wrote: > 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> > --- > hw/arm/virt.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/hw/arm/virt.c b/hw/arm/virt.c > index 7dc96abf72..2a68306f28 100644 > --- a/hw/arm/virt.c > +++ b/hw/arm/virt.c > @@ -2311,11 +2311,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) > Reviewed-by: Cornelia Huck <cohuck@redhat.com>
On 4/28/20 6:36 AM, Cornelia Huck wrote: > On Mon, 27 Apr 2020 16:31:45 +0200 > Eric Auger <eric.auger@redhat.com> wrote: > >> 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> >> --- >> hw/arm/virt.c | 5 ----- >> 1 file changed, 5 deletions(-) >> >> diff --git a/hw/arm/virt.c b/hw/arm/virt.c >> index 7dc96abf72..2a68306f28 100644 >> --- a/hw/arm/virt.c >> +++ b/hw/arm/virt.c >> @@ -2311,11 +2311,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) >> > Reviewed-by: Cornelia Huck <cohuck@redhat.com> > Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 7dc96abf72..2a68306f28 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -2311,11 +2311,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)
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> --- hw/arm/virt.c | 5 ----- 1 file changed, 5 deletions(-)