Commit 5e33de4f00 for qemu.org
commit 5e33de4f00c25f12afdf02481e0dd4013a7e96b9
Author: Mohammadfaiz Bawa <mbawa@redhat.com>
Date: Fri Jun 19 15:01:40 2026 +0530
hw/core/machine: disable tpm-tis-device PPI for machine type <= 11.0
Set ppi=off in hw_compat_11_0[] so that older machine types do not
register the "tpm-ppi" RAMBlock, restoring backward migration.
Signed-off-by: Mohammadfaiz Bawa <mbawa@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Link: https://lore.kernel.org/qemu-devel/20260619093140.832136-4-mbawa@redhat.com
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
diff --git a/hw/core/machine.c b/hw/core/machine.c
index 15886a56b1..805148678d 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -44,6 +44,7 @@ GlobalProperty hw_compat_11_0[] = {
{ "chardev-vc", "encoding", "cp437" },
{ "tpm-crb", "cap-chunk", "off" },
{ "tpm-crb", "x-allow-chunk-migration", "off" },
+ { "tpm-tis-device", "ppi", "off" },
{ TYPE_ARM_SMMUV3, "ats", "off" },
{ TYPE_ARM_SMMUV3, "ril", "on" },
{ TYPE_ARM_SMMUV3, "ssidsize", "0" },