]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Reject TPM 1.2 for ARM virt guests
authorAndrea Bolognani <abologna@redhat.com>
Fri, 25 Jun 2021 13:33:33 +0000 (15:33 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 1 Jul 2021 14:15:05 +0000 (16:15 +0200)
commitd8a1c059e0edad9a3b3bdea177ecc2dbafb4b093
treeb53b18d9f428881dc34ced0aa31f157767700bed
parentbf84313bbcc652450e94389bd3b978bc7142e81a
qemu: Reject TPM 1.2 for ARM virt guests

We already reject TPM 1.2 in a number of scenarios; let's add
ARM virt guests to the list.

https://bugzilla.redhat.com/show_bug.cgi?id=1970310

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Tested-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_validate.c
tests/qemuxml2argvdata/aarch64-tpm-wrong-model.err [new file with mode: 0644]
tests/qemuxml2argvdata/aarch64-tpm-wrong-model.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c