]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Test the defaults for TPM on ARM virt guests
authorAndrea Bolognani <abologna@redhat.com>
Fri, 25 Jun 2021 13:57:50 +0000 (15:57 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 1 Jul 2021 14:15:05 +0000 (16:15 +0200)
Instead of providing the configuration explicitly, let libvirt
fill in the blanks. After the recent changes, this results in a
working configuration without the need for user input.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Tested-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemuxml2argvdata/aarch64-tpm.xml

index d338a20f17fea28b44080c81245ab64cc4b54dfa..b22dbee71e26f9bc274d8f3fd0c4da3d6d9a3650 100644 (file)
@@ -8,8 +8,8 @@
   </os>
   <devices>
     <emulator>/usr/bin/qemu-system-aarch64</emulator>
-    <tpm model='tpm-tis'>
-      <backend type='emulator' version='2.0'/>
+    <tpm>
+      <backend type='emulator'/>
     </tpm>
   </devices>
 </domain>