Add c6107419-tests-Drop-usage-of-sgio-unfiltered.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=572
This commit is contained in:
Charles Arnold 2022-08-04 20:01:40 +00:00 committed by Git OBS Bridge
parent faf078ceda
commit 1d8b3cfd8c
3 changed files with 59 additions and 7 deletions

View File

@ -0,0 +1,50 @@
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 &amp; yeah boii &lt; &gt; 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)

View File

@ -2,6 +2,7 @@
Wed Aug 3 14:51:34 MDT 2022 - carnold@suse.com
- Upstream bug fixes (bsc#1027942)
c6107419-tests-Drop-usage-of-sgio-unfiltered.patch
b8a77805-domain-cpu-Clear-migratable-when-changing-to-custom-cpu.patch
0d84bcfb-cli-Add-iothreadids-attributes-thread_pool_min-and-thread_pool_max.patch
90e13549-Fix-build-with-setuptools-61+.patch

View File

@ -42,13 +42,14 @@ Source2: virt-install.desktop
Source3: virt-manager-supportconfig
# Upstream Patches
Patch1: revert-363fca41-virt-install-Require-osinfo-for-non-x86-HVM-case-too.patch
Patch2: d51541e1-Fix-UI-rename-with-firmware-efi.patch
Patch3: 46dc0616-setup-add-bits-for-setuptools-61.patch
Patch4: 34662fec-tests-Fix-with-latest-argcomplete.patch
Patch5: b8a77805-domain-cpu-Clear-migratable-when-changing-to-custom-cpu.patch
Patch6: 0d84bcfb-cli-Add-iothreadids-attributes-thread_pool_min-and-thread_pool_max.patch
Patch7: 90e13549-Fix-build-with-setuptools-61+.patch
Patch8: 424283ad-launch_security-Use-SEV-ES-policy-0x07-if-host-supports-it.patch
Patch1: c6107419-tests-Drop-usage-of-sgio-unfiltered.patch
Patch3: d51541e1-Fix-UI-rename-with-firmware-efi.patch
Patch4: 46dc0616-setup-add-bits-for-setuptools-61.patch
Patch5: 34662fec-tests-Fix-with-latest-argcomplete.patch
Patch6: b8a77805-domain-cpu-Clear-migratable-when-changing-to-custom-cpu.patch
Patch7: 0d84bcfb-cli-Add-iothreadids-attributes-thread_pool_min-and-thread_pool_max.patch
Patch8: 90e13549-Fix-build-with-setuptools-61+.patch
Patch9: 424283ad-launch_security-Use-SEV-ES-policy-0x07-if-host-supports-it.patch
# SUSE Only
Patch70: virtman-desktop.patch
Patch71: virtman-kvm.patch