summaryrefslogtreecommitdiffstats
path: root/hw/tpm
diff options
context:
space:
mode:
authorEric Auger2020-04-27 16:31:44 +0200
committerStefan Berger2020-05-06 16:12:16 +0200
commitca14ba5b9af493471e10eaebb86709e98cfcd897 (patch)
tree0afd1f8663575e8abc6f155983f1d8ed838a7b9b /hw/tpm
parentMerge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2020-05-05' in... (diff)
downloadqemu-ca14ba5b9af493471e10eaebb86709e98cfcd897.tar.gz
qemu-ca14ba5b9af493471e10eaebb86709e98cfcd897.tar.xz
qemu-ca14ba5b9af493471e10eaebb86709e98cfcd897.zip
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 <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-2-eric.auger@redhat.com
Diffstat (limited to 'hw/tpm')
-rw-r--r--hw/tpm/tpm_tis_sysbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tpm/tpm_tis_sysbus.c b/hw/tpm/tpm_tis_sysbus.c
index 18c02aed67..eced1fc843 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(),
};