From 7c86d6b1e5bd2bd3d4f53d896b61bee9cc4dc317eb8b42c0517cea693a7d42dc Mon Sep 17 00:00:00 2001 From: Dario Faggioli Date: Fri, 20 Dec 2024 08:08:27 +0000 Subject: [PATCH] - Update to latest upstream release, 9.2.0: The full list of changes are available at: https://wiki.qemu.org/ChangeLog/9.2 Highlights include: virtio-gpu: support for 3D acceleration of Vulkan applications via Venus Vulkan driver in the guest and virglrenderer host library crypto: GLib crypto backend now supports SHA-384 hashes migration: QATzip-accelerated compression support while using multiple migration streams Rust: experimental support for device models written in Rust (for development use only) ARM: emulation support for FEAT_EBF16, FEAT_CMOW architecture features ARM: support for two-stage SMMU translation for sbsa-ref and virt boards ARM: support for CPU Security Extensions for xilinx-zynq-a9 board ARM: 64GB+ memory support when using HVF acceleration on newer Macs HPPA: SeaBIOS-hppa v17 firmware with various fixes and enhancements RISC-V: IOMMU support for virt machine RISC-V: support for control flow integrity and Svvptc extensions, and support for Bit-Manipulation extension on OpenTitan boards RISC-V: improved performance for vector unit-stride/whole register ld/st instructions s390x: support for booting from other devices if the previous ones fail x86: support for new nitro-enclave machine type that can emulate AWS Nitro Enclave and can boot from Enclave Image Format files. x86: KVM support for enabling AVX10, as well as enabling specific AVX10 versions via command-line and lots more... Other changes: Removed deprecated 'cris' support Removed deprecated virtfs-proxy-helper `--enable-rust` not addressed yet OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=872 --- _servicedata | 2 +- common.inc | 8 ++++++-- qemu-linux-user.spec | 2 +- qemu.changes | 34 ++++++++++++++++++++++++++++++++++ qemu.obsinfo | 6 +++--- qemu.spec | 36 ++++++++++++++++++++++++++---------- 6 files changed, 71 insertions(+), 17 deletions(-) diff --git a/_servicedata b/_servicedata index c21855e..41f30fe 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/opensuse/qemu.git - 3a3eb93bf36dcbe8b79a78888450b61eea62a187 \ No newline at end of file + 84aedea96bb2c6cc25ca76998cf82765d8efc1b1 \ No newline at end of file diff --git a/common.inc b/common.inc index 6817e30..9fe576d 100644 --- a/common.inc +++ b/common.inc @@ -1,6 +1,6 @@ %define _buildshell /bin/bash -%define sbver 1.16.3_3_gc13ff2cd +%define sbver 1.16.3_3_g3d33c746 %define srcdir %{_builddir}/%buildsubdir %define blddir %srcdir/build @@ -110,6 +110,7 @@ virtualization. --audio-drv-list= \\\ --disable-af-xdp \\\ --disable-alsa \\\ + --disable-asan \\\ --disable-attr \\\ --disable-auth-pam \\\ --disable-avx2 \\\ @@ -161,6 +162,7 @@ virtualization. --disable-jack \\\ --disable-kvm \\\ --disable-l2tpv3 \\\ + --disable-libcbor \\\ --disable-libdaxctl \\\ --disable-libdw \\\ --disable-libiscsi \\\ @@ -205,9 +207,9 @@ virtualization. --disable-relocatable \\\ --disable-replication \\\ --disable-rng-none \\\ + --disable-rust \\\ --disable-rutabaga-gfx \\\ --disable-safe-stack \\\ - --disable-sanitizers \\\ --disable-sdl \\\ --disable-sdl-image \\\ --disable-seccomp \\\ @@ -220,6 +222,7 @@ virtualization. --disable-sparse \\\ --disable-spice \\\ --disable-spice-protocol \\\ + --disable-strict-rust-lints \\\ --disable-strip \\\ --disable-system \\\ --disable-tcg \\\ @@ -229,6 +232,7 @@ virtualization. --disable-tsan \\\ --disable-u2f \\\ --disable-uadk \\\ + --disable-ubsan \\\ --disable-usb-redir \\\ --disable-user \\\ --disable-vde \\\ diff --git a/qemu-linux-user.spec b/qemu-linux-user.spec index 165401a..b78c55d 100644 --- a/qemu-linux-user.spec +++ b/qemu-linux-user.spec @@ -27,7 +27,7 @@ URL: https://www.qemu.org/ Summary: CPU emulator for user space License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT Group: System/Emulators/PC -Version: 9.1.2 +Version: 9.2.0 Release: 0 Source0: qemu-%{version}.tar.xz Source1: common.inc diff --git a/qemu.changes b/qemu.changes index 313fcad..c4195a2 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Fri Dec 20 08:03:35 UTC 2024 - dfaggioli@suse.com + +- Update to latest upstream release, 9.2.0: + The full list of changes are available at: https://wiki.qemu.org/ChangeLog/9.2 + Highlights include: + virtio-gpu: support for 3D acceleration of Vulkan applications via + Venus Vulkan driver in the guest and virglrenderer host library + crypto: GLib crypto backend now supports SHA-384 hashes + migration: QATzip-accelerated compression support while using multiple + migration streams + Rust: experimental support for device models written in Rust (for + development use only) + ARM: emulation support for FEAT_EBF16, FEAT_CMOW architecture features + ARM: support for two-stage SMMU translation for sbsa-ref and virt boards + ARM: support for CPU Security Extensions for xilinx-zynq-a9 board + ARM: 64GB+ memory support when using HVF acceleration on newer Macs + HPPA: SeaBIOS-hppa v17 firmware with various fixes and enhancements + RISC-V: IOMMU support for virt machine + RISC-V: support for control flow integrity and Svvptc extensions, and + support for Bit-Manipulation extension on OpenTitan boards + RISC-V: improved performance for vector unit-stride/whole register + ld/st instructions + s390x: support for booting from other devices if the previous ones fail + x86: support for new nitro-enclave machine type that can emulate + AWS Nitro Enclave and can boot from Enclave Image Format files. + x86: KVM support for enabling AVX10, as well as enabling specific + AVX10 versions via command-line + and lots more... + Other changes: + Removed deprecated 'cris' support + Removed deprecated virtfs-proxy-helper + `--enable-rust` not addressed yet + ------------------------------------------------------------------- Tue Dec 10 17:36:14 UTC 2024 - dfaggioli@suse.com diff --git a/qemu.obsinfo b/qemu.obsinfo index c21ca21..61b8bbc 100644 --- a/qemu.obsinfo +++ b/qemu.obsinfo @@ -1,4 +1,4 @@ name: qemu -version: 9.1.2 -mtime: 1733470164 -commit: 3a3eb93bf36dcbe8b79a78888450b61eea62a187 +version: 9.2.0 +mtime: 1734618922 +commit: 84aedea96bb2c6cc25ca76998cf82765d8efc1b1 diff --git a/qemu.spec b/qemu.spec index d1995a4..476eeb0 100644 --- a/qemu.spec +++ b/qemu.spec @@ -69,6 +69,12 @@ %bcond_without daxctl %endif +%ifarch x86_64 +%bcond_without qatzip +%endif + +%global have_libcbor 1 + # enforce pxe rom sizes for migration compatability from SLE 11 SP3 forward # the following need to be > 64K %define supported_nics_large {e1000 rtl8139} @@ -82,7 +88,7 @@ URL: https://www.qemu.org/ Summary: Machine emulator and virtualizer License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT Group: System/Emulators/PC -Version: 9.1.2 +Version: 9.2.0 Release: 0 Source0: qemu-%{version}.tar.xz Source1: common.inc @@ -146,6 +152,12 @@ BuildRequires: pkgconfig(liburing) >= %liburing_min_version %if 0%{with xdp} BuildRequires: libxdp-devel %endif +%if 0%{with qatzip} +BuildRequires: qatzip-devel +%endif +%if %{have_libcbor} +BuildRequires: libcbor-devel +%endif %if 0%{?suse_version} >= 1600 BuildRequires: python3-Sphinx BuildRequires: python3-base >= 3.8 @@ -419,7 +431,7 @@ meson subprojects packagefiles --apply berkeley-softfloat-3 %define ppc_extra_firmware {skiboot.lid slof.bin} %define riscv64_default_firmware %{nil} %define riscv64_extra_firmware {opensbi-riscv64-generic-fw_dynamic.bin} -%define s390x_default_firmware {s390-ccw.img s390-netboot.img} +%define s390x_default_firmware {s390-ccw.img} %define s390x_extra_firmware %{nil} %define x86_default_firmware {linuxboot.bin linuxboot_dma.bin multiboot.bin \ multiboot_dma.bin kvmvapic.bin pvh.bin} @@ -581,6 +593,9 @@ EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g %if 0%{with rbd} --enable-rbd \ %endif +%if 0%{with qatzip} + --enable-qatzip \ +%endif %if 0%{has_rutabaga_gfx} --enable-rutabaga-gfx \ %endif @@ -612,6 +627,9 @@ EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g --enable-iconv \ --enable-jack \ --enable-l2tpv3 \ +%if %{have_libcbor} + --enable-libcbor \ +%endif --enable-libiscsi \ --enable-libkeyutils \ --enable-libnfs \ @@ -835,6 +853,7 @@ unlink %{buildroot}%_datadir/%name/firmware/60-edk2-aarch64.json unlink %{buildroot}%_datadir/%name/firmware/60-edk2-arm.json unlink %{buildroot}%_datadir/%name/firmware/60-edk2-i386.json unlink %{buildroot}%_datadir/%name/firmware/60-edk2-x86_64.json +unlink %{buildroot}%_datadir/%name/firmware/60-edk2-loongarch64.json unlink %{buildroot}%_datadir/%name/edk2-aarch64-code.fd unlink %{buildroot}%_datadir/%name/edk2-arm-code.fd unlink %{buildroot}%_datadir/%name/edk2-arm-vars.fd @@ -845,6 +864,8 @@ unlink %{buildroot}%_datadir/%name/edk2-x86_64-code.fd unlink %{buildroot}%_datadir/%name/edk2-x86_64-secure-code.fd unlink %{buildroot}%_datadir/%name/edk2-riscv-code.fd unlink %{buildroot}%_datadir/%name/edk2-riscv-vars.fd +unlink %{buildroot}%_datadir/%name/edk2-loongarch64-code.fd +unlink %{buildroot}%_datadir/%name/edk2-loongarch64-vars.fd # this was never meant for customer consumption - delete even though installed unlink %{buildroot}%_bindir/elf2dmp @@ -1137,7 +1158,6 @@ This package provides s390x emulation. %files s390x %_bindir/qemu-system-s390x %_datadir/%name/s390-ccw.img -%_datadir/%name/s390-netboot.img %doc %_docdir/qemu-s390x %package arm @@ -1178,7 +1198,6 @@ popular QEMU packages which are dedicated to a single architecture.) %files extra %_bindir/qemu-system-alpha %_bindir/qemu-system-avr -%_bindir/qemu-system-cris %_bindir/qemu-system-hppa %_bindir/qemu-system-loongarch64 %_bindir/qemu-system-m68k @@ -1619,8 +1638,6 @@ a virtfs helper, ivshmem, disk utilities and scripts for various purposes. %_bindir/vmstate-static-checker.py %_bindir/vmxcap %verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper -%_libexecdir/virtfs-proxy-helper -%_mandir/man1/virtfs-proxy-helper.1.gz %dir %_sysconfdir/%name %config(noreplace) %_sysconfdir/%name/bridge.conf @@ -1749,7 +1766,6 @@ This package provides QTest accelerator for testing QEMU. %_libdir/%name/accel-qtest-alpha.so %_libdir/%name/accel-qtest-arm.so %_libdir/%name/accel-qtest-avr.so -%_libdir/%name/accel-qtest-cris.so %_libdir/%name/accel-qtest-hppa.so %_libdir/%name/accel-qtest-i386.so %_libdir/%name/accel-qtest-loongarch64.so @@ -1854,7 +1870,7 @@ wider support than qboot, but still focuses on quick boot up. %package seabios Summary: x86 Legacy BIOS for QEMU Group: System/Emulators/PC -Version: 9.1.2%{sbver} +Version: 9.2.0%{sbver} Release: 0 BuildArch: noarch Conflicts: %name < 1.6.0 @@ -1875,7 +1891,7 @@ is the default and legacy BIOS for QEMU. %package vgabios Summary: VGA BIOSes for QEMU Group: System/Emulators/PC -Version: 9.1.2%{sbver} +Version: 9.2.0%{sbver} Release: 0 BuildArch: noarch Conflicts: %name < 1.6.0 @@ -1901,7 +1917,7 @@ video card. For use with QEMU. %package ipxe Summary: PXE ROMs for QEMU NICs Group: System/Emulators/PC -Version: 9.1.2 +Version: 9.2.0 Release: 0 BuildArch: noarch Conflicts: %name < 1.6.0