]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: validate: use domcaps for tpm validation
authorCole Robinson <crobinso@redhat.com>
Sat, 18 Jun 2022 17:22:52 +0000 (13:22 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 21 Jun 2022 12:23:18 +0000 (08:23 -0400)
commit5f0765f90f852d70ed704401ee834f1b1db8227f
tree6be2d0e858ee4e2e1d39d16a6f57408167873598
parent8b09303f247ab03955268299b550a3a21601c66b
qemu: validate: use domcaps for tpm validation

Replace tpm->type and tpm->model qemuCaps validation with the
similar logic in domcaps.

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