From 965a91fdecf122f032dbae78c99c64af0d8c8cf1 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Tue, 6 Feb 2018 18:43:05 -0500 Subject: [PATCH] =?UTF-8?q?Rebased=20to=20version=201.5.0=20python3=20prep?= =?UTF-8?q?=20work=20(Radostin=20Stoyanov,=20Cole=20Robinson,=20C=C3=A9dri?= =?UTF-8?q?c=20Bosdonnat)=20Switch=20--location=20ISO=20to=20use=20isoinfo?= =?UTF-8?q?=20(Andrew=20Wong)=20virt-install:=20add=20--cpu=20numa=20dista?= =?UTF-8?q?nce=20handling=20(Menno=20Lageman)=20virt-install:=20fix=20--di?= =?UTF-8?q?sk=20for=20rbd=20volumes=20with=20auth=20(Rauno=20V=C3=A4li)=20?= =?UTF-8?q?virt-install:=20add=20--cputune=20vcpupin=20handling=20(Wim=20t?= =?UTF-8?q?en=20Have)=20details=20ui:=20Showing=20attached=20scsi=20device?= =?UTF-8?q?s=20per=20controller=20(Lin=20Ma)=20network=20ui:=20Show=20deta?= =?UTF-8?q?ils=20about=20SR-IOV=20VF=20pool=20(Lin=20Ma)=20Greatly=20expan?= =?UTF-8?q?d=20UI=20test=20suite=20coverage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...t-return-empty-model-list-bz-1505532.patch | 34 ------------------- sources | 2 +- virt-manager.spec | 34 ++++++++++++++----- 3 files changed, 27 insertions(+), 43 deletions(-) delete mode 100644 0001-devicepanic-Don-t-return-empty-model-list-bz-1505532.patch diff --git a/0001-devicepanic-Don-t-return-empty-model-list-bz-1505532.patch b/0001-devicepanic-Don-t-return-empty-model-list-bz-1505532.patch deleted file mode 100644 index b64ea43..0000000 --- a/0001-devicepanic-Don-t-return-empty-model-list-bz-1505532.patch +++ /dev/null @@ -1,34 +0,0 @@ -From: Cole Robinson -Date: Fri, 27 Oct 2017 09:42:54 +0200 -Subject: [PATCH virt-manager] devicepanic: Don't return empty model list (bz - #1505532) - -Callers don't expect it, and it breaks opening the addhardware dialog -for aarch64 VMs - -https://bugzilla.redhat.com/show_bug.cgi?id=1505532 -(cherry picked from commit f7c8cf9f667f2b0122f5689009d74c94c38c7316) ---- - virtinst/devicepanic.py | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/virtinst/devicepanic.py b/virtinst/devicepanic.py -index 63a88f71..9f44e93e 100644 ---- a/virtinst/devicepanic.py -+++ b/virtinst/devicepanic.py -@@ -49,12 +49,13 @@ class VirtualPanicDevice(VirtualDevice): - @staticmethod - def get_models(os): - if os.is_x86(): -- return [VirtualPanicDevice.MODEL_ISA, VirtualPanicDevice.MODEL_HYPERV] -+ return [VirtualPanicDevice.MODEL_ISA, -+ VirtualPanicDevice.MODEL_HYPERV] - elif os.is_pseries(): - return [VirtualPanicDevice.MODEL_PSERIES] - elif os.is_s390x(): - return [VirtualPanicDevice.MODEL_S390] -- return None -+ return [] - - @staticmethod - def get_default_model(os): diff --git a/sources b/sources index 3c0515e..ba276d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (virt-manager-1.4.3.tar.gz) = 007f125503fc2c774beefc8047ca2c36aa7177af40d9bc78fa3448fd50d4d35abd4a1dbbf761a8cd538fdf6541eba46c2cd019ba3ff0c7e29b1944d873b74274 +SHA512 (virt-manager-1.5.0.tar.gz) = b375927776b9132fbd9dacd8223b6c94b89c32d6812394ec7e18df7c66f7e6dec853885e85e2b4b4ffd283e8afe0dd2526bafeac4b55511a4a115ef5798f97da diff --git a/virt-manager.spec b/virt-manager.spec index 6a25d49..f4c0093 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -19,8 +19,8 @@ # End local config Name: virt-manager -Version: 1.4.3 -Release: 3%{?dist} +Version: 1.5.0 +Release: 1%{?dist} %global verrel %{version}-%{release} Summary: Desktop tool for managing virtual machines via libvirt @@ -30,9 +30,6 @@ BuildArch: noarch URL: http://virt-manager.org/ Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz -# Fix 'Add Hardware' wizard for non-x86 guests (bz #1505532) -Patch0001: 0001-devicepanic-Don-t-return-empty-model-list-bz-1505532.patch - Requires: virt-manager-common = %{verrel} Requires: pygobject3 @@ -83,6 +80,8 @@ Requires: python-ipaddr Requires: libosinfo >= 0.2.10 # Required for gobject-introspection infrastructure Requires: pygobject3-base +# Required for pulling files from iso media with isoinfo +Requires: genisoimage %description common Common files used by the different virt-manager interfaces, as well as @@ -111,9 +110,6 @@ machine). %prep %setup -q -# Fix 'Add Hardware' wizard for non-x86 guests (bz #1505532) -%patch0001 -p1 - %build %if %{qemu_user} @@ -217,6 +213,28 @@ rm %{buildroot}%{_datadir}/GConf/gsettings/org.virt-manager.virt-manager.convert %changelog +* Tue Feb 06 2018 Cole Robinson - 1.5.0-1 +- Rebased to version 1.5.0 +- python3 prep work (Radostin Stoyanov, Cole Robinson, Cédric Bosdonnat) +- Switch --location ISO to use isoinfo (Andrew Wong) +- virt-install: add --cpu numa distance handling (Menno Lageman) +- virt-install: fix --disk for rbd volumes with auth (Rauno Väli) +- virt-install: add --cputune vcpupin handling (Wim ten Have) +- details ui: Showing attached scsi devices per controller (Lin Ma) +- network ui: Show details about SR-IOV VF pool (Lin Ma) +- Greatly expand UI test suite coverage + +* Tue Feb 06 2018 Cole Robinson - 1.5.0-1 +- Rebased to version 1.5.0 +- python3 prep work (Radostin Stoyanov, Cole Robinson, Cédric Bosdonnat) +- Switch --location ISO to use isoinfo (Andrew Wong) +- virt-install: add --cpu numa distance handling (Menno Lageman) +- virt-install: fix --disk for rbd volumes with auth (Rauno Väli) +- virt-install: add --cputune vcpupin handling (Wim ten Have) +- details ui: Showing attached scsi devices per controller (Lin Ma) +- network ui: Show details about SR-IOV VF pool (Lin Ma) +- Greatly expand UI test suite coverage + * Fri Jan 05 2018 Igor Gnatenko - 1.4.3-3 - Remove obsolete scriptlets