]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemustatusxml2xmldata: backup-pull: Add private data for scratch image
authorPeter Krempa <pkrempa@redhat.com>
Mon, 1 Nov 2021 13:31:42 +0000 (14:31 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 4 Nov 2021 09:55:28 +0000 (10:55 +0100)
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemustatusxml2xmldata/backup-pull-in.xml

index 95afd3a51f51f0f108ffed4dfba41e0579c014ce..59c934d4f73a4ad6ef154f50a6e61f63c19195e0 100644 (file)
       <server transport='tcp' tls='yes' name='localhost' port='10809'/>
       <disks>
         <disk name='vda' backup='yes' state='running' type='file' index='123'>
-          <scratch file='/path/to/file/'/>
+          <scratch file='/path/to/file/'>
+            <privateData>
+              <nodenames>
+                <nodename type='storage' name='libvirt-1337-storage'/>
+                <nodename type='format' name='libvirt-1337-format'/>
+              </nodenames>
+            </privateData>
+          </scratch>
         </disk>
       </disks>
       <privateData>