9ac94ef7-tests-Fix-another-sgio-filtered-case.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=574
This commit is contained in:
Charles Arnold 2022-08-04 20:58:03 +00:00 committed by Git OBS Bridge
parent ef69ea0eaf
commit f21dbeb9cf
3 changed files with 41 additions and 6 deletions

View File

@ -0,0 +1,33 @@
Subject: tests: Fix another sgio=filtered case
From: Cole Robinson crobinso@redhat.com Wed Apr 13 08:16:47 2022 -0400
Date: Wed Apr 13 08:35:50 2022 -0400:
Git: 9ac94ef739687b9eeba37e8b28108269802db280
Signed-off-by: Cole Robinson <crobinso@redhat.com>
diff --git a/tests/data/cli/compare/virt-install-many-devices.xml b/tests/data/cli/compare/virt-install-many-devices.xml
index 4c002422..db61f511 100644
--- a/tests/data/cli/compare/virt-install-many-devices.xml
+++ b/tests/data/cli/compare/virt-install-many-devices.xml
@@ -249,7 +249,7 @@
<source file="/var/lib/libvirt/images/disk.qcow2"/>
<target dev="vdc" bus="virtio"/>
</disk>
- <disk type="block" device="lun" sgio="unfiltered" rawio="yes">
+ <disk type="block" device="lun" sgio="filtered" rawio="yes">
<driver name="qemu" type="raw"/>
<source dev="/pool-iscsi/diskvol1"/>
<target dev="sdab" bus="scsi"/>
diff --git a/tests/test_cli.py b/tests/test_cli.py
index 8b78a1a7..6a0df787 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -579,7 +579,7 @@ memorytune0.vcpus=0-3,memorytune0.node0.id=0,memorytune0.node0.bandwidth=60
--disk source.file=%(NEWIMG1)s,sparse=false,size=.001,perms=ro,error_policy=enospace,detect_zeroes=unmap,address.type=drive,address.controller=0,address.target=2,address.unit=0
--disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,write_bytes_sec=5,write_iops_sec=6,driver.copy_on_read=on,geometry.cyls=16383,geometry.heads=16,geometry.secs=63,geometry.trans=lba,discard=ignore
--disk size=1
---disk /pool-iscsi/diskvol1,total_bytes_sec=10,total_iops_sec=20,bus=scsi,device=lun,sgio=unfiltered,rawio=yes
+--disk /pool-iscsi/diskvol1,total_bytes_sec=10,total_iops_sec=20,bus=scsi,device=lun,sgio=filtered,rawio=yes
--disk /pool-dir/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz,iotune.read_bytes_sec=1,iotune.read_iops_sec=2,iotune.write_bytes_sec=5,iotune.write_iops_sec=6
--disk /pool-dir/iso-vol,format=qcow2,startup_policy=optional,iotune.total_bytes_sec=10,iotune.total_iops_sec=20,
--disk source_pool=pool-rbd-ceph,source_volume=some-rbd-vol,size=.1,driver_type=raw,driver_name=qemu

View File

@ -3,6 +3,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
9ac94ef7-tests-Fix-another-sgio-filtered-case.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

@ -43,13 +43,14 @@ Source3: virt-manager-supportconfig
# Upstream Patches
Patch1: revert-363fca41-virt-install-Require-osinfo-for-non-x86-HVM-case-too.patch
Patch2: 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
Patch3: 46dc0616-setup-add-bits-for-setuptools-61.patch
Patch4: 9ac94ef7-tests-Fix-another-sgio-filtered-case.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
Patch6: d51541e1-Fix-UI-rename-with-firmware-efi.patch
Patch7: b8a77805-domain-cpu-Clear-migratable-when-changing-to-custom-cpu.patch
Patch8: 0d84bcfb-cli-Add-iothreadids-attributes-thread_pool_min-and-thread_pool_max.patch
Patch9: 90e13549-Fix-build-with-setuptools-61+.patch
Patch10: 424283ad-launch_security-Use-SEV-ES-policy-0x07-if-host-supports-it.patch
# SUSE Only
Patch70: virtman-desktop.patch
Patch71: virtman-kvm.patch