Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package virt-manager for openSUSE:Factory checked in at 2022-06-24 08:44:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-manager (Old) and /work/SRC/openSUSE:Factory/.virt-manager.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-manager" Fri Jun 24 08:44:59 2022 rev:233 rq:984601 version:4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes 2022-05-31 15:47:49.484005846 +0200 +++ /work/SRC/openSUSE:Factory/.virt-manager.new.1548/virt-manager.changes 2022-06-24 08:45:07.619126840 +0200 @@ -1,0 +2,7 @@ +Wed Jun 22 13:54:26 MDT 2022 - carn...@suse.com + +- bsc#1200691 - SLES 15 SP4 GMC --os-variant tag shouldn't be + mandatory on s390x (see also bsc#1200422) + revert-363fca41-virt-install-Require-osinfo-for-non-x86-HVM-case-too.patch + +------------------------------------------------------------------- New: ---- revert-363fca41-virt-install-Require-osinfo-for-non-x86-HVM-case-too.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-manager.spec ++++++ --- /var/tmp/diff_new_pack.7twfTZ/_old 2022-06-24 08:45:08.643127987 +0200 +++ /var/tmp/diff_new_pack.7twfTZ/_new 2022-06-24 08:45:08.647127991 +0200 @@ -32,6 +32,7 @@ Source2: virt-install.desktop Source3: virt-manager-supportconfig # Upstream Patches +Patch1: revert-363fca41-virt-install-Require-osinfo-for-non-x86-HVM-case-too.patch # SUSE Only Patch70: virtman-desktop.patch Patch71: virtman-kvm.patch @@ -158,6 +159,7 @@ %prep %setup -q # Upstream Patches +%patch1 -p1 # SUSE Only %patch70 -p1 %patch71 -p1 ++++++ revert-363fca41-virt-install-Require-osinfo-for-non-x86-HVM-case-too.patch ++++++ References: bsc#1200691, an IBM request This patch reverts commit 363fca413cae336a0ca86cbdcbb2f65fead948ee. Only x86 will have a hard requirement for the --osinfo option. From: Cole Robinson crobi...@redhat.com Sun Feb 20 11:40:35 2022 -0500 Subject: virt-install: Require --osinfo for non-x86 HVM case too Date: Sun Feb 20 11:40:35 2022 -0500: Git: 363fca413cae336a0ca86cbdcbb2f65fead948ee It's generally not as valuable for non-x86 where we don't have the history of supporting non-virtio OSes, but as time goes on it will likely become more relevant for non-x86 arches, so let's make this change now to get ahead of it. Signed-off-by: Cole Robinson <crobi...@redhat.com> --- a/man/virt-install.rst +++ b/man/virt-install.rst @@ -1040,8 +1040,8 @@ all other settings off or unset. By default, virt-install will always attempt ``--osinfo detect=on`` for appropriate install media. If no OS is detected, we will fail -in most common cases. This fatal error was added in 2022. You can -work around this by using the fallback example +in certain common cases (x86 KVM for example). This fatal error was +added in 2022. You can work around this by using the fallback example above, or disabling the ``require`` option. If you just need to get back to the old non-fatal behavior ASAP, set the environment variable VIRTINSTALL_OSINFO_DISABLE_REQUIRE=1. --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1162,7 +1162,6 @@ c.add_compare("--connect %(URI-KVM-ARMV7 ################# c.add_valid("--arch aarch64 --osinfo fedora19 --nodisks --pxe --connect " + utils.URIs.kvm_x86_nodomcaps, grep="Libvirt version does not support UEFI") # attempt to default to aarch64 UEFI, but it fails, but should only print warnings -c.add_invalid("--arch aarch64 --nodisks --pxe --connect " + utils.URIs.kvm_x86, grep="OS name is required") # catch missing osinfo for non-x86 c.add_compare("--arch aarch64 --osinfo fedora19 --machine virt --boot kernel=/f19-arm.kernel,initrd=/f19-arm.initrd,kernel_args=\"console=ttyAMA0,1234 rw root=/dev/vda3\" --disk %(EXISTIMG1)s", "aarch64-machvirt") c.add_compare("--arch aarch64 --osinfo fedora19 --boot kernel=/f19-arm.kernel,initrd=/f19-arm.initrd,kernel_args=\"console=ttyAMA0,1234 rw root=/dev/vda3\" --disk %(EXISTIMG1)s", "aarch64-machdefault") c.add_compare("--arch aarch64 --cdrom %(ISO-F26-NETINST)s --boot loader=CODE.fd,nvram.template=VARS.fd --disk %(EXISTIMG1)s --cpu none --events on_crash=preserve,on_reboot=destroy,on_poweroff=restart", "aarch64-cdrom") # cdrom test, but also --cpu none override, --events override, and headless --- a/virtinst/virtinstall.py +++ b/virtinst/virtinstall.py @@ -355,13 +355,9 @@ def _show_memory_warnings(guest): def _needs_accurate_osinfo(guest): - # HVM is really the only case where OS impacts what we set for defaults, - # so far. - # - # Historically we would only warn about missing osinfo on x86, but - # with the change to make osinfo mandatory we relaxed the arch check, - # so virt-install behavior is more consistent. - return guest.os.is_hvm() + # Limit it to hvm x86 guests which presently our defaults + # only really matter for + return guest.os.is_x86() and guest.os.is_hvm() def show_guest_warnings(options, guest):