From: Eric Auger Date: Mon, 27 Apr 2020 14:31:44 +0000 (+0200) Subject: tpm: tpm-tis-device: set PPI to false by default X-Git-Tag: v5.1.0-rc0~138^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca14ba5b9af493471e10eaebb86709e98cfcd897;p=thirdparty%2Fqemu.git tpm: tpm-tis-device: set PPI to false by default The tpm-tis-device device does not support PPI. Let's change the default value for the corresponding property instead of tricking this latter in the mach-virt machine. Signed-off-by: Eric Auger Reviewed-by: Cornelia Huck Reviewed-by: Stefan Berger Reviewed-by: Peter Maydell Signed-off-by: Stefan Berger Message-id: 20200427143145.16251-2-eric.auger@redhat.com --- diff --git a/hw/tpm/tpm_tis_sysbus.c b/hw/tpm/tpm_tis_sysbus.c index 18c02aed67a..eced1fc843f 100644 --- a/hw/tpm/tpm_tis_sysbus.c +++ b/hw/tpm/tpm_tis_sysbus.c @@ -91,7 +91,7 @@ static void tpm_tis_sysbus_reset(DeviceState *dev) static Property tpm_tis_sysbus_properties[] = { DEFINE_PROP_UINT32("irq", TPMStateSysBus, state.irq_num, TPM_TIS_IRQ), DEFINE_PROP_TPMBE("tpmdev", TPMStateSysBus, state.be_driver), - DEFINE_PROP_BOOL("ppi", TPMStateSysBus, state.ppi_enabled, true), + DEFINE_PROP_BOOL("ppi", TPMStateSysBus, state.ppi_enabled, false), DEFINE_PROP_END_OF_LIST(), };