]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: add XML schema tests for the TPM Proxy device
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 10 Jun 2020 18:11:49 +0000 (15:11 -0300)
committerJán Tomko <jtomko@redhat.com>
Tue, 23 Jun 2020 15:27:50 +0000 (17:27 +0200)
commitbadbd55a3b46b24fae7f0dba67a06b79b5b49c97
treec13f855dea4e408f1a2650015d817f4554e83da2
parent0f7e8649c787ec56f2fbcbeaebe42314ae7a8d8d
tests: add XML schema tests for the TPM Proxy device

This tests aims to exercise how a TPM Proxy device can be
added in the domain, either alone or with a regular TPM
device. It also ensures that we do not allow bogus scenarios
to slip by.

Tested-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/ppc64-tpm-double.xml [new file with mode: 0644]
tests/qemuxml2argvdata/ppc64-tpmproxy-double.xml [new file with mode: 0644]
tests/qemuxml2argvdata/ppc64-tpmproxy-single.xml [new file with mode: 0644]
tests/qemuxml2argvdata/ppc64-tpmproxy-with-tpm.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/ppc64-tpmproxy-single.ppc64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/ppc64-tpmproxy-with-tpm.ppc64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c