From: Peter Krempa <[email protected]>

Offset is optional in the schema, add an example in the tests.

Signed-off-by: Peter Krempa <[email protected]>
---
 tests/qemuxmlconfdata/lease.x86_64-latest.xml | 5 +++++
 tests/qemuxmlconfdata/lease.xml               | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/tests/qemuxmlconfdata/lease.x86_64-latest.xml 
b/tests/qemuxmlconfdata/lease.x86_64-latest.xml
index d400fb1fef..5d231c30c7 100644
--- a/tests/qemuxmlconfdata/lease.x86_64-latest.xml
+++ b/tests/qemuxmlconfdata/lease.x86_64-latest.xml
@@ -42,6 +42,11 @@
       <key>thequickbrownfoxjumpedoverthelazydog</key>
       <target path='/some/lease/path' offset='1024'/>
     </lease>
+    <lease>
+      <lockspace>else</lockspace>
+      <key>ble</key>
+      <target path='/some/lease/path2'/>
+    </lease>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <audio id='1' type='none'/>
diff --git a/tests/qemuxmlconfdata/lease.xml b/tests/qemuxmlconfdata/lease.xml
index a4f1d9728d..bf2eefcea5 100644
--- a/tests/qemuxmlconfdata/lease.xml
+++ b/tests/qemuxmlconfdata/lease.xml
@@ -33,6 +33,11 @@
       <key>thequickbrownfoxjumpedoverthelazydog</key>
       <target path='/some/lease/path' offset='1024'/>
     </lease>
+    <lease>
+      <lockspace>else</lockspace>
+      <key>ble</key>
+      <target path='/some/lease/path2'/>
+    </lease>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <memballoon model='virtio'/>
-- 
2.54.0

Reply via email to