hw/tpm: TIS on sysbus: Remove unsupport ppi command line option
commit4c46fe2ed492f35f411632c8b5a8442f322bc3f0
authorStefan Berger <stefanb@linux.ibm.com>
Thu, 13 Jul 2023 17:19:55 +0000 (13 13:19 -0400)
committerStefan Berger <stefanb@linux.ibm.com>
Fri, 14 Jul 2023 15:31:54 +0000 (14 11:31 -0400)
treea504e8573e4a447e92565e51710852c5ed10a694
parent3dd9e54703e6ae4f9ab3767f5cecc99edf066668
hw/tpm: TIS on sysbus: Remove unsupport ppi command line option

The ppi command line option for the TIS device on sysbus never worked
and caused an immediate segfault. Remove support for it since it also
needs support in the firmware and needs testing inside the VM.

Reproducer with the ppi=on option passed:

qemu-system-aarch64 \
   -machine virt,gic-version=3 \
   -m 4G  \
   -nographic -no-acpi \
   -chardev socket,id=chrtpm,path=/tmp/mytpm1/swtpm-sock \
   -tpmdev emulator,id=tpm0,chardev=chrtpm \
   -device tpm-tis-device,tpmdev=tpm0,ppi=on
[...]
Segmentation fault (core dumped)

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20230713171955.149236-1-stefanb@linux.ibm.com
hw/tpm/tpm_tis_sysbus.c