]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Use correct tpm device for all non-x86
authorCole Robinson <crobinso@redhat.com>
Sat, 18 Jun 2022 16:46:03 +0000 (12:46 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 21 Jun 2022 12:23:18 +0000 (08:23 -0400)
commitb233bf89dc50dd338288a5a348889103496cfc42
tree4fd13afffa78b7c7a458109293c8194fa6b34752
parent5aec476e2e3377ab9253e4f11d63619a4fa0a870
qemu: command: Use correct tpm device for all non-x86

The qemu `tpm-tis` device is an ISA device, so only really applicable
to x86 archs. For all non-x86 archs we should use `tpm-tis-device`

This fixes tpm-tis usage on armv7l and riscv

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_command.c