File 074-testdriver-add-more-complete-zfs-XML.patch of Package virt-manager

Subject: testdriver: add more complete zfs XML
From: Cole Robinson crobinso@redhat.com Wed Oct 29 08:15:10 2025 -0400
Date: Tue Feb 24 11:37:15 2026 -0500:
Git: 91f506f0635a28e9f7cd95204781114be9d523b0

Signed-off-by: Cole Robinson <crobinso@redhat.com>

diff --git a/tests/data/testdriver/testdriver.xml b/tests/data/testdriver/testdriver.xml
index 916010961..bc9b727fc 100644
--- a/tests/data/testdriver/testdriver.xml
+++ b/tests/data/testdriver/testdriver.xml
@@ -2237,14 +2237,26 @@ ba</description>
 </pool>
 
 
-<pool type="zfs">
+<pool type='zfs'>
   <name>pool-zfs</name>
   <source>
     <name>testzfspool</name>
-    <device path="/dev/ada1"/>
   </source>
+  <target>
+    <path>/dev/zvol/testzfspool</path>
+  </target>
+
+  <volume type='block'>
+    <name>zfsvol</name>
+    <capacity unit='bytes'>536870912000</capacity>
+    <allocation unit='bytes'>0</allocation>
+    <target>
+      <path>/dev/zvol/testzfspool/zfsvol</path>
+    </target>
+  </volume>
 </pool>
 
+
 <pool type="dir">
   <name>pool-test-nvram</name>
   <source>
openSUSE Build Service is sponsored by