mirror of https://gitee.com/openkylin/libvirt.git
qemuxml2xmltest: switch TPM tests to use latest caps
In preparation to moving the validation to the parser, we need to supply the correct caps. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
ba93e3a228
commit
0dd8202d35
|
@ -18,7 +18,7 @@
|
|||
<on_crash>destroy</on_crash>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
<controller type='usb' index='0'>
|
||||
<controller type='usb' index='0' model='piix3-uhci'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='0' model='pci-root'/>
|
||||
|
@ -30,7 +30,7 @@
|
|||
</backend>
|
||||
</tpm>
|
||||
<memballoon model='virtio'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
||||
</memballoon>
|
||||
</devices>
|
||||
</domain>
|
|
@ -18,7 +18,7 @@
|
|||
<on_crash>destroy</on_crash>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
<controller type='usb' index='0'>
|
||||
<controller type='usb' index='0' model='piix3-uhci'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='0' model='pci-root'/>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<backend type='emulator' version='2.0'/>
|
||||
</tpm>
|
||||
<memballoon model='virtio'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
||||
</memballoon>
|
||||
</devices>
|
||||
</domain>
|
|
@ -18,7 +18,7 @@
|
|||
<on_crash>destroy</on_crash>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
<controller type='usb' index='0'>
|
||||
<controller type='usb' index='0' model='piix3-uhci'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='0' model='pci-root'/>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<backend type='emulator' version='1.2'/>
|
||||
</tpm>
|
||||
<memballoon model='virtio'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
||||
</memballoon>
|
||||
</devices>
|
||||
</domain>
|
|
@ -18,7 +18,7 @@
|
|||
<on_crash>destroy</on_crash>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
<controller type='usb' index='0'>
|
||||
<controller type='usb' index='0' model='piix3-uhci'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='0' model='pci-root'/>
|
||||
|
@ -30,7 +30,7 @@
|
|||
</backend>
|
||||
</tpm>
|
||||
<memballoon model='virtio'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
||||
</memballoon>
|
||||
</devices>
|
||||
</domain>
|
|
@ -18,7 +18,7 @@
|
|||
<on_crash>destroy</on_crash>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
<controller type='usb' index='0'>
|
||||
<controller type='usb' index='0' model='piix3-uhci'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='0' model='pci-root'/>
|
||||
|
@ -30,7 +30,7 @@
|
|||
</backend>
|
||||
</tpm>
|
||||
<memballoon model='virtio'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
||||
</memballoon>
|
||||
</devices>
|
||||
</domain>
|
|
@ -664,11 +664,11 @@ mymain(void)
|
|||
DO_TEST("numad-auto-memory-vcpu-cpuset", NONE);
|
||||
DO_TEST("usb-ich9-ehci-addr", NONE);
|
||||
DO_TEST("disk-copy_on_read", NONE);
|
||||
DO_TEST("tpm-passthrough", NONE);
|
||||
DO_TEST("tpm-passthrough-crb", NONE);
|
||||
DO_TEST("tpm-emulator", NONE);
|
||||
DO_TEST("tpm-emulator-tpm2", NONE);
|
||||
DO_TEST("tpm-emulator-tpm2-enc", NONE);
|
||||
DO_TEST_CAPS_LATEST("tpm-passthrough");
|
||||
DO_TEST_CAPS_LATEST("tpm-passthrough-crb");
|
||||
DO_TEST_CAPS_LATEST("tpm-emulator");
|
||||
DO_TEST_CAPS_LATEST("tpm-emulator-tpm2");
|
||||
DO_TEST_CAPS_LATEST("tpm-emulator-tpm2-enc");
|
||||
|
||||
DO_TEST("metadata", NONE);
|
||||
DO_TEST("metadata-duplicate", NONE);
|
||||
|
|
Loading…
Reference in New Issue