Hello community, here is the log from the commit of package virt-manager for openSUSE:Factory checked in at 2019-03-28 22:48:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-manager (Old) and /work/SRC/openSUSE:Factory/.virt-manager.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-manager" Thu Mar 28 22:48:50 2019 rev:192 rq:689168 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes 2019-03-06 15:50:54.548439376 +0100 +++ /work/SRC/openSUSE:Factory/.virt-manager.new.25356/virt-manager.changes 2019-03-28 22:48:56.351051997 +0100 @@ -1,0 +2,22 @@ +Mon Mar 25 05:29:39 MDT 2019 - [email protected] + +- bsc#1126325 - L3: No way to set max_grant_frames for domUs via + libvirt + 8d9743d6-virt-install-Add-support-for-xenbus-controller.patch +- bsc#1129176 - SLES 12 SP4 - kvm virt-install using ttyS0 leads to + user process fault and interrupts installation (virt-manager) + 5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch + +------------------------------------------------------------------- +Thu Mar 14 13:52:14 MDT 2019 - [email protected] + +- bsc#1129309 - Missing .treeinfo file on the media for CaaSP + virtinst-add-caasp-support.patch + +------------------------------------------------------------------- +Wed Mar 13 15:40:14 MDT 2019 - [email protected] + +- Add detection for Caasp 4.0 + virtinst-media-detection.patch + +------------------------------------------------------------------- New: ---- 5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch 8d9743d6-virt-install-Add-support-for-xenbus-controller.patch virtinst-media-detection.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-manager.spec ++++++ --- /var/tmp/diff_new_pack.vdE3Ut/_old 2019-03-28 22:48:57.975051702 +0100 +++ /var/tmp/diff_new_pack.vdE3Ut/_new 2019-03-28 22:48:57.979051701 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -35,6 +35,8 @@ Patch1: f7508d02-addhardware-Fix-setting-optimal-default-net-model.patch Patch2: 1018ab44-inspection-handle-failures-in-application-listing.patch Patch3: ae8a4f3d-engine-Fix-first-run-startup-error.patch +Patch4: 5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch +Patch5: 8d9743d6-virt-install-Add-support-for-xenbus-controller.patch # SUSE Only Patch70: virtman-desktop.patch Patch71: virtman-kvm.patch @@ -57,6 +59,7 @@ Patch126: virtinst-add-caasp-support.patch Patch127: virtinst-add-sle15-detection-support.patch Patch128: virtinst-add-pvh-support.patch +Patch129: virtinst-media-detection.patch # Bug Fixes Patch150: virtman-prevent-double-click-starting-vm-twice.patch Patch151: virtman-increase-setKeepAlive-count.patch @@ -165,6 +168,8 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 +%patch5 -p1 # SUSE Only %patch70 -p1 %patch71 -p1 @@ -187,6 +192,7 @@ %patch126 -p1 %patch127 -p1 %patch128 -p1 +%patch129 -p1 # Bug Fixes %patch150 -p1 %patch151 -p1 ++++++ 5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch ++++++ Subject: virt-install: Do not warn about consoles on s390x From: Christian Borntraeger [email protected] Thu Mar 14 09:50:11 2019 +0100 Date: Thu Mar 14 18:21:51 2019 +0100: Git: 5bc847ebb032864bb20859c98660e85b5a0b50f2 s390x guests usually detect the sclp or virtio console. The current warning might actually break setups. Let us disable the warning. Reported-by: Andre Wild <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]> Reviewed-by: Marc Hartmayer <[email protected]> Reviewed-by: Boris Fiuczynski <[email protected]> Index: virt-manager-2.1.0/virt-install =================================================================== --- virt-manager-2.1.0.orig/virt-install +++ virt-manager-2.1.0/virt-install @@ -432,9 +432,9 @@ def _show_nographics_warnings(options, g console_type = serial_arm_arg if guest.devices.console[0].target_type in ["virtio", "xen"]: console_type = hvc_arg - if guest.os.is_ppc64() or guest.os.is_arm_machvirt(): - # Later arm/ppc kernels figure out console= automatically, so don't - # warn about it. + if guest.os.is_ppc64() or guest.os.is_arm_machvirt() or guest.os.is_s390x(): + # Later arm/ppc/s390x kernels figure out console= automatically, so + # don't warn about it. return for args in (options.extra_args or []): ++++++ 8d9743d6-virt-install-Add-support-for-xenbus-controller.patch ++++++ Subject: virt-install: Add support for xenbus controller From: Jim Fehlig [email protected] Wed Mar 20 14:24:41 2019 -0600 Date: Thu Mar 21 14:15:40 2019 -0400: Git: 8d9743d69f5a197d959995552bda380a44e583b4 libvirt commit 09eb1ae0 added support for a new 'xenbus' controller type. Add support for the controller in virtinst, including support for the maxGrantFrames attribute. Reviewed-by: Cole Robinson <[email protected]> Signed-off-by: Jim Fehlig <[email protected]> Index: virt-manager-2.1.0/tests/cli-test-xml/compare/virt-install-many-devices.xml =================================================================== --- virt-manager-2.1.0.orig/tests/cli-test-xml/compare/virt-install-many-devices.xml +++ virt-manager-2.1.0/tests/cli-test-xml/compare/virt-install-many-devices.xml @@ -184,6 +184,7 @@ <master startport="4"/> <address type="pci" domain="0" bus="0" slot="4" function="2"/> </controller> + <controller type="xenbus" index="0" maxGrantFrames="64"/> <filesystem type="mount" accessmode="mapped"> <source dir="/source"/> <target dir="/target"/> Index: virt-manager-2.1.0/tests/cli-test-xml/compare/virt-install-xen-pv.xml =================================================================== --- virt-manager-2.1.0.orig/tests/cli-test-xml/compare/virt-install-xen-pv.xml +++ virt-manager-2.1.0/tests/cli-test-xml/compare/virt-install-xen-pv.xml @@ -22,6 +22,7 @@ <source file="/dev/default-pool/testvol1.img"/> <target dev="xvda" bus="xen"/> </disk> + <controller type="xenbus" index="0" maxGrantFrames="64"/> <interface type="bridge"> <source bridge="eth0"/> <mac address="00:11:22:33:44:55"/> @@ -51,6 +52,7 @@ <source file="/dev/default-pool/testvol1.img"/> <target dev="xvda" bus="xen"/> </disk> + <controller type="xenbus" index="0" maxGrantFrames="64"/> <interface type="bridge"> <source bridge="eth0"/> <mac address="00:11:22:33:44:55"/> Index: virt-manager-2.1.0/tests/clitest.py =================================================================== --- virt-manager-2.1.0.orig/tests/clitest.py +++ virt-manager-2.1.0/tests/clitest.py @@ -509,6 +509,7 @@ c.add_compare(""" \ --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0,address.multifunction=on \ --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 \ --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 \ +--controller xenbus,maxGrantFrames=64 \ \ --input type=keyboard,bus=usb \ --input tablet \ @@ -824,7 +825,7 @@ c.add_compare("--init /usr/bin/httpd", " c = vinst.add_category("xen", "--noautoconsole --connect " + utils.URIs.xen) c.add_valid("--disk %(EXISTIMG1)s --location %(TREEDIR)s --paravirt --graphics none") # Xen PV install headless c.add_compare("--disk %(EXISTIMG1)s --import", "xen-default") # Xen default -c.add_compare("--disk %(EXISTIMG1)s --location %(TREEDIR)s --paravirt", "xen-pv") # Xen PV +c.add_compare("--disk %(EXISTIMG1)s --location %(TREEDIR)s --paravirt --controller xenbus,maxGrantFrames=64", "xen-pv") # Xen PV c.add_compare("--disk /iscsi-pool/diskvol1 --cdrom %(EXISTIMG1)s --livecd --hvm", "xen-hvm") # Xen HVM Index: virt-manager-2.1.0/virtinst/cli.py =================================================================== --- virt-manager-2.1.0.orig/virtinst/cli.py +++ virt-manager-2.1.0/virtinst/cli.py @@ -2430,6 +2430,7 @@ class ParserNetwork(VirtCLIParser): cls.add_arg("driver_name", "driver_name") cls.add_arg("driver_queues", "driver_queues") + cls.add_arg("maxGrantFrames", "maxGrantFrames") cls.add_arg("rom_file", "rom_file") cls.add_arg("rom_bar", "rom_bar", is_onoff=True) Index: virt-manager-2.1.0/virtinst/devices/controller.py =================================================================== --- virt-manager-2.1.0.orig/virtinst/devices/controller.py +++ virt-manager-2.1.0/virtinst/devices/controller.py @@ -19,6 +19,7 @@ class DeviceController(Device): TYPE_USB = "usb" TYPE_PCI = "pci" TYPE_CCID = "ccid" + TYPE_XENBUS = "xenbus" @staticmethod def get_recommended_types(_guest): @@ -38,6 +39,7 @@ class DeviceController(Device): DeviceController.TYPE_USB: "USB", DeviceController.TYPE_PCI: "PCI", DeviceController.TYPE_CCID: "CCID", + DeviceController.TYPE_XENBUS: "xenbus", } if ctype not in pretty_mappings: @@ -86,13 +88,14 @@ class DeviceController(Device): return ctrl - _XML_PROP_ORDER = ["type", "index", "model", "master_startport"] + _XML_PROP_ORDER = ["type", "index", "model", "master_startport", "maxGrantFrames"] type = XMLProperty("./@type") model = XMLProperty("./@model") vectors = XMLProperty("./@vectors", is_int=True) ports = XMLProperty("./@ports", is_int=True) master_startport = XMLProperty("./master/@startport", is_int=True) + maxGrantFrames = XMLProperty("./@maxGrantFrames", is_int=True) index = XMLProperty("./@index", is_int=True) ++++++ virtinst-add-caasp-support.patch ++++++ --- /var/tmp/diff_new_pack.vdE3Ut/_old 2019-03-28 22:48:58.083051683 +0100 +++ /var/tmp/diff_new_pack.vdE3Ut/_new 2019-03-28 22:48:58.083051683 +0100 @@ -36,7 +36,7 @@ + matching_distros = ["caasp"] + _variant_prefix = "caasp" + _suse_regex = [".*SUSE Container as a Service Platform*", ".*SUSE CaaS Platform*"] -+ famregex = ".*SUSE Container as a Service Platform.*" ++ famregex = ".*(SUSE Container as a Service Platform|SUSE CaaS Platform).*" + + class _OESDistro(_SuseDistro): ++++++ virtinst-media-detection.patch ++++++ When both the content file and .treeinfo file are missing from the media look in the media.1/products and media.1/media files for information. Caasp 4.0 has not content or .treeinfo file on the media --- virt-manager-2.1.0/virtinst/urldetect.py.orig 2019-03-13 15:34:14.489019082 -0600 +++ virt-manager-2.1.0/virtinst/urldetect.py 2019-03-13 15:34:56.813552736 -0600 @@ -485,8 +485,23 @@ class _SuseDistro(_RHELDistro): cache.checked_for_suse_content = True content_str = cache.acquire_file_content("content") if content_str is None: - return False - + products_str = cache.acquire_file_content("media.1/products") + if products_str: + products_str = products_str.replace('/', ' ,', 1) + products_str = "DISTRO " + products_str.replace('-', ' ') + media_str = cache.acquire_file_content("media.1/media") + if media_str: + media_arch = "x86_64" + if 'aarch64' in media_str: + media_arch = "aarch64" + elif 'ppc64le' in media_str: + media_arch = "ppc64le" + elif 's390x' in media_str: + media_arch = "s390x" + media_str = 'BASEARCHS ' + media_arch + if products_str is None and media_str is None: + return False + content_str = products_str + "\n" + media_str try: cache.suse_content = _SUSEContent(content_str) except Exception as e: ++++++ virtinst-use-xenpae-kernel-for-32bit.patch ++++++ --- /var/tmp/diff_new_pack.vdE3Ut/_old 2019-03-28 22:48:58.119051676 +0100 +++ /var/tmp/diff_new_pack.vdE3Ut/_new 2019-03-28 22:48:58.119051676 +0100 @@ -8,7 +8,7 @@ =================================================================== --- virt-manager-2.1.0.orig/virtinst/urldetect.py +++ virt-manager-2.1.0/virtinst/urldetect.py -@@ -515,9 +515,14 @@ class _SuseDistro(_RHELDistro): +@@ -530,9 +530,14 @@ class _SuseDistro(_RHELDistro): if self.type == "xen": # Matches Opensuse > 10.2 and sles 10
