From 624be8c0664aa13538c7ad4bacfc2ffaa5adf5f022c7f1e32210e14337c743fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 21 Jun 2024 19:53:18 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main qemu revision 3bd85117e62ca2cb02dfa30df1729a0a --- _servicedata | 2 +- qemu-8.2.1.obscpio | 3 -- qemu-8.2.4.obscpio | 3 ++ qemu-linux-user.spec | 2 +- qemu.changes | 126 +++++++++++++++++++++++++++++++++++++++++++ qemu.obsinfo | 6 +-- qemu.spec | 16 +++--- 7 files changed, 144 insertions(+), 14 deletions(-) delete mode 100644 qemu-8.2.1.obscpio create mode 100644 qemu-8.2.4.obscpio diff --git a/_servicedata b/_servicedata index 5489004..2dc47f8 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/opensuse/qemu.git - a2bdf44baa5a9b163f1ebeb668cf151202f430e6 \ No newline at end of file + ee47a737acd154d4cecce93fa236a56cb0b1e41d \ No newline at end of file diff --git a/qemu-8.2.1.obscpio b/qemu-8.2.1.obscpio deleted file mode 100644 index 3d43744..0000000 --- a/qemu-8.2.1.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ff6cff37ccff3e40625c9cdacb814dd0ef7db5c903fdea1ccdb4af1c5513b1d -size 847562255 diff --git a/qemu-8.2.4.obscpio b/qemu-8.2.4.obscpio new file mode 100644 index 0000000..389c152 --- /dev/null +++ b/qemu-8.2.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21c7d0a3b4b2452342970228e78170138bef34cbdedd35b190da3f3730b8892f +size 848336911 diff --git a/qemu-linux-user.spec b/qemu-linux-user.spec index 1a7c058..3139f3e 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: 8.2.1 +Version: 8.2.4 Release: 0 Source0: qemu-%{version}.tar.xz Source1: common.inc diff --git a/qemu.changes b/qemu.changes index 87cc946..bb78142 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,129 @@ +------------------------------------------------------------------- +Thu May 16 14:43:38 UTC 2024 - dfaggioli@suse.com + +- Update to version 8.2.4. Full changelog/backports here: + https://lore.kernel.org/qemu-devel/1715632914.382233.1013785.nullmailer@tls.msk.ru/ + Some of the upstream backports are: + target/sh4: Fix SUBV opcode + target/sh4: Fix ADDV opcode + hw/arm/npcm7xx: Store derivative OTP fuse key in little endian + hw/dmax/xlnx_dpdma: fix handling of address_extension descriptor fields + hw/ufs: Fix buffer overflow bug + tests/avocado: update sunxi kernel from armbian to 6.6.16 + target/loongarch/cpu.c: typo fix: expection + backends/cryptodev-builtin: Fix local_error leaks + nbd/server: Mark negotiation functions as coroutine_fn + nbd/server: do not poll within a coroutine context + linux-user: do_setsockopt: fix SOL_ALG.ALG_SET_KEY + target/riscv/kvm: change timer regs size to u64 + target/riscv/kvm: change KVM_REG_RISCV_FP_D to u64 + target/riscv/kvm: change KVM_REG_RISCV_FP_F to u32 + ... + +------------------------------------------------------------------- +Wed May 08 13:27:40 UTC 2024 - dfaggioli@suse.com + +- Fixes: + * [openSUSE][RPM] Prioritize PA over PipeWire in SLE (bsc#1222218) + * [openSUSE][RPM] Hostname normalization (for repr. build ) done properly (boo#1084909) + +------------------------------------------------------------------- +Tue Apr 30 10:05:32 UTC 2024 - dfaggioli@suse.com + +- Fix a build issue on riscv: + * target/riscv/kvm: rename riscv_reg_id() to riscv_reg_id_ulong() + * target/riscv/kvm: add RISCV_CONFIG_REG() + * target/riscv/kvm: change timer regs size to u64 + * target/riscv/kvm: change KVM_REG_RISCV_FP_D to u64 + * target/riscv/kvm: change KVM_REG_RISCV_FP_F to u32 +- Update to version 8.2.3. Full changelog/backports here: + https://lore.kernel.org/qemu-devel/1713980341.971368.1218343.nullmailer@tls.msk.ru/ + Some of the upstream backports are: + * Update version for 8.2.3 release + * ppc/spapr: Initialize max_cpus limit to SPAPR_IRQ_NR_IPIS. + * ppc/spapr: Introduce SPAPR_IRQ_NR_IPIS to refer IRQ range for CPU IPIs. + * hw/pci-host/ppc440_pcix: Do not expose a bridge device on PCI bus + * hw/isa/vt82c686: Keep track of PIRQ/PINT pins separately + * virtio-pci: fix use of a released vector + * linux-user/x86_64: Handle the vsyscall page in open_self_maps_{2,4} + * hw/audio/virtio-snd: Remove unused assignment + * hw/net/net_tx_pkt: Fix overrun in update_sctp_checksum() + * hw/sd/sdhci: Do not update TRNMOD when Command Inhibit (DAT) is set + * hw/net/lan9118: Fix overflow in MIL TX FIFO + * hw/net/lan9118: Replace magic '2048' value by MIL_TXFIFO_SIZE definition + * backends/cryptodev: Do not abort for invalid session ID + * hw/misc/applesmc: Fix memory leak in reset() handler + * hw/block/nand: Fix out-of-bound access in NAND block buffer + * hw/block/nand: Have blk_load() take unsigned offset and return boolean + * hw/block/nand: Factor nand_load_iolen() method out + * qemu-options: Fix CXL Fixed Memory Window interleave-granularity typo + * hw/virtio/virtio-crypto: Protect from DMA re-entrancy bugs + * hw/char/virtio-serial-bus: Protect from DMA re-entrancy bugs + * hw/display/virtio-gpu: Protect from DMA re-entrancy bugs + * mirror: Don't call job_pause_point() under graph lock (bsc#1224179) + * ...and many more... + +------------------------------------------------------------------- +Thu Apr 18 09:08:17 UTC 2024 - dfaggioli@suse.com + +- Backports and bugfixes: + * hw/net/net_tx_pkt: Fix overrun in update_sctp_checksum() (bsc#1222841, CVE-2024-3567) + * hw/virtio/virtio-crypto: Protect from DMA re-entrancy bugs (bsc#1222843, CVE-2024-3446) + * hw/char/virtio-serial-bus: Protect from DMA re-entrancy bugs (bsc#1222843, CVE-2024-3446) + * hw/display/virtio-gpu: Protect from DMA re-entrancy bugs (bsc#1222843, CVE-2024-3446) + * hw/virtio: Introduce virtio_bh_new_guarded() helper (bsc#1222843, CVE-2024-3446) + * hw/sd/sdhci: Do not update TRNMOD when Command Inhibit (DAT) is set (bsc#1222845, CVE-2024-3447) + * hw/nvme: Use pcie_sriov_num_vfs() (bsc#1220065, CVE-2024-26328) + +------------------------------------------------------------------- +Fri Mar 15 12:51:27 UTC 2024 - dfaggioli@suse.com + +- Update to version 8.2.2. Full changelog here: + https://lore.kernel.org/qemu-devel/1709577077.783602.1474596.nullmailer@tls.msk.ru/ + Some upstream backports: + * chardev/char-socket: Fix TLS io channels sending too much data to the backend + * tests/unit/test-util-sockets: Remove temporary file after test + * hw/usb/bus.c: PCAP adding 0xA in Windows version + * hw/intc/Kconfig: Fix GIC settings when using "--without-default-devices" + * gitlab: force allow use of pip in Cirrus jobs + * tests/vm: avoid re-building the VM images all the time + * tests/vm: update openbsd image to 7.4 + * target/i386: leave the A20 bit set in the final NPT walk + * target/i386: remove unnecessary/wrong application of the A20 mask + * target/i386: Fix physical address truncation + * target/i386: check validity of VMCB addresses + * target/i386: mask high bits of CR3 in 32-bit mode + * pl031: Update last RTCLR value on write in case it's read back + * hw/nvme: fix invalid endian conversion + * update edk2 binaries to edk2-stable202402 + * update edk2 submodule to edk2-stable202402 + * target/ppc: Fix crash on machine check caused by ifetch + * target/ppc: Fix lxv/stxv MSR facility check + * .gitlab-ci.d/windows.yml: Drop msys2-32bit job + * system/vl: Update description for input grab key + * docs/system: Update description for input grab key + * hw/hppa/Kconfig: Fix building with "configure --without-default-devices" + * tests/qtest: Depend on dbus_display1_dep + * meson: Explicitly specify dbus-display1.h dependency + * audio: Depend on dbus_display1_dep + * ui/console: Fix console resize with placeholder surface + * ui/clipboard: add asserts for update and request + * ui/clipboard: mark type as not available when there is no data + * ui: reject extended clipboard message if not activated + * target/i386: Generate an illegal opcode exception on cmp instructions with lock prefix + * i386/cpuid: Move leaf 7 to correct group + * i386/cpuid: Decrease cpuid_i when skipping CPUID leaf 1F + * i386/cpu: Mask with XCR0/XSS mask for FEAT_XSAVE_XCR0_HI and FEAT_XSAVE_XSS_HI leafs + * i386/cpu: Clear FEAT_XSAVE_XSS_LO/HI leafs when CPUID_EXT_XSAVE is not available + * .gitlab-ci/windows.yml: Don't install libusb or spice packages on 32-bit + * iotests: Make 144 deterministic again + * target/arm: Don't get MDCR_EL2 in pmu_counter_enabled() before checking ARM_FEATURE_PMU + * target/arm: Fix SVE/SME gross MTE suppression checks + * target/arm: Handle mte in do_ldrq, do_ldro +- Address bsc#1220310. Backported upstream commits: + * ppc/spapr: Initialize max_cpus limit to SPAPR_IRQ_NR_IPIS + * ppc/spapr: Introduce SPAPR_IRQ_NR_IPIS to refer IRQ range for CPU IPIs. + ------------------------------------------------------------------- Mon Mar 04 14:10:36 UTC 2024 - dfaggioli@suse.com diff --git a/qemu.obsinfo b/qemu.obsinfo index de96489..216dcdd 100644 --- a/qemu.obsinfo +++ b/qemu.obsinfo @@ -1,4 +1,4 @@ name: qemu -version: 8.2.1 -mtime: 1709560638 -commit: a2bdf44baa5a9b163f1ebeb668cf151202f430e6 +version: 8.2.4 +mtime: 1715869916 +commit: ee47a737acd154d4cecce93fa236a56cb0b1e41d diff --git a/qemu.spec b/qemu.spec index 215d09c..06deebc 100644 --- a/qemu.spec +++ b/qemu.spec @@ -82,7 +82,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: 8.2.1 +Version: 8.2.4 Release: 0 Source0: qemu-%{version}.tar.xz Source1: common.inc @@ -498,6 +498,8 @@ find . -iname ".git" -exec rm -rf {} + mkdir -p %blddir cd %blddir +export USER=abuild +export HOSTNAME=OBS # is used in roms/SLOF/Makefile.gen (boo#1084909) # We define a few general and common options and then we disable # pretty much everything. Afterwards, there is a section for each @@ -671,7 +673,11 @@ EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g --disable-xkbcommon \ --disable-zstd \ --without-default-devices \ +%if 0%{?suse_version} >= 1600 --audio-drv-list=pipewire,pa,alsa,jack,oss \ +%else + --audio-drv-list=pa,pipewire,alsa,jack,oss \ +%endif %ifarch x86_64 --enable-avx2 \ --enable-libpmem \ @@ -904,8 +910,6 @@ done %install cd %blddir -export USER=abuild -export HOSTNAME=OBS # is used in roms/SLOF/Makefile.gen (boo#1084909) %make_build install DESTDIR=%{buildroot} @@ -1958,7 +1962,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: 8.2.1%{sbver} +Version: 8.2.4%{sbver} Release: 0 BuildArch: noarch Conflicts: %name < 1.6.0 @@ -1979,7 +1983,7 @@ is the default and legacy BIOS for QEMU. %package vgabios Summary: VGA BIOSes for QEMU Group: System/Emulators/PC -Version: 8.2.1%{sbver} +Version: 8.2.4%{sbver} Release: 0 BuildArch: noarch Conflicts: %name < 1.6.0 @@ -2005,7 +2009,7 @@ video card. For use with QEMU. %package ipxe Summary: PXE ROMs for QEMU NICs Group: System/Emulators/PC -Version: 8.2.1 +Version: 8.2.4 Release: 0 BuildArch: noarch Conflicts: %name < 1.6.0