1d8b3cfd8c
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=572
51 lines
1.8 KiB
Diff
51 lines
1.8 KiB
Diff
Subject: tests: Drop usage of sgio=unfiltered
|
|
From: Cole Robinson crobinso@redhat.com Wed Apr 13 07:00:37 2022 -0400
|
|
Date: Wed Apr 13 07:00:37 2022 -0400:
|
|
Git: c61074191d0d25ab7cd7830ef90a49a3caefcd09
|
|
|
|
libvirt 8.1.0+ rejects it, so it breaks the testsuite
|
|
|
|
Fixes: #382
|
|
|
|
Signed-off-by: Cole Robinson <crobinso@redhat.com>
|
|
|
|
diff --git a/tests/data/testdriver/testdriver.xml b/tests/data/testdriver/testdriver.xml
|
|
index 082ac095..b213863d 100644
|
|
--- a/tests/data/testdriver/testdriver.xml
|
|
+++ b/tests/data/testdriver/testdriver.xml
|
|
@@ -245,7 +245,7 @@ Foo bar baz & yeah boii < > yeahfoo
|
|
<shareable/>
|
|
</disk>
|
|
|
|
- <disk type='block' device='lun' rawio='no' sgio='unfiltered'>
|
|
+ <disk type='block' device='lun' rawio='no'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source dev='/dev/szz'>
|
|
<reservations managed="yes"/>
|
|
diff --git a/tests/data/xmlparse/change-disk-out.xml b/tests/data/xmlparse/change-disk-out.xml
|
|
index 66a70395..003750fb 100644
|
|
--- a/tests/data/xmlparse/change-disk-out.xml
|
|
+++ b/tests/data/xmlparse/change-disk-out.xml
|
|
@@ -37,7 +37,7 @@
|
|
<disk type="file" device="floppy">
|
|
<target dev="fde" bus="fdc"/>
|
|
</disk>
|
|
- <disk type="block" device="lun" sgio="unfiltered" rawio="yes">
|
|
+ <disk type="block" device="lun">
|
|
<driver name="qemu" type="raw"/>
|
|
<source dev="/dev/sda"/>
|
|
<target dev="hdd" bus="scsi"/>
|
|
diff --git a/tests/test_xmlparse.py b/tests/test_xmlparse.py
|
|
index 15ca8f75..1bf0ebe5 100644
|
|
--- a/tests/test_xmlparse.py
|
|
+++ b/tests/test_xmlparse.py
|
|
@@ -314,8 +314,6 @@ def testAlterDisk():
|
|
check = _make_checker(disk)
|
|
check("type", "block")
|
|
check("device", "lun")
|
|
- check("sgio", None, "unfiltered")
|
|
- check("rawio", None, "yes")
|
|
|
|
disk = _get_disk("sda")
|
|
check = _make_checker(disk)
|