]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: move qemuBuildTPMDevStr TPM validation to qemu_domain.c
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 9 Dec 2019 23:15:31 +0000 (20:15 -0300)
committerCole Robinson <crobinso@redhat.com>
Mon, 16 Dec 2019 22:52:07 +0000 (17:52 -0500)
commit3f86e39f7f82fb9acc4b17851985a132098acc71
tree0b94c9dec6ef5ea4e3b4c8469d84cee810e74600
parentf8b8bacd39185eac19f4285c1ab6e41a5bb38212
qemu: command: move qemuBuildTPMDevStr TPM validation to qemu_domain.c

qemuBuildTPMDevStr() does TPM model validation that can be moved to
qemu_domain.c, allowing validation in domain define time. This patch
moves it to the existing qemuDomainDeviceDefValidateTPM() function.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain.c