]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: fix xml2xml tpm-emulator.xml test
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 8 Aug 2019 14:54:53 +0000 (18:54 +0400)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 6 Sep 2019 10:47:46 +0000 (12:47 +0200)
It is failing, because it ends up being parsed with version='default'
and expects '1.2' instead.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemuxml2argvdata/tpm-emulator.xml

index 7f1e5756cbaa70e3e6e7b0409ab0325677fd86a3..defc3789ad16e9ad876263cdb03466a619358d24 100644 (file)
@@ -23,7 +23,7 @@
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <tpm model='tpm-tis'>
-      <backend type='emulator'/>
+      <backend type='emulator' version='1.2'/>
     </tpm>
     <memballoon model='virtio'/>
   </devices>