diff options
Diffstat (limited to 'virtinst')
-rw-r--r-- | virtinst/domcapabilities.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/virtinst/domcapabilities.py b/virtinst/domcapabilities.py index 3ebc409d..b3a364b8 100644 --- a/virtinst/domcapabilities.py +++ b/virtinst/domcapabilities.py @@ -422,6 +422,14 @@ class DomainCapabilities(XMLBuilder): """ models = self.devices.tpm.get_enum("model").get_values() backends = self.devices.tpm.get_enum("backendModel").get_values() + + if self.arch == "armv7l" and models == ["tpm-tis"]: + # libvirt as of 8.4.0 can advertise armv7l tpm-tis support, + # but then explicitly rejects that config. If we see it, + # assume TPM is not supported + # https://gitlab.com/libvirt/libvirt/-/issues/329 + return False + return len(models) > 0 and bool("emulator" in backends) def supports_graphics_spice(self): |