SHA256
1
0
forked from pool/qemu

50 Commits

Author SHA256 Message Date
e4a4fb3c63 Sync changes to SLFO-1.2 branch 2025-08-20 12:51:27 +02:00
9b65b94b69 Accepting request 1299133 from Virtualization
- Fix build issues due to Python version:
  * mkvenv: Support pip 25.2 (bsc#1247972)
- Bug and CVE fixes:
  * tests: Avoid dependency on padding on signal messages (boo#1246830)
  * pcie_sriov: Fix configuration and state synchronization (bsc#1246992 CVE-2025-54566 CVE-2025-54567)
  * [openSUSE][RPM] linux-user: restart systemd-binfmt upon changes (bsc#1247443)
- Update to stable release 10.0.3:
  Full list of backports here:
   https://lore.kernel.org/qemu-devel/1748499690.323471.13081.nullmailer@localhost/
    
  A selection of them is reported here too:
   hvf: arm: Emulate ICC_RPR_EL1 accesses properly
   target/arm: Correct encoding of Debug Communications Channel registers
   ui: fix setting client_endian field defaults
   hw/net/npcm_gmac.c: Send the right data for second packet in a row
   target/i386: do not expose ARCH_CAPABILITIES on AMD CPU
   i386/cpu: Honor maximum value for CPUID.8000001DH.EAX[25:14]
   i386/cpu: Fix overflow of cache topology fields in CPUID.04H
   i386/cpu: Fix cpu number overflow in CPUID.01H.EBX[23:16]
   ui/vnc: Do not copy z_stream
   vhost: Fix used memslot tracking when destroying a vhost device
   roms: re-remove execute bit from hppa-firmware*
   file-posix: Fix aio=threads performance regression after enablign FUA
   amd_iommu: Fix truncation of oldval in amdvi_writeq
   amd_iommu: Remove duplicated definitions
   amd_iommu: Fix the calculation for Device Table size
   amd_iommu: Fix mask to retrieve Interrupt Table Root Pointer from DTE
   amd_iommu: Fix masks for various IOMMU MMIO Registers
   amd_iommu: Update bitmasks representing DTE reserved fields
   amd_iommu: Fix Device ID decoding for INVALIDATE_IOTLB_PAGES command
   amd_iommu: Fix Miscellaneous Information Register 0 encoding
   virtio-net: Add queues for RSS during migration
   net: fix buffer overflow in af_xdp_umem_create()
   accel/kvm: Adjust the note about the minimum required kernel version
   ...

OBS-URL: https://build.opensuse.org/request/show/1299133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=296
2025-08-13 14:23:40 +00:00
641665e963 - Properly update to 10.0.3
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=906
2025-08-12 12:49:35 +00:00
cc22329760 - Bug and CVE fixes:
* tests: Avoid dependency on padding on signal messages (boo#1246830)
  * pcie_sriov: Fix configuration and state synchronization (bsc#1246992 CVE-2025-54566 CVE-2025-54567)
  * [openSUSE][RPM] linux-user: restart systemd-binfmt upon changes (bsc#1247443)

- Update to stable release 10.0.3:
  Full list of backports here:
   https://lore.kernel.org/qemu-devel/1748499690.323471.13081.nullmailer@localhost/
    
  A selection of them is reported here too:
   hvf: arm: Emulate ICC_RPR_EL1 accesses properly
   target/arm: Correct encoding of Debug Communications Channel registers
   ui: fix setting client_endian field defaults
   hw/net/npcm_gmac.c: Send the right data for second packet in a row
   target/i386: do not expose ARCH_CAPABILITIES on AMD CPU
   i386/cpu: Honor maximum value for CPUID.8000001DH.EAX[25:14]
   i386/cpu: Fix overflow of cache topology fields in CPUID.04H
   i386/cpu: Fix cpu number overflow in CPUID.01H.EBX[23:16]
   ui/vnc: Do not copy z_stream
   vhost: Fix used memslot tracking when destroying a vhost device
   roms: re-remove execute bit from hppa-firmware*
   file-posix: Fix aio=threads performance regression after enablign FUA
   amd_iommu: Fix truncation of oldval in amdvi_writeq
   amd_iommu: Remove duplicated definitions
   amd_iommu: Fix the calculation for Device Table size
   amd_iommu: Fix mask to retrieve Interrupt Table Root Pointer from DTE
   amd_iommu: Fix masks for various IOMMU MMIO Registers
   amd_iommu: Update bitmasks representing DTE reserved fields
   amd_iommu: Fix Device ID decoding for INVALIDATE_IOTLB_PAGES command
   amd_iommu: Fix Miscellaneous Information Register 0 encoding
   virtio-net: Add queues for RSS during migration
   net: fix buffer overflow in af_xdp_umem_create()
   accel/kvm: Adjust the note about the minimum required kernel version
   ...

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=905
2025-08-12 09:12:23 +00:00
8c748b56f4 Accepting request 1295241 from Virtualization
- Fix bsc#1246566:
  * [roms] seabios: include "pciinit: don't misalign large BARs" (bsc#1246566)

OBS-URL: https://build.opensuse.org/request/show/1295241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=295
2025-07-24 16:34:42 +00:00
87620a5b0a - Fix bsc#1246566:
* [roms] seabios: include "pciinit: don't misalign large BARs" (bsc#1246566)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=903
2025-07-23 07:34:17 +00:00
8f727e04b4 Accepting request 1287166 from Virtualization
- Add Live migration support for QEMU-emulated AMD IOMMU (jsc#PED-13144):
  * hw/i386/amd_iommu: Allow migration when explicitly create the AMDVI-PCI device (jsc#PED-PED-13144)
  * hw/i386/amd_iommu: Isolate AMDVI-PCI from amd-iommu device to allow full control over the PCI device creation (jsc#PED-13144)

OBS-URL: https://build.opensuse.org/request/show/1287166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=294
2025-06-23 12:50:43 +00:00
5efdacd364 - Add Live migration support for QEMU-emulated AMD IOMMU (jsc#PED-13144):
* hw/i386/amd_iommu: Allow migration when explicitly create the AMDVI-PCI device (jsc#PED-PED-13144)
  * hw/i386/amd_iommu: Isolate AMDVI-PCI from amd-iommu device to allow full control over the PCI device creation (jsc#PED-13144)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=901
2025-06-20 09:35:27 +00:00
df865dfb11 Accepting request 1284889 from Virtualization
- Update to stable release 10.0.2:
  Full list of backports here:
   https://lore.kernel.org/qemu-devel/1748499690.323471.13081.nullmailer@localhost/
    
  A selection of them is reported here too:
   Revert "Drop support for Python 3.8"
   Update version for 10.0.1 release
   Drop support for Python 3.8
   target/hppa: Fix FPE exceptions
   linux-user/hppa: Send proper si_code on SIGFPE exception
   target/hppa: Copy instruction code into fr1 on FPU assist fault
   migration: Allow caps to be set when preempt or multifd cap enabled
   migration/multifd: Don't send device state packets with zerocopy flag
   qapi/misc-target: Fix the doc to distinguish query-sgx and query-sgx-capabilities
   hw/pci-host: Remove unused pci_host_data_be_ops
   hw/pci-host/gt64120: Fix endianness handling
   i386/hvf: Make CPUID_HT supported
   i386/tcg: Make CPUID_HT and CPUID_EXT3_CMP_LEG supported
   target/riscv/kvm: do not read unavailable CSRs
   target/riscv/kvm: add kvm_csr_cfgs[]
   target/riscv/kvm: turn kvm_riscv_reg_id_ulong() into a macro
   target/riscv/kvm: turn u32/u64 reg functions into macros
   target/riscv/kvm: fix leak in kvm_riscv_init_multiext_cfg()
   target/riscv/kvm: minor fixes/tweaks
   target/riscv: Fix vslidedown with rvv_ta_all_1s
   target/riscv: Fix the rvv reserved encoding of unmasked instructions
   ...

OBS-URL: https://build.opensuse.org/request/show/1284889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=293
2025-06-12 13:47:46 +00:00
aab637b8d4 - Update to stable release 10.0.2:
Full list of backports here:
   https://lore.kernel.org/qemu-devel/1748499690.323471.13081.nullmailer@localhost/
    
  A selection of them is reported here too:
   Revert "Drop support for Python 3.8"
   Update version for 10.0.1 release
   Drop support for Python 3.8
   target/hppa: Fix FPE exceptions
   linux-user/hppa: Send proper si_code on SIGFPE exception
   target/hppa: Copy instruction code into fr1 on FPU assist fault
   migration: Allow caps to be set when preempt or multifd cap enabled
   migration/multifd: Don't send device state packets with zerocopy flag
   qapi/misc-target: Fix the doc to distinguish query-sgx and query-sgx-capabilities
   hw/pci-host: Remove unused pci_host_data_be_ops
   hw/pci-host/gt64120: Fix endianness handling
   i386/hvf: Make CPUID_HT supported
   i386/tcg: Make CPUID_HT and CPUID_EXT3_CMP_LEG supported
   target/riscv/kvm: do not read unavailable CSRs
   target/riscv/kvm: add kvm_csr_cfgs[]
   target/riscv/kvm: turn kvm_riscv_reg_id_ulong() into a macro
   target/riscv/kvm: turn u32/u64 reg functions into macros
   target/riscv/kvm: fix leak in kvm_riscv_init_multiext_cfg()
   target/riscv/kvm: minor fixes/tweaks
   target/riscv: Fix vslidedown with rvv_ta_all_1s
   target/riscv: Fix the rvv reserved encoding of unmasked instructions
   ...

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=899
2025-06-11 12:38:05 +00:00
a4ce325b1e Accepting request 1282885 from Virtualization
- Continue trying to fix building with GCC15:
  * roms/edk2: continue to try fixing building with GCC15 (bsc#1241473)
  * roms/ipxe: fix building with GCC15 (bsc#1241473)

OBS-URL: https://build.opensuse.org/request/show/1282885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=292
2025-06-06 20:35:32 +00:00
709b70e076 - Backport patches for edk2 too:
* roms/edk2: continue to try fixing building with GCC15 (bsc#1241473)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=897
2025-06-04 13:19:07 +00:00
312bc986f3 - Continue trying to fix building with GCC15:
* roms/ipxe: fix building with GCC15 (bsc#1241473)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=896
2025-06-04 07:11:14 +00:00
98e2b9c594 Accepting request 1280947 from Virtualization
- Fix building opensbi with gcc-15:
  * [openSUSE] Fix bsc#1241473 (in opensbi)
- Fixes for bsc#1241240 and bsc#1243585:
  * vfio/spapr: Fix L2 crash with PCI device passthrough and memory > 128G (bsc#1241240)
  * vfio/spapr: Enhance error handling in vfio_spapr_create_window() (bsc#1241240)
  * tests/functional: Use -no-shutdown in the hppa_seabios test (bsc#1243585)

OBS-URL: https://build.opensuse.org/request/show/1280947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=291
2025-05-30 12:22:16 +00:00
e6aaf38f0f - Fix building opensbi with gcc-15:
* [openSUSE] Fix bsc#1241473 (in opensbi)

- Fixes for bsc#1241240 and bsc#1243585:
  * vfio/spapr: Fix L2 crash with PCI device passthrough and memory > 128G (bsc#1241240)
  * vfio/spapr: Enhance error handling in vfio_spapr_create_window() (bsc#1241240)
  * tests/functional: Use -no-shutdown in the hppa_seabios test (bsc#1243585)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=894
2025-05-28 13:38:11 +00:00
add5536c76 Accepting request 1275616 from Virtualization
- Update to latest stable release (10.0.0)
  Full changelog here:
   https://wiki.qemu.org/ChangeLog/10.0
  Highlights include:
  * block: virtio-scsi multiqueue support for using different I/O threads
    to process requests for each queue (similar to the virtio-blk multiqueue
    support that was added in QEMU 9.2)
  * VFIO: improved support for IGD passthrough on all Intel Gen 11/12
    devices
  * Documentation: significant improvement/overhaul of documentation for
    QEMU Machine Protocol to make it clearer and more organized, including
    all commands/events/types now being cross-reference-able via click-able
    links in generated documentation
  * ARM: emulation support for EL2 physical and virtual timers
  * ARM: emulation support for FEAT_AFP, FEAT_RPRES, and FEAT_XS
    architecture features
  * ARM: new board models for NPCM8445 Evaluation and i.MX 8M Plus EVK
    boards
  * HPPA: new SeaBIOS-hppa version 18 with lots of fixes and enhancements
  * HPPA: translation speed and virtual CPU reset improvements
  * HPPA: emulation support for Diva GSP BMC boards
  * LoongArch: support for CPU hotplug, paravirtual IPIs, KVM steal time
    accounting, and virtual 'extioi' interrupt routing.
  * RISC-V: ISA/extension support for riscv-iommu-sys devices, 'svukte',
    'ssstateen', 'smrnmi', 'smdbltrp'/'ssdbltrp', 'supm'/'sspm', and
    IOMMU translation tags
  * RISC-V: emulation support for Ascalon and RV64 Xiangshan Nanhu CPUs,
    and Microblaze V boards.
  * s390x: add CPU model support for the generation 17 mainframe CPU
  * s930x: add support for virtio-mem and for bypassing IOMMU to improve
    PCI device performance
  * x86: CPU model support for Clearwater Forest and Sierra Forest v2
  * x86: faster emulation of string instructions
  * and lots more...
  Have a look at the list of deprecated features too, especially if you're
  still interested in using 32bits systems as hosts:
  * https://qemu-project.gitlab.io/qemu/about/deprecated.html
- Post-update improvements and fixes:
  * [openSUSE]: fix SLOF not building with gcc15 (bsc#1241473)
  * [openSUSE][RPM]: *.spec: improve the %check phases
  * docs: Don't define duplicate label in qemu-block-drivers.rst.inc
  * [openSUSE] tests: workaround expected failures of func-x86_64-mem_addr_space
  * [openSUSE]: tests/functional increase the timeout of func_hppa_seabios
  * [openSUSE] tests/unit increase the timeouts for tlssession tests

OBS-URL: https://build.opensuse.org/request/show/1275616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=290
2025-05-09 16:39:36 +00:00
251dcbeb5a - Fix typo in qemu.changes
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=892
2025-05-08 14:54:37 +00:00
2b89d31fc6 - Update to latest stable release (10.0.0)
Full changelog here:
   https://wiki.qemu.org/ChangeLog/10.0
  Highlights include:
  * block: virtio-scsi multiqueue support for using different I/O threads
    to process requests for each queue (similar to the virtio-blk multiqueue
    support that was added in QEMU 9.2)
  * VFIO: improved support for IGD passthrough on all Intel Gen 11/12
    devices
  * Documentation: significant improvement/overhaul of documentation for
    QEMU Machine Protocol to make it clearer and more organized, including
    all commands/events/types now being cross-reference-able via click-able
    links in generated documentation
  * ARM: emulation support for EL2 physical and virtual timers
  * ARM: emulation support for FEAT_AFP, FEAT_RPRES, and FEAT_XS
    architecture features
  * ARM: new board models for NPCM8445 Evaluation and i.MX 8M Plus EVK
    boards
  * HPPA: new SeaBIOS-hppa version 18 with lots of fixes and enhancements
  * HPPA: translation speed and virtual CPU reset improvements
  * HPPA: emulation support for Diva GSP BMC boards
  * LoongArch: support for CPU hotplug, paravirtual IPIs, KVM steal time
    accounting, and virtual 'extioi' interrupt routing.
  * RISC-V: ISA/extension support for riscv-iommu-sys devices, 'svukte',
    'ssstateen', 'smrnmi', 'smdbltrp'/'ssdbltrp', 'supm'/'sspm', and
    IOMMU translation tags
  * RISC-V: emulation support for Ascalon and RV64 Xiangshan Nanhu CPUs,
    and Microblaze V boards.
  * s390x: add CPU model support for the generation 17 mainframe CPU
  * s930x: add support for virtio-mem and for bypassing IOMMU to improve
    PCI device performance
  * x86: CPU model support for Clearwater Forest and Sierra Forest v2
  * x86: faster emulation of string instructions
  * and lots more...
  Have a look at the list of deprecated features too, especially if you're
  still interested in using 32bits systems as hosts:
  * https://qemu-project.gitlab.io/qemu/about/deprecated.html
- Post-update improvements and fixes:
  * [openSUSE]: fix SLOF not building with gcc15 (bsc#1241473)
  * [openSUSE][RPM]: *.spec: improve the %check phases
  * docs: Don't define duplicate label in qemu-block-drivers.rst.inc
  * [openSUSE] tests: workaround expected failures of func-x86_64-mem_addr_space
  * [openSUSE]: tests/functional increase the timeout of func_hppa_seabios
  * [openSUSE] tests/unit increase the timeouts for tlssession tests

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=891
2025-05-08 14:47:19 +00:00
9f1b503376 Accepting request 1268741 from Virtualization
- all glib2 versions are recent enough to use pcre2:
  * qemu-linux-user: drop pcre (by Andreas Stieger)
- Correct wrong bug mentioned in changelog (bsc#1236329)

OBS-URL: https://build.opensuse.org/request/show/1268741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=289
2025-04-15 14:38:44 +00:00
5b15fe540c - all glib2 versions are recent enough to use pcre2:
* qemu-linux-user: drop pcre (by Andreas Stieger)
- Correct wrong bug mentioned in changelog (bsc#1236329)
  Fixes: bsc#1236329
  * xen: No need to flush the mapcache for grants (bsc#1236329)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=889
2025-04-12 02:25:53 +00:00
754b53c179 Accepting request 1266451 from Virtualization
- Update to latest stable release (9.2.3)
  Full backport list here:
   https://lore.kernel.org/qemu-devel/44124379-3349-45cf-9238-8a847d8b2770@tls.msk.ru/
  Fixes: bsc#1240005
  Highlights include:
  * hw/intc/aspeed: Fix IRQ handler mask check
  * hw/misc/aspeed_hace: Fix buffer overflow in has_padding function
  * target/riscv: fix handling of nop for vstart >= vl in some vector instruction
  * target/riscv: refactor VSTART_CHECK_EARLY_EXIT() to accept vl as a parameter
  * Makefile: "make dist" generates a .xz, not .bz2
  * target/ppc: Fix e200 duplicate SPRs
  * target/ppc: Fix facility interrupt checks for VSX
  * ppc/spapr: fix default cpu for pre-9.0 machines.
  * host/include/loongarch64: Fix inline assembly compatibility with Clang
  * linux-user/riscv: Fix handling of cpu mask in riscv_hwprobe syscall
  * target/riscv: fixes a bug against `ssamoswap` behavior in M-mode
  * target/riscv: fix access permission checks for CSR_SSP
  * docs/about/emulation: Fix broken link
  * vdpa: Allow vDPA to work on big-endian machine
  * vdpa: Fix endian bugs in shadow virtqueue
  * target/loongarch: Fix vldi inst
  * target/arm: Simplify pstate_sm check in sve_access_check
  * target/arm: Make DisasContext.{fp, sve}_access_checked tristate
  * util/cacheflush: Make first DSB unconditional on aarch64
  * docs: Rename default-configs to configs
  * block: Zero block driver state before reopening
  * hw/xen/hvm: Fix Aarch64 typo
  * hw/net/smc91c111: Don't allow data register access to overrun buffer
  * hw/net/smc91c111: Sanitize packet length on tx
  * hw/net/smc91c111: Sanitize packet numbers
  * ppc/pnv/occ: Fix common area sensor offsets
  * xen: No need to flush the mapcache for grants (bsc#1240005)
  * net: move backend cleanup to NIC cleanup
  * net: parameterize the removing client from nc list
  * util/qemu-timer.c: Don't warp timer from timerlist_rearm()
  * target/arm: Correct STRD atomicity
  * target/arm: Correct LDRD atomicity and fault behaviour
  * hw/arm: enable secure EL2 timers for sbsa machine
  * hw/arm: enable secure EL2 timers for virt machine
  * target/arm: Implement SEL2 physical and virtual timers
  * ...
- Fix bsc#1240157:
  * [openSUSE][RPM] spec: Require ipxe and virtio-gpu packages for more arch-es

OBS-URL: https://build.opensuse.org/request/show/1266451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=288
2025-04-03 16:40:49 +00:00
35a6b999bd - Upload the correct obscpio archive
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=887
2025-04-02 09:55:27 +00:00
1f52559f34 - Update to latest stable release (9.2.3)
Full backport list here:
   https://lore.kernel.org/qemu-devel/44124379-3349-45cf-9238-8a847d8b2770@tls.msk.ru/
  Fixes: bsc#1240005
  Highlights include:
  * hw/intc/aspeed: Fix IRQ handler mask check
  * hw/misc/aspeed_hace: Fix buffer overflow in has_padding function
  * target/riscv: fix handling of nop for vstart >= vl in some vector instruction
  * target/riscv: refactor VSTART_CHECK_EARLY_EXIT() to accept vl as a parameter
  * Makefile: "make dist" generates a .xz, not .bz2
  * target/ppc: Fix e200 duplicate SPRs
  * target/ppc: Fix facility interrupt checks for VSX
  * ppc/spapr: fix default cpu for pre-9.0 machines.
  * host/include/loongarch64: Fix inline assembly compatibility with Clang
  * linux-user/riscv: Fix handling of cpu mask in riscv_hwprobe syscall
  * target/riscv: fixes a bug against `ssamoswap` behavior in M-mode
  * target/riscv: fix access permission checks for CSR_SSP
  * docs/about/emulation: Fix broken link
  * vdpa: Allow vDPA to work on big-endian machine
  * vdpa: Fix endian bugs in shadow virtqueue
  * target/loongarch: Fix vldi inst
  * target/arm: Simplify pstate_sm check in sve_access_check
  * target/arm: Make DisasContext.{fp, sve}_access_checked tristate
  * util/cacheflush: Make first DSB unconditional on aarch64
  * docs: Rename default-configs to configs
  * block: Zero block driver state before reopening
  * hw/xen/hvm: Fix Aarch64 typo
  * hw/net/smc91c111: Don't allow data register access to overrun buffer
  * hw/net/smc91c111: Sanitize packet length on tx
  * hw/net/smc91c111: Sanitize packet numbers
  * ppc/pnv/occ: Fix common area sensor offsets
  * xen: No need to flush the mapcache for grants (bsc#1240005)
  * net: move backend cleanup to NIC cleanup
  * net: parameterize the removing client from nc list
  * util/qemu-timer.c: Don't warp timer from timerlist_rearm()
  * target/arm: Correct STRD atomicity
  * target/arm: Correct LDRD atomicity and fault behaviour
  * hw/arm: enable secure EL2 timers for sbsa machine
  * hw/arm: enable secure EL2 timers for virt machine
  * target/arm: Implement SEL2 physical and virtual timers
  * ...
- Fix bsc#1240157:
  * [openSUSE][RPM] spec: Require ipxe and virtio-gpu packages for more arch-es

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=886
2025-04-02 07:15:28 +00:00
0bd26752d9 Accepting request 1249331 from Virtualization
- Update to latest upstream release, 9.2.2:
  The full list of changes are available at:
   https://lore.kernel.org/qemu-devel/3e847ae0-8dfc-440e-92f7-6eaa89818837@tls.msk.ru/
  Highlights include:
  * net/slirp: libslirp 4.9.0 compatibility
  * target/sparc: Fix gdbstub incorrectly handling registers f32-f62
  * target/sparc: Fix register selection for all F*TOx and FxTO* instructions
  * elfload: Fix alignment when unmapping excess reservation
  * hw/net/smc91c111: Ignore attempt to pop from empty RX fifo
  * make-release: don't rely on $CWD when excluding subproject directories
  * ui/sdl2: reenable the SDL2 Windows keyboard hook procedure
  * vfio/iommufd: Fix SIGSEV in iommufd_cdev_attach()
  * gitlab-ci.d/cirrus: Update the FreeBSD job to v14.2
  * qmp: update vhost-user protocol feature maps
  * linux-user: Do not define struct sched_attr if libc headers do
  * block-backend: Fix argument order when calling 'qapi_event_send_block_io_error()'
  * block: Fix leak in send_qmp_error_event
  * rust: add --rust-target option for bindgen
  * ...
- Fix bsc#1237603:
  * linux-user: Do not define struct sched_attr if libc headers do

OBS-URL: https://build.opensuse.org/request/show/1249331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=287
2025-03-02 11:17:33 +00:00
385f84b9cd - Update to latest upstream release, 9.2.2:
The full list of changes are available at:
   https://lore.kernel.org/qemu-devel/3e847ae0-8dfc-440e-92f7-6eaa89818837@tls.msk.ru/
  Highlights include:
  * net/slirp: libslirp 4.9.0 compatibility
  * target/sparc: Fix gdbstub incorrectly handling registers f32-f62
  * target/sparc: Fix register selection for all F*TOx and FxTO* instructions
  * elfload: Fix alignment when unmapping excess reservation
  * hw/net/smc91c111: Ignore attempt to pop from empty RX fifo
  * make-release: don't rely on $CWD when excluding subproject directories
  * ui/sdl2: reenable the SDL2 Windows keyboard hook procedure
  * vfio/iommufd: Fix SIGSEV in iommufd_cdev_attach()
  * gitlab-ci.d/cirrus: Update the FreeBSD job to v14.2
  * qmp: update vhost-user protocol feature maps
  * linux-user: Do not define struct sched_attr if libc headers do
  * block-backend: Fix argument order when calling 'qapi_event_send_block_io_error()'
  * block: Fix leak in send_qmp_error_event
  * rust: add --rust-target option for bindgen
  * ...
- Fix bsc#1237603:
  * linux-user: Do not define struct sched_attr if libc headers do

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=884
2025-02-28 15:56:14 +00:00
143a33a074 Accepting request 1245591 from Virtualization
- Fix bsc#1228343:
  * tests/acpi: q35: Update host address width in DMAR (bsc#1228343)
  * intel_iommu: Set default aw_bits to 48 starting from QEMU 9.2 (bsc#1228343)
  * tests/acpi: q35: allow DMAR acpi table changes (bsc#1228343)
- Full boot order support (jsc#PED-958):
  * pc-bios: Update the s390 bios images with the recent changes (jsc#PED-958)
  * pc-bios/s390-ccw: Abort IPL on invalid loadparm (jsc#PED-958)
  * pc-bios/s390-ccw/netmain: Fix error messages with regards to the TFTP server (jsc#PED-958)
  * pc-bios/s390-ccw: Fix boot problem with virtio-net devices (jsc#PED-958)
  * pc-bios/s390-ccw/virtio: Add a function to reset a virtio device (jsc#PED-958)
  * hw/s390x: Fix crash that occurs when inspecting older versioned machines types (jsc#PED-958)
- Update to latest upstream release, 9.2.1:
  The full list of changes are available at:
   https://lore.kernel.org/qemu-devel/qemu-stable-9.2.1-20250207102656@cover.tls.msk.ru/
  Highlights include:
  * 9pfs: fix regression regarding CVE-2023-2861
  * tcg: Reset free_temps before tcg_optimize
  * tcg/riscv: Fix StoreStore barrier generation
  * x86/loader: only patch linux kernels
  * roms: re-add edk2-basetools target
  * pc-bios: add missing riscv64 descriptor
  * hw/intc/arm_gicv3_its: Zero initialize local DTEntry etc structs
  * meson.build: Disallow libnfs v6 to fix the broken macOS build
  * target/i386: Reset TSCs of parked vCPUs too on VM reset
  * hw/intc/riscv_aplic: Fix APLIC in_clrip and clripnum write emulation
  * s390x/s390-virtio-ccw: don't crash on weird RAM sizes
  * target/loongarch: Use actual operand size with vbsrl check
  * docs: Correct '-runas' and '-fsdev/-virtfs proxy' indentation
  * docs: Correct release of TCG trace-events removal
  * target/i386/cpu: Fix notes for CPU models
  * migration/multifd: Fix compile error caused by page_size usage
  * migration/multifd: Fix compat with QEMU < 9.0
  * migration: Add more error handling to analyze-migration.py
  * migration: Remove unused argument in vmsd_desc_field_end
  * migration: Fix parsing of s390 stream
  * s390x: Fix CSS migration
  * migration: Rename vmstate_info_nullptr
  * ...

OBS-URL: https://build.opensuse.org/request/show/1245591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=286
2025-02-14 18:15:02 +00:00
60320495d5 - Add the proper archive
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=882
2025-02-12 16:40:07 +00:00
57039651a1 - Fix bsc#1228343:
* tests/acpi: q35: Update host address width in DMAR (bsc#1228343)
  * intel_iommu: Set default aw_bits to 48 starting from QEMU 9.2 (bsc#1228343)
  * tests/acpi: q35: allow DMAR acpi table changes (bsc#1228343)
- Full boot order support (jsc#PED-958):
  * pc-bios: Update the s390 bios images with the recent changes (jsc#PED-958)
  * pc-bios/s390-ccw: Abort IPL on invalid loadparm (jsc#PED-958)
  * pc-bios/s390-ccw/netmain: Fix error messages with regards to the TFTP server (jsc#PED-958)
  * pc-bios/s390-ccw: Fix boot problem with virtio-net devices (jsc#PED-958)
  * pc-bios/s390-ccw/virtio: Add a function to reset a virtio device (jsc#PED-958)
  * hw/s390x: Fix crash that occurs when inspecting older versioned machines types (jsc#PED-958)
- Update to latest upstream release, 9.2.1:
  The full list of changes are available at:
   https://lore.kernel.org/qemu-devel/qemu-stable-9.2.1-20250207102656@cover.tls.msk.ru/
  Highlights include:
  * 9pfs: fix regression regarding CVE-2023-2861
  * tcg: Reset free_temps before tcg_optimize
  * tcg/riscv: Fix StoreStore barrier generation
  * x86/loader: only patch linux kernels
  * roms: re-add edk2-basetools target
  * pc-bios: add missing riscv64 descriptor
  * hw/intc/arm_gicv3_its: Zero initialize local DTEntry etc structs
  * meson.build: Disallow libnfs v6 to fix the broken macOS build
  * target/i386: Reset TSCs of parked vCPUs too on VM reset
  * hw/intc/riscv_aplic: Fix APLIC in_clrip and clripnum write emulation
  * s390x/s390-virtio-ccw: don't crash on weird RAM sizes
  * target/loongarch: Use actual operand size with vbsrl check
  * docs: Correct '-runas' and '-fsdev/-virtfs proxy' indentation
  * docs: Correct release of TCG trace-events removal
  * target/i386/cpu: Fix notes for CPU models
  * migration/multifd: Fix compile error caused by page_size usage
  * migration/multifd: Fix compat with QEMU < 9.0
  * migration: Add more error handling to analyze-migration.py
  * migration: Remove unused argument in vmsd_desc_field_end
  * migration: Fix parsing of s390 stream
  * s390x: Fix CSS migration
  * migration: Rename vmstate_info_nullptr
  * ...

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=881
2025-02-12 16:16:34 +00:00
e8161766e5 Accepting request 1243232 from Virtualization
- Fix bsc#1235709:
  * target/s390x: Fix MVC not always invalidating translation blocks

OBS-URL: https://build.opensuse.org/request/show/1243232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=285
2025-02-07 21:50:21 +00:00
eb6c694e5e - Fix bsc#1235709:
* target/s390x: Fix MVC not always invalidating translation blocks

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=879
2025-02-05 01:33:15 +00:00
97df9f691a Accepting request 1239873 from Virtualization
- CPU model for new IBM Z HW (jsc#PED-10266):
  * s390x/cpumodel: gen17 model
  * s390x/cpumodel: Add PLO-extension facility
  * s390x/cpumodel: correct PLO feature wording
  * s390x/cpumodel: Add Sequential-Instruction-Fetching facility
  * s390x/cpumodel: add Ineffective-nonconstrained-transaction facility
  * s390x/cpumodel: add Vector-Packed-Decimal-Enhancement facility 3
  * s390x/cpumodel: add Miscellaneous-Instruction-Extensions Facility 4
  * s390x/cpumodel: add Vector Enhancements facility 3
  * s390x/cpumodel: add Concurrent-functions facility support
  * linux-headers: Update to Linux 6.13-rc1
  * s390x/cpumodel: Add ptff Query Time-Stamp Event (QTSE) support
  * s390x/cpumodel: add msa13 subfunctions
  * s390x/cpumodel: add msa12 changes
  * s390x/cpumodel: add msa11 subfunctions
  * s390x/cpumodel: add msa10 subfunctions
- Build properly with the latest version of Sphinx:
  * [openSUSE][RPM] Fix the build with the latest Sphinx

OBS-URL: https://build.opensuse.org/request/show/1239873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=284
2025-01-23 16:57:25 +00:00
7a3dd379dc - CPU model for new IBM Z HW (jsc#PED-10266):
* s390x/cpumodel: gen17 model
  * s390x/cpumodel: Add PLO-extension facility
  * s390x/cpumodel: correct PLO feature wording
  * s390x/cpumodel: Add Sequential-Instruction-Fetching facility
  * s390x/cpumodel: add Ineffective-nonconstrained-transaction facility
  * s390x/cpumodel: add Vector-Packed-Decimal-Enhancement facility 3
  * s390x/cpumodel: add Miscellaneous-Instruction-Extensions Facility 4
  * s390x/cpumodel: add Vector Enhancements facility 3
  * s390x/cpumodel: add Concurrent-functions facility support
  * linux-headers: Update to Linux 6.13-rc1
  * s390x/cpumodel: Add ptff Query Time-Stamp Event (QTSE) support
  * s390x/cpumodel: add msa13 subfunctions
  * s390x/cpumodel: add msa12 changes
  * s390x/cpumodel: add msa11 subfunctions
  * s390x/cpumodel: add msa10 subfunctions

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=877
2025-01-23 12:08:32 +00:00
e6d383156f - Build properly with the latest version of Sphinx:
* [openSUSE][RPM] Fix the build with the latest Sphinx

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=876
2025-01-22 15:34:22 +00:00
4c349e7ccc Accepting request 1232880 from Virtualization
- 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/request/show/1232880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=283
2024-12-22 16:59:00 +00:00
2fad4b8ef1 - Fix the build of qemu-linux-user
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=874
2024-12-20 09:39:10 +00:00
7d9ca39f9c - Add the proper sources and remove the old ones
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=873
2024-12-20 08:32:50 +00:00
7c86d6b1e5 - 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
2024-12-20 08:08:27 +00:00
13b31e1075 Accepting request 1229953 from Virtualization
- Fix bsc#1232712. The problem must be addressed upstream. This is
  only a temporary measure, that should be reverted as soon as
  possible:
  * Revert "ui/curses: Do not use console_select()" (bsc#1232712)
  * Revert "hw/xen: Register framebuffer backend via xen_backend_init()" (bsc#1232712)

OBS-URL: https://build.opensuse.org/request/show/1229953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=282
2024-12-13 21:28:05 +00:00
12953df44a - Fix bsc#1232712. The problem must be addressed upstream. This is
only a temporary measure, that should be reverted as soon as
  possible:
  * Revert "ui/curses: Do not use console_select()" (bsc#1232712)
  * Revert "hw/xen: Register framebuffer backend via xen_backend_init()" (bsc#1232712)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=870
2024-12-10 18:03:13 +00:00
b59502d6d4 Accepting request 1226796 from Virtualization
- Fix bsc#1233530:
  * docs: use consistent markup for footnotes (bsc#1233530)
  * docs: avoid footnotes consisting of just URLs (bsc#1233530)
  * docs: fix invalid footnote syntax (bsc#1233692)
- Fix bsc#1233530:
  * scsi: megasas: Internal cdbs have 16-byte length (bsc#1233530)
- Fix bsc#1221812, bsc#1232283, bsc#1230978:
  * [openSUSE] block: Move qcow2 invalidation query-block op_blocker
- Update to version 9.1.2:
  Full changelog here:
   https://lore.kernel.org/qemu-devel/21ba2773-11a6-45ad-bf98-9b5c2cdccb9b@tls.msk.ru/
  Some of the most notable features:
   * usb-hub: Fix handling port power control messages
   *  hw/audio/hda: fix memory leak on audio setup
   *  Revert "hw/audio/hda: fix memory leak on audio setup" (bsc#1232728)
   *  hw/misc/mos6522: Fix bad class definition of the MOS6522 device
   *  vfio/container: Fix container object destruction
   *  target/i386: fix hang when using slow path for ptw_setl
   *  tcg: Allow top bit of SIMD_DATA_BITS to be set in simd_desc()
   *  linux-user/arm: Select vdso for be8 and be32 modes
   *  linux-user/arm: Reduce vdso alignment to 4k
   *  linux-user: Tolerate CONFIG_LSM_MMAP_MIN_ADDR
   *  accel/tcg: Fix user-only probe_access_internal plugin check
   *  target/arm: Drop user-only special case in sve_stN_r
   *  linux-user: Fix setreuid and setregid to use direct syscalls
   *  hw/i386/pc: Don't try to init PCI NICs if there is no PCI bus
   *  target/i386: Fix legacy page table walk
   *  9pfs: fix crash on 'Treaddir' request
   *  hw/nvme: fix handling of over-committed queues
   *  migration: Ensure vmstate_save() sets errp
   *  target/arm: Fix SVE SDOT/UDOT/USDOT (4-way, indexed)
   *  target/arm: Add new MMU indexes for AArch32 Secure PL1&0
   *  Revert "target/arm: Fix usage of MMU indexes when EL3 is AArch32"
   *  acpi/disassemle-aml.sh: fix up after dir reorg
   *  hw/acpi: Fix ordering of BDF in Generic Initiator PCI Device Handle.
   *  qemu-ga: Fix a SIGSEGV in ga_run_command() helper
   *  hw/sd/sdcard: Fix calculation of size when using eMMC boot partitions
   *  tests/tcg: Replace -mpower8-vector with -mcpu=power8
   *  hw/ssi/pnv_spi: Fixes Coverity CID 1558831
   *  hw/ssi/pnv_spi: Return early in transfer()
- Build and bug fixes:
  * edk2: update submodule to edk2-stable202408.01
  * Revert "hw/audio/hda: fix memory leak on audio setup" (bsc#1232728)
- Fix bsc#1228079:
  * target/i386: Expose IBPB-BRTYPE and SBPB CPUID bits to the guest (bsc#1228079)
- Add further CPUID bits fixes:
  * target/i386: Expose new feature bits in CPUID 8000_0021_EAX/EBX
  * target/i386: Expose bits related to SRSO vulnerability
  * target/i386: Add PerfMonV2 feature bit
  * target/i386: Fix minor typo in NO_NESTED_DATA_BP feature bit

OBS-URL: https://build.opensuse.org/request/show/1226796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=281
2024-11-27 21:06:25 +00:00
d63ab4919f - Fix bsc#1233530:
* docs: use consistent markup for footnotes (bsc#1233530)
  * docs: avoid footnotes consisting of just URLs (bsc#1233530)
  * docs: fix invalid footnote syntax (bsc#1233692)

- Fix bsc#1233530:
  * scsi: megasas: Internal cdbs have 16-byte length (bsc#1233530)

- Fix bsc#1221812, bsc#1232283, bsc#1230978:
  * [openSUSE] block: Move qcow2 invalidation query-block op_blocker

- Update to version 9.1.2:
  Full changelog here:
   https://lore.kernel.org/qemu-devel/21ba2773-11a6-45ad-bf98-9b5c2cdccb9b@tls.msk.ru/
  Some of the most notable features:
   * usb-hub: Fix handling port power control messages
   *  hw/audio/hda: fix memory leak on audio setup
   *  Revert "hw/audio/hda: fix memory leak on audio setup" (bsc#1232728)
   *  hw/misc/mos6522: Fix bad class definition of the MOS6522 device
   *  vfio/container: Fix container object destruction
   *  target/i386: fix hang when using slow path for ptw_setl
   *  tcg: Allow top bit of SIMD_DATA_BITS to be set in simd_desc()
   *  linux-user/arm: Select vdso for be8 and be32 modes
   *  linux-user/arm: Reduce vdso alignment to 4k
   *  linux-user: Tolerate CONFIG_LSM_MMAP_MIN_ADDR
   *  accel/tcg: Fix user-only probe_access_internal plugin check
   *  target/arm: Drop user-only special case in sve_stN_r
   *  linux-user: Fix setreuid and setregid to use direct syscalls
   *  hw/i386/pc: Don't try to init PCI NICs if there is no PCI bus
   *  target/i386: Fix legacy page table walk
   *  9pfs: fix crash on 'Treaddir' request
   *  hw/nvme: fix handling of over-committed queues
   *  migration: Ensure vmstate_save() sets errp
   *  target/arm: Fix SVE SDOT/UDOT/USDOT (4-way, indexed)
   *  target/arm: Add new MMU indexes for AArch32 Secure PL1&0
   *  Revert "target/arm: Fix usage of MMU indexes when EL3 is AArch32"
   *  acpi/disassemle-aml.sh: fix up after dir reorg
   *  hw/acpi: Fix ordering of BDF in Generic Initiator PCI Device Handle.
   *  qemu-ga: Fix a SIGSEGV in ga_run_command() helper
   *  hw/sd/sdcard: Fix calculation of size when using eMMC boot partitions
   *  tests/tcg: Replace -mpower8-vector with -mcpu=power8
   *  hw/ssi/pnv_spi: Fixes Coverity CID 1558831
   *  hw/ssi/pnv_spi: Return early in transfer()

- Build and bug fixes:
  * edk2: update submodule to edk2-stable202408.01
  * Revert "hw/audio/hda: fix memory leak on audio setup" (bsc#1232728)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=868
2024-11-26 23:51:57 +00:00
3baa14f3d9 Accepting request 1221801 from Virtualization
- Fix bsc#1232617:
  * qemu-ga: Fix a SIGSEGV in ga_run_command() helper (bsc#1232617)

OBS-URL: https://build.opensuse.org/request/show/1221801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=280
2024-11-07 15:24:18 +00:00
689cc938e2 - Fix bsc#1228079:
* target/i386: Expose IBPB-BRTYPE and SBPB CPUID bits to the guest (bsc#1228079)
- Add further CPUID bits fixes:
  * target/i386: Expose new feature bits in CPUID 8000_0021_EAX/EBX
  * target/i386: Expose bits related to SRSO vulnerability
  * target/i386: Add PerfMonV2 feature bit
  * target/i386: Fix minor typo in NO_NESTED_DATA_BP feature bit

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=866
2024-11-07 10:00:57 +00:00
32ff442821 - Fix bsc#1232617:
* qemu-ga: Fix a SIGSEGV in ga_run_command() helper (bsc#1232617)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=865
2024-11-06 14:27:24 +00:00
a6ec246997 Accepting request 1219012 from Virtualization
- Update to latest stable version (9.1.1)
- Bug and security backports

OBS-URL: https://build.opensuse.org/request/show/1219012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=279
2024-10-30 16:30:01 +00:00
96e581bc40 - Update to version 9.1.1:
Full changelog here:
   https://lore.kernel.org/qemu-devel/7f0561ec-3564-4860-bacf-a98071a5ce52@tls.msk.ru/
  Some of the most notable features:
   * ui/dbus: fix filtering all update messages
   * ui/win32: fix potential use-after-free with dbus shared memory
   * ui/dbus: fix leak on message filtering
   * hw/audio/hda: fix memory leak on audio setup
   * hw/audio/hda: free timer on exit
   * hw/char/pl011: Use correct masks for IBRD and FBRD
   * hw/intc/arm_gicv3_cpuif: Add cast to match the documentation
   * hw/intc/arm_gicv3: Add cast to match the documentation
   * hw/intc/arm_gicv3: Add cast to match the documentation
   * meson: ensure -mcx16 is passed when detecting ATOMIC128
   * meson: define qemu_isa_flags
   * meson: fix machine option for x86_version
   * target/m68k: Always return a temporary from gen_lea_mode
   * tcg/ppc: Use TCG_REG_TMP2 for scratch index in prepare_host_addr
   * tcg/ppc: Use TCG_REG_TMP2 for scratch tcg_out_qemu_st
   * linux-user: Fix parse_elf_properties GNU0_MAGIC check
   * linux-user/flatload: Take mmap_lock in load_flt_binary()
   * vnc: fix crash when no console attached
   * testing: bump mips64el cross to bookworm and fix package list
   * hw/sd/sdcard: Fix handling of disabled boot partitions
   * target/arm: Avoid target_ulong for physical address lookups
   * block/reqlist: allow adding overlapping requests
   * util/timer: avoid deadlock when shutting down
   * hw/mips/jazz: fix typo in in-built NIC alias
   * tcg: Fix iteration step in 32-bit gvec operation
   * hw/loongarch/virt: Add description for virt machine type
   * migration/multifd: Fix p->iov leak in multifd-uadk.c
   * target/ppc: Fix migration of CPUs with TLB_EMB TLB type
   * target/hppa: Fix random 32-bit linux-user crashes
   * target/arm: Correct ID_AA64ISAR1_EL1 value for neoverse-v1
   * hw/char/stm32l4x5_usart.c: Enable USART ACK bit response
   * migration/multifd: Fix rb->receivedmap cleanup race
   * mac_dbdma: Remove leftover `dma_memory_unmap` calls

- Fix boo#1231166:
  * [openSUSE][RPM] The qemu translation is not being installed (boo#1231166)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=863
2024-10-29 11:18:22 +00:00
4d87c6e2fd Accepting request 1208480 from Virtualization
- Bug and CVE fixes:
  * softmmu/physmem: fix memory leak in dirty_memory_extend()
  * softmmu: Support concurrent bounce buffers (bsc#1230915, CVE-2024-8612)
  * accel/kvm: check for KVM_CAP_READONLY_MEM on VM (bsc#1231519)
- Fix bsc#1231519 and bsc#1230140:
  * accel/kvm: check for KVM_CAP_READONLY_MEM on VM

OBS-URL: https://build.opensuse.org/request/show/1208480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qemu?expand=0&rev=278
2024-10-18 13:50:00 +00:00
ca9bfecdbc - Bug and CVE fixes:
* softmmu/physmem: fix memory leak in dirty_memory_extend()
  * softmmu: Support concurrent bounce buffers (bsc#1230915, CVE-2024-8612)
  * accel/kvm: check for KVM_CAP_READONLY_MEM on VM (bsc#1231519)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=861
2024-10-16 16:23:41 +00:00
9519f48f60 - Fix bsc#1231519 and bsc#1230140:
* accel/kvm: check for KVM_CAP_READONLY_MEM on VM
  * target/ppc: Fix lxvx/stxvx facility check

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=860
2024-10-15 17:27:01 +00:00
36a347c36a - Update the changelog to cite missing CVEs
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=859
2024-09-17 11:34:41 +00:00
8 changed files with 678 additions and 101 deletions

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/opensuse/qemu.git</param>
<param name="changesrevision">d6950a38c1c779c678bd1f64e8685ddf7af43e53</param></service></servicedata>
<param name="changesrevision">d2104651468e8600e07e5db75cff834999993680</param></service></servicedata>

View File

@@ -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 \\\
@@ -196,6 +198,7 @@ virtualization.
--disable-pixman \\\
--disable-plugins \\\
--disable-png \\\
--disable-pvg \\\
--disable-qcow1 \\\
--disable-qed \\\
--disable-qom-cast-debug \\\
@@ -205,9 +208,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 +223,7 @@ virtualization.
--disable-sparse \\\
--disable-spice \\\
--disable-spice-protocol \\\
--disable-strict-rust-lints \\\
--disable-strip \\\
--disable-system \\\
--disable-tcg \\\
@@ -229,6 +233,7 @@ virtualization.
--disable-tsan \\\
--disable-u2f \\\
--disable-uadk \\\
--disable-ubsan \\\
--disable-usb-redir \\\
--disable-user \\\
--disable-vde \\\

BIN
qemu-10.0.3.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70dcc8717465d0590135ed6c257920d4043e1a9dc502d513e41884dfd98bcbd5
size 850210319

View File

@@ -1,7 +1,7 @@
#
# spec file for package qemu-linux-user
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -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.0
Version: 10.0.3
Release: 0
Source0: qemu-%{version}.tar.xz
Source1: common.inc
@@ -38,7 +38,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison
BuildRequires: glib2-devel-static >= 2.56
BuildRequires: glibc-devel-static
BuildRequires: (pcre-devel-static if glib2-devel-static < 2.73 else pcre2-devel-static)
BuildRequires: pcre2-devel-static
# passing filelist check for /usr/lib/binfmt.d
BuildRequires: systemd
BuildRequires: zlib-devel-static
@@ -69,43 +69,50 @@ syscall layer occurs on the native hardware and operating system.
%files
%doc README.rst VERSION
%license COPYING COPYING.LIB LICENSE
%ifnarch %ix86 armv7hl
%_bindir/qemu-aarch64
%_bindir/qemu-aarch64_be
%_bindir/qemu-alpha
%_bindir/qemu-hppa
%_bindir/qemu-loongarch64
%_bindir/qemu-mips64
%_bindir/qemu-mips64el
%_bindir/qemu-mipsn32
%_bindir/qemu-mipsn32el
%_bindir/qemu-ppc64
%_bindir/qemu-ppc64le
%_bindir/qemu-riscv64
%_bindir/qemu-s390x
%_bindir/qemu-sparc32plus
%_bindir/qemu-sparc64
%_bindir/qemu-x86_64
%endif
%_bindir/qemu-arm
%_bindir/qemu-armeb
%_bindir/qemu-cris
%_bindir/qemu-hexagon
%_bindir/qemu-hppa
%_bindir/qemu-i386
%_bindir/qemu-loongarch64
%_bindir/qemu-m68k
%_bindir/qemu-microblaze
%_bindir/qemu-microblazeel
%_bindir/qemu-mips
%_bindir/qemu-mips64
%_bindir/qemu-mips64el
%_bindir/qemu-mipsel
%_bindir/qemu-mipsn32
%_bindir/qemu-mipsn32el
%_bindir/qemu-or1k
%_bindir/qemu-ppc
%_bindir/qemu-ppc64
%_bindir/qemu-ppc64le
%_bindir/qemu-riscv32
%_bindir/qemu-riscv64
%_bindir/qemu-s390x
%_bindir/qemu-sh4
%_bindir/qemu-sh4eb
%_bindir/qemu-sparc
%_bindir/qemu-sparc32plus
%_bindir/qemu-sparc64
%_bindir/qemu-x86_64
%_bindir/qemu-i386
%_bindir/qemu-xtensa
%_bindir/qemu-xtensaeb
%_sbindir/qemu-binfmt-conf.sh
%_prefix/lib/binfmt.d/qemu-*.conf
%post
/usr/bin/systemctl try-restart systemd-binfmt.service >/dev/null 2>&1 || :
%postun
/usr/bin/systemctl try-restart systemd-binfmt.service >/dev/null 2>&1 || :
%prep
%autosetup -n qemu-%{version} -p1
@@ -210,6 +217,7 @@ cd %blddir
./qemu-%{qemu_arch} %_bindir/ls > /dev/null
%endif
echo "######## Soft Float tests ########"
%make_build check-softfloat
%changelog

View File

@@ -1,3 +1,506 @@
-------------------------------------------------------------------
Tue Aug 12 15:21:42 UTC 2025 - Dario Faggioli <dfaggioli@suse.com>
- Fix build issues due to Python version:
* mkvenv: Support pip 25.2 (bsc#1247972)
-------------------------------------------------------------------
Tue Aug 12 08:28:17 UTC 2025 - Dario Faggioli <dfaggioli@suse.com>
- Bug and CVE fixes:
* tests: Avoid dependency on padding on signal messages (boo#1246830)
* pcie_sriov: Fix configuration and state synchronization (bsc#1246992 CVE-2025-54566 CVE-2025-54567)
* [openSUSE][RPM] linux-user: restart systemd-binfmt upon changes (bsc#1247443)
-------------------------------------------------------------------
Tue Aug 10 10:32:29 UTC 2025 - Dario Faggioli <dfaggioli@suse.com>
- Update to stable release 10.0.3:
Full list of backports here:
https://lore.kernel.org/qemu-devel/1748499690.323471.13081.nullmailer@localhost/
A selection of them is reported here too:
hvf: arm: Emulate ICC_RPR_EL1 accesses properly
target/arm: Correct encoding of Debug Communications Channel registers
ui: fix setting client_endian field defaults
hw/net/npcm_gmac.c: Send the right data for second packet in a row
target/i386: do not expose ARCH_CAPABILITIES on AMD CPU
i386/cpu: Honor maximum value for CPUID.8000001DH.EAX[25:14]
i386/cpu: Fix overflow of cache topology fields in CPUID.04H
i386/cpu: Fix cpu number overflow in CPUID.01H.EBX[23:16]
ui/vnc: Do not copy z_stream
vhost: Fix used memslot tracking when destroying a vhost device
roms: re-remove execute bit from hppa-firmware*
file-posix: Fix aio=threads performance regression after enablign FUA
amd_iommu: Fix truncation of oldval in amdvi_writeq
amd_iommu: Remove duplicated definitions
amd_iommu: Fix the calculation for Device Table size
amd_iommu: Fix mask to retrieve Interrupt Table Root Pointer from DTE
amd_iommu: Fix masks for various IOMMU MMIO Registers
amd_iommu: Update bitmasks representing DTE reserved fields
amd_iommu: Fix Device ID decoding for INVALIDATE_IOTLB_PAGES command
amd_iommu: Fix Miscellaneous Information Register 0 encoding
virtio-net: Add queues for RSS during migration
net: fix buffer overflow in af_xdp_umem_create()
accel/kvm: Adjust the note about the minimum required kernel version
...
-------------------------------------------------------------------
Wed Jul 23 06:34:02 UTC 2025 - Dario Faggioli <dfaggioli@suse.com>
- Fix bsc#1246566:
* [roms] seabios: include "pciinit: don't misalign large BARs" (bsc#1246566)
-------------------------------------------------------------------
Fri Jun 20 05:49:49 UTC 2025 - Dario Faggioli <dfaggioli@suse.com>
- Add Live migration support for QEMU-emulated AMD IOMMU (jsc#PED-13144):
* hw/i386/amd_iommu: Allow migration when explicitly create the AMDVI-PCI device (jsc#PED-PED-13144)
* hw/i386/amd_iommu: Isolate AMDVI-PCI from amd-iommu device to allow full control over the PCI device creation (jsc#PED-13144)
-------------------------------------------------------------------
Fri Jun 6 10:30:23 UTC 2025 - Dario Faggioli <dfaggioli@suse.com>
- Update to stable release 10.0.2:
Full list of backports here:
https://lore.kernel.org/qemu-devel/1748499690.323471.13081.nullmailer@localhost/
A selection of them is reported here too:
Revert "Drop support for Python 3.8"
Update version for 10.0.1 release
Drop support for Python 3.8
target/hppa: Fix FPE exceptions
linux-user/hppa: Send proper si_code on SIGFPE exception
target/hppa: Copy instruction code into fr1 on FPU assist fault
migration: Allow caps to be set when preempt or multifd cap enabled
migration/multifd: Don't send device state packets with zerocopy flag
qapi/misc-target: Fix the doc to distinguish query-sgx and query-sgx-capabilities
hw/pci-host: Remove unused pci_host_data_be_ops
hw/pci-host/gt64120: Fix endianness handling
i386/hvf: Make CPUID_HT supported
i386/tcg: Make CPUID_HT and CPUID_EXT3_CMP_LEG supported
target/riscv/kvm: do not read unavailable CSRs
target/riscv/kvm: add kvm_csr_cfgs[]
target/riscv/kvm: turn kvm_riscv_reg_id_ulong() into a macro
target/riscv/kvm: turn u32/u64 reg functions into macros
target/riscv/kvm: fix leak in kvm_riscv_init_multiext_cfg()
target/riscv/kvm: minor fixes/tweaks
target/riscv: Fix vslidedown with rvv_ta_all_1s
target/riscv: Fix the rvv reserved encoding of unmasked instructions
...
-------------------------------------------------------------------
Wed Jun 04 10:49:45 UTC 2025 - Dario Faggioli <dfaggioli@suse.com>
- Continue trying to fix building with GCC15:
* roms/edk2: continue to try fixing building with GCC15 (bsc#1241473)
* roms/ipxe: fix building with GCC15 (bsc#1241473)
-------------------------------------------------------------------
Wed May 28 13:09:23 UTC 2025 - Dario Faggioli <dfaggioli@suse.com>
- Fix building opensbi with gcc-15:
* [openSUSE] Fix bsc#1241473 (in opensbi)
-------------------------------------------------------------------
Wed May 28 10:18:18 UTC 2025 - Dario Faggioli <dfaggioli@suse.com>
- Fixes for bsc#1241240 and bsc#1243585:
* vfio/spapr: Fix L2 crash with PCI device passthrough and memory > 128G (bsc#1241240)
* vfio/spapr: Enhance error handling in vfio_spapr_create_window() (bsc#1241240)
* tests/functional: Use -no-shutdown in the hppa_seabios test (bsc#1243585)
-------------------------------------------------------------------
Thu May 08 13:24:02 UTC 2025 - Dario Faggioli <dfaggioli@suse.com>
- Update to latest stable release (10.0.0)
Full changelog here:
https://wiki.qemu.org/ChangeLog/10.0
Highlights include:
* block: virtio-scsi multiqueue support for using different I/O threads
to process requests for each queue (similar to the virtio-blk multiqueue
support that was added in QEMU 9.2)
* VFIO: improved support for IGD passthrough on all Intel Gen 11/12
devices
* Documentation: significant improvement/overhaul of documentation for
QEMU Machine Protocol to make it clearer and more organized, including
all commands/events/types now being cross-reference-able via click-able
links in generated documentation
* ARM: emulation support for EL2 physical and virtual timers
* ARM: emulation support for FEAT_AFP, FEAT_RPRES, and FEAT_XS
architecture features
* ARM: new board models for NPCM8445 Evaluation and i.MX 8M Plus EVK
boards
* HPPA: new SeaBIOS-hppa version 18 with lots of fixes and enhancements
* HPPA: translation speed and virtual CPU reset improvements
* HPPA: emulation support for Diva GSP BMC boards
* LoongArch: support for CPU hotplug, paravirtual IPIs, KVM steal time
accounting, and virtual 'extioi' interrupt routing.
* RISC-V: ISA/extension support for riscv-iommu-sys devices, 'svukte',
'ssstateen', 'smrnmi', 'smdbltrp'/'ssdbltrp', 'supm'/'sspm', and
IOMMU translation tags
* RISC-V: emulation support for Ascalon and RV64 Xiangshan Nanhu CPUs,
and Microblaze V boards.
* s390x: add CPU model support for the generation 17 mainframe CPU
* s930x: add support for virtio-mem and for bypassing IOMMU to improve
PCI device performance
* x86: CPU model support for Clearwater Forest and Sierra Forest v2
* x86: faster emulation of string instructions
* and lots more...
Have a look at the list of deprecated features too, especially if you're
still interested in using 32bits systems as hosts:
* https://qemu-project.gitlab.io/qemu/about/deprecated.html
- Post-update improvements and fixes:
* [openSUSE]: fix SLOF not building with gcc15 (bsc#1241473)
* [openSUSE][RPM]: *.spec: improve the %check phases
* docs: Don't define duplicate label in qemu-block-drivers.rst.inc
* [openSUSE] tests: workaround expected failures of func-x86_64-mem_addr_space
* [openSUSE]: tests/functional increase the timeout of func_hppa_seabios
* [openSUSE] tests/unit increase the timeouts for tlssession tests
-------------------------------------------------------------------
Fri Apr 11 18:28:37 UTC 2025 - dfaggioli@suse.com
- all glib2 versions are recent enough to use pcre2:
* qemu-linux-user: drop pcre (by Andreas Stieger)
- Correct wrong bug mentioned in changelog (bsc#1236329)
-------------------------------------------------------------------
Wed Apr 02 00:32:54 UTC 2025 - dfaggioli@suse.com
- Update to latest stable release (9.2.3)
Full backport list here:
https://lore.kernel.org/qemu-devel/44124379-3349-45cf-9238-8a847d8b2770@tls.msk.ru/
Fixes: bsc#1236329
Highlights include:
* hw/intc/aspeed: Fix IRQ handler mask check
* hw/misc/aspeed_hace: Fix buffer overflow in has_padding function
* target/riscv: fix handling of nop for vstart >= vl in some vector instruction
* target/riscv: refactor VSTART_CHECK_EARLY_EXIT() to accept vl as a parameter
* Makefile: "make dist" generates a .xz, not .bz2
* target/ppc: Fix e200 duplicate SPRs
* target/ppc: Fix facility interrupt checks for VSX
* ppc/spapr: fix default cpu for pre-9.0 machines.
* host/include/loongarch64: Fix inline assembly compatibility with Clang
* linux-user/riscv: Fix handling of cpu mask in riscv_hwprobe syscall
* target/riscv: fixes a bug against `ssamoswap` behavior in M-mode
* target/riscv: fix access permission checks for CSR_SSP
* docs/about/emulation: Fix broken link
* vdpa: Allow vDPA to work on big-endian machine
* vdpa: Fix endian bugs in shadow virtqueue
* target/loongarch: Fix vldi inst
* target/arm: Simplify pstate_sm check in sve_access_check
* target/arm: Make DisasContext.{fp, sve}_access_checked tristate
* util/cacheflush: Make first DSB unconditional on aarch64
* docs: Rename default-configs to configs
* block: Zero block driver state before reopening
* hw/xen/hvm: Fix Aarch64 typo
* hw/net/smc91c111: Don't allow data register access to overrun buffer
* hw/net/smc91c111: Sanitize packet length on tx
* hw/net/smc91c111: Sanitize packet numbers
* ppc/pnv/occ: Fix common area sensor offsets
* xen: No need to flush the mapcache for grants (bsc#1236329)
* net: move backend cleanup to NIC cleanup
* net: parameterize the removing client from nc list
* util/qemu-timer.c: Don't warp timer from timerlist_rearm()
* target/arm: Correct STRD atomicity
* target/arm: Correct LDRD atomicity and fault behaviour
* hw/arm: enable secure EL2 timers for sbsa machine
* hw/arm: enable secure EL2 timers for virt machine
* target/arm: Implement SEL2 physical and virtual timers
* ...
- Fix bsc#1240157:
* [openSUSE][RPM] spec: Require ipxe and virtio-gpu packages for more arch-es
-------------------------------------------------------------------
Fri Feb 28 14:04:51 UTC 2025 - dfaggioli@suse.com
- Update to latest upstream release, 9.2.2:
The full list of changes are available at:
https://lore.kernel.org/qemu-devel/3e847ae0-8dfc-440e-92f7-6eaa89818837@tls.msk.ru/
Highlights include:
* net/slirp: libslirp 4.9.0 compatibility
* target/sparc: Fix gdbstub incorrectly handling registers f32-f62
* target/sparc: Fix register selection for all F*TOx and FxTO* instructions
* elfload: Fix alignment when unmapping excess reservation
* hw/net/smc91c111: Ignore attempt to pop from empty RX fifo
* make-release: don't rely on $CWD when excluding subproject directories
* ui/sdl2: reenable the SDL2 Windows keyboard hook procedure
* vfio/iommufd: Fix SIGSEV in iommufd_cdev_attach()
* gitlab-ci.d/cirrus: Update the FreeBSD job to v14.2
* qmp: update vhost-user protocol feature maps
* linux-user: Do not define struct sched_attr if libc headers do
* block-backend: Fix argument order when calling 'qapi_event_send_block_io_error()'
* block: Fix leak in send_qmp_error_event
* rust: add --rust-target option for bindgen
* ...
- Fix bsc#1237603:
* linux-user: Do not define struct sched_attr if libc headers do
-------------------------------------------------------------------
Wed Feb 12 16:06:45 UTC 2025 - dfaggioli@suse.com
- Fix bsc#1228343:
* tests/acpi: q35: Update host address width in DMAR (bsc#1228343)
* intel_iommu: Set default aw_bits to 48 starting from QEMU 9.2 (bsc#1228343)
* tests/acpi: q35: allow DMAR acpi table changes (bsc#1228343)
- Full boot order support (jsc#PED-958):
* pc-bios: Update the s390 bios images with the recent changes (jsc#PED-958)
* pc-bios/s390-ccw: Abort IPL on invalid loadparm (jsc#PED-958)
* pc-bios/s390-ccw/netmain: Fix error messages with regards to the TFTP server (jsc#PED-958)
* pc-bios/s390-ccw: Fix boot problem with virtio-net devices (jsc#PED-958)
* pc-bios/s390-ccw/virtio: Add a function to reset a virtio device (jsc#PED-958)
* hw/s390x: Fix crash that occurs when inspecting older versioned machines types (jsc#PED-958)
- Update to latest upstream release, 9.2.1:
The full list of changes are available at:
https://lore.kernel.org/qemu-devel/qemu-stable-9.2.1-20250207102656@cover.tls.msk.ru/
Highlights include:
* 9pfs: fix regression regarding CVE-2023-2861
* tcg: Reset free_temps before tcg_optimize
* tcg/riscv: Fix StoreStore barrier generation
* x86/loader: only patch linux kernels
* roms: re-add edk2-basetools target
* pc-bios: add missing riscv64 descriptor
* hw/intc/arm_gicv3_its: Zero initialize local DTEntry etc structs
* meson.build: Disallow libnfs v6 to fix the broken macOS build
* target/i386: Reset TSCs of parked vCPUs too on VM reset
* hw/intc/riscv_aplic: Fix APLIC in_clrip and clripnum write emulation
* s390x/s390-virtio-ccw: don't crash on weird RAM sizes
* target/loongarch: Use actual operand size with vbsrl check
* docs: Correct '-runas' and '-fsdev/-virtfs proxy' indentation
* docs: Correct release of TCG trace-events removal
* target/i386/cpu: Fix notes for CPU models
* migration/multifd: Fix compile error caused by page_size usage
* migration/multifd: Fix compat with QEMU < 9.0
* migration: Add more error handling to analyze-migration.py
* migration: Remove unused argument in vmsd_desc_field_end
* migration: Fix parsing of s390 stream
* s390x: Fix CSS migration
* migration: Rename vmstate_info_nullptr
* ...
-------------------------------------------------------------------
Wed Feb 05 01:31:02 UTC 2025 - dfaggioli@suse.com
- Fix bsc#1235709:
* target/s390x: Fix MVC not always invalidating translation blocks
-------------------------------------------------------------------
Thu Jan 23 11:36:36 UTC 2025 - dfaggioli@suse.com
- CPU model for new IBM Z HW (jsc#PED-10266):
* s390x/cpumodel: gen17 model
* s390x/cpumodel: Add PLO-extension facility
* s390x/cpumodel: correct PLO feature wording
* s390x/cpumodel: Add Sequential-Instruction-Fetching facility
* s390x/cpumodel: add Ineffective-nonconstrained-transaction facility
* s390x/cpumodel: add Vector-Packed-Decimal-Enhancement facility 3
* s390x/cpumodel: add Miscellaneous-Instruction-Extensions Facility 4
* s390x/cpumodel: add Vector Enhancements facility 3
* s390x/cpumodel: add Concurrent-functions facility support
* linux-headers: Update to Linux 6.13-rc1
* s390x/cpumodel: Add ptff Query Time-Stamp Event (QTSE) support
* s390x/cpumodel: add msa13 subfunctions
* s390x/cpumodel: add msa12 changes
* s390x/cpumodel: add msa11 subfunctions
* s390x/cpumodel: add msa10 subfunctions
-------------------------------------------------------------------
Wed Jan 22 15:04:53 UTC 2025 - dfaggioli@suse.com
- Build properly with the latest version of Sphinx:
* [openSUSE][RPM] Fix the build with the latest Sphinx
-------------------------------------------------------------------
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
- Fix bsc#1232712. The problem must be addressed upstream. This is
only a temporary measure, that should be reverted as soon as
possible:
* Revert "ui/curses: Do not use console_select()" (bsc#1232712)
* Revert "hw/xen: Register framebuffer backend via xen_backend_init()" (bsc#1232712)
-------------------------------------------------------------------
Tue Nov 26 16:06:49 UTC 2024 - dfaggioli@suse.com
- Fix bsc#1233530:
* docs: use consistent markup for footnotes (bsc#1233530)
* docs: avoid footnotes consisting of just URLs (bsc#1233530)
* docs: fix invalid footnote syntax (bsc#1233692)
-------------------------------------------------------------------
Tue Nov 26 14:26:05 UTC 2024 - dfaggioli@suse.com
- Fix bsc#1233530:
* scsi: megasas: Internal cdbs have 16-byte length (bsc#1233530)
-------------------------------------------------------------------
Tue Nov 26 14:07:32 UTC 2024 - dfaggioli@suse.com
- Fix bsc#1221812, bsc#1232283, bsc#1230978:
* [openSUSE] block: Move qcow2 invalidation query-block op_blocker
-------------------------------------------------------------------
Tue Nov 26 14:00:53 UTC 2024 - dfaggioli@suse.com
- Update to version 9.1.2:
Full changelog here:
https://lore.kernel.org/qemu-devel/21ba2773-11a6-45ad-bf98-9b5c2cdccb9b@tls.msk.ru/
Some of the most notable features:
* usb-hub: Fix handling port power control messages
* hw/audio/hda: fix memory leak on audio setup
* Revert "hw/audio/hda: fix memory leak on audio setup" (bsc#1232728)
* hw/misc/mos6522: Fix bad class definition of the MOS6522 device
* vfio/container: Fix container object destruction
* target/i386: fix hang when using slow path for ptw_setl
* tcg: Allow top bit of SIMD_DATA_BITS to be set in simd_desc()
* linux-user/arm: Select vdso for be8 and be32 modes
* linux-user/arm: Reduce vdso alignment to 4k
* linux-user: Tolerate CONFIG_LSM_MMAP_MIN_ADDR
* accel/tcg: Fix user-only probe_access_internal plugin check
* target/arm: Drop user-only special case in sve_stN_r
* linux-user: Fix setreuid and setregid to use direct syscalls
* hw/i386/pc: Don't try to init PCI NICs if there is no PCI bus
* target/i386: Fix legacy page table walk
* 9pfs: fix crash on 'Treaddir' request
* hw/nvme: fix handling of over-committed queues
* migration: Ensure vmstate_save() sets errp
* target/arm: Fix SVE SDOT/UDOT/USDOT (4-way, indexed)
* target/arm: Add new MMU indexes for AArch32 Secure PL1&0
* Revert "target/arm: Fix usage of MMU indexes when EL3 is AArch32"
* acpi/disassemle-aml.sh: fix up after dir reorg
* hw/acpi: Fix ordering of BDF in Generic Initiator PCI Device Handle.
* qemu-ga: Fix a SIGSEGV in ga_run_command() helper
* hw/sd/sdcard: Fix calculation of size when using eMMC boot partitions
* tests/tcg: Replace -mpower8-vector with -mcpu=power8
* hw/ssi/pnv_spi: Fixes Coverity CID 1558831
* hw/ssi/pnv_spi: Return early in transfer()
-------------------------------------------------------------------
Mon Nov 18 09:48:05 UTC 2024 - dfaggioli@suse.com
- Build and bug fixes:
* edk2: update submodule to edk2-stable202408.01
* Revert "hw/audio/hda: fix memory leak on audio setup" (bsc#1232728)
-------------------------------------------------------------------
Thu Nov 07 09:29:31 UTC 2024 - dfaggioli@suse.com
- Fix bsc#1228079:
* target/i386: Expose IBPB-BRTYPE and SBPB CPUID bits to the guest (bsc#1228079)
- Add further CPUID bits fixes:
* target/i386: Expose new feature bits in CPUID 8000_0021_EAX/EBX
* target/i386: Expose bits related to SRSO vulnerability
* target/i386: Add PerfMonV2 feature bit
* target/i386: Fix minor typo in NO_NESTED_DATA_BP feature bit
-------------------------------------------------------------------
Wed Nov 06 14:04:13 UTC 2024 - dfaggioli@suse.com
- Fix bsc#1232617:
* qemu-ga: Fix a SIGSEGV in ga_run_command() helper (bsc#1232617)
-------------------------------------------------------------------
Tue Oct 29 11:03:28 UTC 2024 - Dario Faggioli <dfaggioli@suse.com>
- Update to version 9.1.1:
Full changelog here:
https://lore.kernel.org/qemu-devel/7f0561ec-3564-4860-bacf-a98071a5ce52@tls.msk.ru/
Some of the most notable features:
* ui/dbus: fix filtering all update messages
* ui/win32: fix potential use-after-free with dbus shared memory
* ui/dbus: fix leak on message filtering
* hw/audio/hda: fix memory leak on audio setup
* hw/audio/hda: free timer on exit
* hw/char/pl011: Use correct masks for IBRD and FBRD
* hw/intc/arm_gicv3_cpuif: Add cast to match the documentation
* hw/intc/arm_gicv3: Add cast to match the documentation
* hw/intc/arm_gicv3: Add cast to match the documentation
* meson: ensure -mcx16 is passed when detecting ATOMIC128
* meson: define qemu_isa_flags
* meson: fix machine option for x86_version
* target/m68k: Always return a temporary from gen_lea_mode
* tcg/ppc: Use TCG_REG_TMP2 for scratch index in prepare_host_addr
* tcg/ppc: Use TCG_REG_TMP2 for scratch tcg_out_qemu_st
* linux-user: Fix parse_elf_properties GNU0_MAGIC check
* linux-user/flatload: Take mmap_lock in load_flt_binary()
* vnc: fix crash when no console attached
* testing: bump mips64el cross to bookworm and fix package list
* hw/sd/sdcard: Fix handling of disabled boot partitions
* target/arm: Avoid target_ulong for physical address lookups
* block/reqlist: allow adding overlapping requests
* util/timer: avoid deadlock when shutting down
* hw/mips/jazz: fix typo in in-built NIC alias
* tcg: Fix iteration step in 32-bit gvec operation
* hw/loongarch/virt: Add description for virt machine type
* migration/multifd: Fix p->iov leak in multifd-uadk.c
* target/ppc: Fix migration of CPUs with TLB_EMB TLB type
* target/hppa: Fix random 32-bit linux-user crashes
* target/arm: Correct ID_AA64ISAR1_EL1 value for neoverse-v1
* hw/char/stm32l4x5_usart.c: Enable USART ACK bit response
* migration/multifd: Fix rb->receivedmap cleanup race
* mac_dbdma: Remove leftover `dma_memory_unmap` calls
-------------------------------------------------------------------
Tue Oct 29 10:43:50 UTC 2024 - dfaggioli@suse.com
- Fix boo#1231166:
* [openSUSE][RPM] The qemu translation is not being installed (boo#1231166)
-------------------------------------------------------------------
Wed Oct 16 14:39:46 UTC 2024 - dfaggioli@suse.com
- Bug and CVE fixes:
* softmmu/physmem: fix memory leak in dirty_memory_extend()
* softmmu: Support concurrent bounce buffers (bsc#1230915, CVE-2024-8612)
* accel/kvm: check for KVM_CAP_READONLY_MEM on VM (bsc#1231519)
-------------------------------------------------------------------
Tue Oct 15 17:02:49 UTC 2024 - dfaggioli@suse.com
- Fix bsc#1231519 and bsc#1230140:
* accel/kvm: check for KVM_CAP_READONLY_MEM on VM
* target/ppc: Fix lxvx/stxvx facility check
-------------------------------------------------------------------
Wed Sep 11 17:42:03 UTC 2024 - dfaggioli@suse.com
@@ -52,6 +555,11 @@ Thu Sep 05 15:16:09 UTC 2024 - dfaggioli@suse.com
* x86: CPU emulation support for Icelake-Server-v7, SapphireRapids-v3,
and SierraForest
The following bugs/CVEs were solved (in 9.0.x) with backports that are
now included in 9.1 upstream:
- CVE-2024-4467 (bsc#1227322)
- CVE-2024-7409 (bsc#1229007)
-------------------------------------------------------------------
Tue Aug 27 17:15:25 UTC 2024 - dfaggioli@suse.com

View File

@@ -1,4 +1,4 @@
name: qemu
version: 9.1.0
mtime: 1726073275
commit: d6950a38c1c779c678bd1f64e8685ddf7af43e53
version: 10.0.3
mtime: 1755011742
commit: d2104651468e8600e07e5db75cff834999993680

204
qemu.spec
View File

@@ -1,7 +1,7 @@
#
# spec file for package qemu
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -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.0
Version: 10.0.3
Release: 0
Source0: qemu-%{version}.tar.xz
Source1: common.inc
@@ -146,9 +152,16 @@ 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
BuildRequires: python3-sphinx_rtd_theme
%else
BuildRequires: python311-Sphinx
BuildRequires: python311-base
@@ -229,8 +242,13 @@ Requires: user(qemu)
Requires: (qemu-guest-agent = %{version} if qemu-guest-agent)
## Packages we will RECOMMEND
%ifarch s390x
Recommends: qemu-hw-s390x-virtio-gpu-ccw
Requires: qemu-hw-s390x-virtio-gpu-ccw
%else
%ifarch arm
Requires: qemu-hw-display-virtio-gpu-pci
%else
Recommends: qemu-hw-display-virtio-gpu-pci
%endif
Recommends: qemu-hw-display-qxl
Recommends: qemu-hw-display-virtio-gpu
Recommends: qemu-hw-display-virtio-gpu-pci
@@ -262,7 +280,6 @@ Suggests: qemu-block-iscsi
Suggests: qemu-block-ssh
Suggests: qemu-chardev-baum
Suggests: qemu-extra
Suggests: qemu-lang
Suggests: qemu-microvm
Suggests: qemu-skiboot
Suggests: qemu-vhost-user-gpu
@@ -273,6 +290,7 @@ Provides: kvm = %{version}
Provides: qemu-kvm = %{version}
## Pacakges we OBSOLETE (and CONFLICT)
Obsoletes: kvm <= %{version}
Obsoletes: qemu-accel-tcg-x86 < %{version}
Obsoletes: qemu-audio-oss < %{version}
Obsoletes: qemu-audio-sdl < %{version}
Obsoletes: qemu-kvm <= %{version}
@@ -314,6 +332,8 @@ Suggests: qemu-extra
This package acts as an umbrella package to the other QEMU sub-packages.
%lang_package
%files
%if %{kvm_available}
%ifarch s390x
@@ -335,6 +355,7 @@ This package acts as an umbrella package to the other QEMU sub-packages.
%dir %_datadir/%name/vhost-user
%dir %_sysconfdir/%name
%dir %_sysconfdir/%name/firmware
%dir %{_libdir}/%{name}
%dir /usr/lib/supportconfig
%dir /usr/lib/supportconfig/plugins
%_datadir/applications/qemu.desktop
@@ -357,6 +378,7 @@ This package acts as an umbrella package to the other QEMU sub-packages.
%_mandir/man7/qemu-cpu-models.7.gz
%_mandir/man7/qemu-qmp-ref.7.gz
%_mandir/man7/qemu-ga-ref.7.gz
%{_libdir}/%{name}/hw-uefi-vars.so
/usr/lib/supportconfig/plugins/%name
%license COPYING COPYING.LIB LICENSE
@@ -406,7 +428,7 @@ meson subprojects packagefiles --apply berkeley-softfloat-3
# petalogix-s3adsp1800.dtb QEMU,cgthree.bin QEMU,tcx.bin qemu_vga.ndrv
# u-boot.e500 u-boot-sam460-20100605.bin opensbi-riscv32-generic-fw_dynamic.bin
# opensbi-riscv32-generic-fw_dynamic.elfnpcm7xx_bootrom.bin vof.bin
# vof-nvram.bin
# vof-nvram.bin npcm8xx_bootrom.bin pnv-pnor.bin vof.bin vof-nvram.bin
# Note that:
# - default firmwares are built "by default", i.e., they're built automatically
@@ -414,11 +436,10 @@ meson subprojects packagefiles --apply berkeley-softfloat-3
# - extra firmwares are built "manually" (see below) from their own sources
# (which, typically, are submodules checked out in the {srcdi}r/roms directory)
%define ppc_default_firmware %{nil}
#{vof.bin vof-nvram.bin}
%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}
@@ -580,6 +601,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
@@ -611,6 +635,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 \
@@ -792,7 +819,9 @@ install -D -m 0755 %{rpmfilesdir}/qemu-supportconfig %{buildroot}/usr/lib/suppor
install -D -m 0644 %{rpmfilesdir}/supported.arm.txt %{buildroot}%_docdir/qemu-arm/supported.txt
install -D -m 0644 %{rpmfilesdir}/supported.ppc.txt %{buildroot}%_docdir/qemu-ppc/supported.txt
install -D -m 0644 %{rpmfilesdir}/supported.x86.txt %{buildroot}%_docdir/qemu-x86/supported.txt
%ifnarch %ix86 armv7hl
install -D -m 0644 %{rpmfilesdir}/supported.s390.txt %{buildroot}%_docdir/qemu-s390x/supported.txt
%endif
%if %{legacy_qemu_kvm}
install -D -m 0644 %{rpmfilesdir}/qemu-kvm.1.gz %{buildroot}%_mandir/man1/qemu-kvm.1.gz
@@ -834,6 +863,8 @@ 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/firmware/60-edk2-riscv64.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
@@ -844,6 +875,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
@@ -888,17 +921,17 @@ done
# Upstream provides services for qemu-pr-helper. So far, we've not needed
# them, so let's continue not to ship them for now. If that changes, just
# uncomment these lines (and the ones in the %file pr-helper section)
#install -m 0644 contrib/systemd/qemu-pr-helper.service %{buildroot}%{_unitdir}
#install -m 0644 contrib/systemd/qemu-pr-helper.socket %{buildroot}%{_unitdir}
# uncomment these lines (and the ones in the %%file pr-helper section)
#install -m 0644 contrib/systemd/qemu-pr-helper.service %%{buildroot}%%{_unitdir}
#install -m 0644 contrib/systemd/qemu-pr-helper.socket %%{buildroot}%%{_unitdir}
%if 0%{with vmsr_helper}
echo ""
# Upstream provides services for qemu-vmsr-helper. So far, we've not needed
# them, so let's continue not to ship them for now. If that changes, just
# uncomment these lines (and the ones in the %file vmsr-helper section)
#install -m 0644 contrib/systemd/qemu-vmsr-helper.service %{buildroot}%{_unitdir}
#install -m 0644 contrib/systemd/qemu-vmsr-helper.socket %{buildroot}%{_unitdir}
# uncomment these lines (and the ones in the %%file vmsr-helper section)
#install -m 0644 contrib/systemd/qemu-vmsr-helper.service %%{buildroot}%%{_unitdir}
#install -m 0644 contrib/systemd/qemu-vmsr-helper.socket %%{buildroot}%%{_unitdir}
%endif
%suse_update_desktop_file qemu
@@ -927,6 +960,11 @@ echo 'int main (void) { return 0; }' > %{srcdir}/tests/unit/test-seccomp.c
echo 'int main (void) { return 0; }' > %{srcdir}/tests/unit/test-crypto-secret.c
%endif
# Quick sanity check, as it'll give easier to debug failures
# than we see with 'make check'
./qemu-system-%{qemu_arch} -help
./qemu-img -help
# Compile the QOM test binary first, so that ...
%make_build tests/qtest/qom-test
# ... make comes in fresh and has lots of address space (needed for 32bit, bsc#957379)
@@ -936,16 +974,43 @@ echo 'int main (void) { return 0; }' > %{srcdir}/tests/unit/test-crypto-secret.c
%make_build check-build
# Let's now run the 'make check' component individually, so we have
# more control on the options (like -j, etc)
%define timeout_multiplier 1
# Particularly slow arch-es (on OBS) may benefit from this
%ifarch riscv64
%define timeout_multiplier 3
%endif
echo "######## unit tests ########"
%make_build check-unit
echo "######## QAPI schema tests ########"
%make_build check-qapi-schema
echo "######## DecodeTree tests ########"
%make_build check-decodetree
echo "######## Soft Float tests ########"
%make_build check-softfloat
%if %{with chkqtests} && !0%{?qemu_user_space_build}
echo "######## QTest tests ########"
# Run qtests sequentially, as it's too unreliable, when run in OBS, if parallelized
make -O V=1 VERBOSE=1 -j1 check-qtest TIMEOUT_MULTIPLIER=%{timeout_multiplier}
%endif
# This would be `make_build check-block`. But iotests are not reliable
# if ran in parallel in OBS, so let's be slow for now.
make -O V=1 VERBOSE=1 -j1 check-block
%if %{with chkqtests} && !0%{?qemu_user_space_build}
# Run qtests sequentially, as it's too unreliable, when run in OBS, if parallelized
make -O V=1 VERBOSE=1 -j1 check-qtest
echo "######## Block I/O tests ########"
make -O V=1 VERBOSE=1 -j1 check-block TIMEOUT_MULTIPLIER=%{timeout_multiplier}
echo "######## Functional tests ########"
# NB: ppc64le hosts often fail one or more functional tests...
%ifnarch ppc64le
# 'check-func-quick' instead of 'check-functional' to avoid asset download
%make_build check-func-quick TIMEOUT_MULTIPLIER=%{timeout_multiplier}
%endif
# Last step will be to run a full check-report, but we will
# enable this at a later point
#make -O V=1 VERBOSE=1 -j1 check-report.junit.xml
@@ -1067,7 +1132,6 @@ currently necessary for having a functional (headless) QEMU/KVM stack.
Summary: Machine emulator and virtualizer for x86 architectures
Group: System/Emulators/PC
Requires: %name = %{version}
Requires: qemu-accel-tcg-x86
Requires: qemu-ipxe
Requires: qemu-seabios
Requires: qemu-vgabios
@@ -1087,7 +1151,9 @@ This package provides i386 and x86_64 emulation.
%files x86
%_bindir/qemu-system-i386
%ifnarch %ix86 armv7hl
%_bindir/qemu-system-x86_64
%endif
%_datadir/%name/kvmvapic.bin
%_datadir/%name/linuxboot.bin
%_datadir/%name/linuxboot_dma.bin
@@ -1101,7 +1167,7 @@ Summary: Machine emulator and virtualizer for Power architectures
Group: System/Emulators/PC
Requires: %name = %{version}
Requires: qemu-SLOF
Recommends: qemu-ipxe
Requires: qemu-ipxe
Recommends: qemu-vgabios
%description ppc
@@ -1111,16 +1177,20 @@ This package provides ppc and ppc64 emulation.
%files ppc
%_bindir/qemu-system-ppc
%ifnarch %ix86 armv7hl
%_bindir/qemu-system-ppc64
%endif
%_datadir/%name/bamboo.dtb
%_datadir/%name/canyonlands.dtb
%_datadir/%name/openbios-ppc
%_datadir/%name/qemu_vga.ndrv
%_datadir/%name/pnv-pnor.bin
%_datadir/%name/u-boot.e500
%_datadir/%name/u-boot-sam460-20100605.bin
%_datadir/%name/vof*.bin
%doc %_docdir/qemu-ppc
%ifnarch %ix86 armv7hl
%package s390x
Summary: Machine emulator and virtualizer for S/390 architectures
Group: System/Emulators/PC
@@ -1136,15 +1206,15 @@ 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
%endif
%package arm
Summary: Machine emulator and virtualizer for ARM architectures
Group: System/Emulators/PC
Requires: %name = %{version}
Requires: qemu-ipxe
Recommends: ovmf
Recommends: qemu-ipxe
Recommends: qemu-uefi-aarch64
Recommends: qemu-vgabios
@@ -1155,8 +1225,11 @@ This package provides arm emulation.
%files arm
%_bindir/qemu-system-arm
%ifnarch %ix86 armv7hl
%_bindir/qemu-system-aarch64
%endif
%_datadir/%name/npcm7xx_bootrom.bin
%_datadir/%name/npcm8xx_bootrom.bin
%doc %_docdir/qemu-arm
%package extra
@@ -1166,6 +1239,12 @@ Requires: %name = %{version}
Recommends: qemu-ipxe
Recommends: qemu-skiboot
Recommends: qemu-vgabios
%ifarch %ix86 armv7hl
# The package is not built any longer for 32bits arch-es, but we're still
# providing the s390-ccw.img firmware, as part of this package (for those
# arch-es only, of course)
Obsoletes: qemu-s390x < %{version}
%endif
%description extra
%{generic_qemu_description}
@@ -1175,29 +1254,33 @@ mips, sparc, and xtensa. (The term "extra" is juxtapositioned against more
popular QEMU packages which are dedicated to a single architecture.)
%files extra
%ifnarch %ix86 armv7hl
%_bindir/qemu-system-alpha
%_bindir/qemu-system-avr
%_bindir/qemu-system-cris
%_bindir/qemu-system-hppa
%_bindir/qemu-system-loongarch64
%_bindir/qemu-system-m68k
%_bindir/qemu-system-microblaze
%_bindir/qemu-system-microblazeel
%_bindir/qemu-system-mips
%_bindir/qemu-system-mipsel
%_bindir/qemu-system-mips64
%_bindir/qemu-system-mips64el
%_bindir/qemu-system-riscv64
%_bindir/qemu-system-sparc64
%endif
%_bindir/qemu-system-avr
%_bindir/qemu-system-m68k
%_bindir/qemu-system-mips
%_bindir/qemu-system-mipsel
%_bindir/qemu-system-or1k
%_bindir/qemu-system-riscv32
%_bindir/qemu-system-riscv64
%_bindir/qemu-system-rx
%_bindir/qemu-system-sh4
%_bindir/qemu-system-sh4eb
%_bindir/qemu-system-sparc
%_bindir/qemu-system-sparc64
%_bindir/qemu-system-tricore
%_bindir/qemu-system-xtensa
%_bindir/qemu-system-xtensaeb
%ifarch %ix86 armv7hl
%_datadir/%name/s390-ccw.img
%endif
%_datadir/%name/hppa-firmware.img
%_datadir/%name/hppa-firmware64.img
%_datadir/%name/openbios-sparc32
@@ -1210,15 +1293,6 @@ popular QEMU packages which are dedicated to a single architecture.)
%_datadir/%name/QEMU,cgthree.bin
%_datadir/%name/QEMU,tcx.bin
%package lang
Summary: Translations for QEMU
Group: System/Emulators/PC
%description lang
This package contains a few language translations, particularly for the
graphical user interface components that come with QEMU. The bulk of strings
in QEMU are not localized.
%files lang -f %blddir/%name.lang
%package audio-alsa
@@ -1579,8 +1653,8 @@ This package provides a helper utility for SCSI persistent reservations.
%files pr-helper
%_bindir/qemu-pr-helper
#%{_unitdir}/qemu-pr-helper.service
#%{_unitdir}/qemu-pr-helper.socket
#%%{_unitdir}/qemu-pr-helper.service
#%%{_unitdir}/qemu-pr-helper.socket
%_mandir/man8/qemu-pr-helper.8.gz
%if 0%{with vmsr_helper}
@@ -1593,8 +1667,8 @@ This package provides a helper utility for letting VMs access the RAPL (Running
%files vmsr-helper
%_bindir/qemu-vmsr-helper
#%{_unitdir}/qemu-vmsr-helper.service
#%{_unitdir}/qemu-vmsr-helper.socket
#%%{_unitdir}/qemu-vmsr-helper.service
#%%{_unitdir}/qemu-vmsr-helper.socket
%endif
%package tools
@@ -1627,8 +1701,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
@@ -1722,23 +1794,6 @@ This package provides a service file for starting and stopping KSM.
%postun ksm
%service_del_postun ksm.service
%package accel-tcg-x86
Summary: TCG accelerator for QEMU
Group: System/Emulators/PC
%{qemu_module_conflicts}
%description accel-tcg-x86
TCG is the QEMU binary translator, responsible for converting from target to
host instruction set.
This package provides the TCG accelerator for QEMU.
%files accel-tcg-x86
%dir %_datadir/%name
%dir %_libdir/%name
%_libdir/%name/accel-tcg-i386.so
%_libdir/%name/accel-tcg-x86_64.so
%package accel-qtest
Summary: QTest accelerator for QEMU
Group: System/Emulators/PC
@@ -1753,34 +1808,35 @@ This package provides QTest accelerator for testing QEMU.
%files accel-qtest
%dir %_datadir/%name
%dir %_libdir/%name
%ifnarch %ix86 armv7hl
%_libdir/%name/accel-qtest-aarch64.so
%_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
%_libdir/%name/accel-qtest-m68k.so
%_libdir/%name/accel-qtest-microblaze.so
%_libdir/%name/accel-qtest-microblazeel.so
%_libdir/%name/accel-qtest-mips.so
%_libdir/%name/accel-qtest-mips64.so
%_libdir/%name/accel-qtest-mips64el.so
%_libdir/%name/accel-qtest-ppc64.so
%_libdir/%name/accel-qtest-riscv64.so
%_libdir/%name/accel-qtest-s390x.so
%_libdir/%name/accel-qtest-sparc64.so
%_libdir/%name/accel-qtest-x86_64.so
%endif
%_libdir/%name/accel-qtest-arm.so
%_libdir/%name/accel-qtest-avr.so
%_libdir/%name/accel-qtest-i386.so
%_libdir/%name/accel-qtest-m68k.so
%_libdir/%name/accel-qtest-mips.so
%_libdir/%name/accel-qtest-mipsel.so
%_libdir/%name/accel-qtest-or1k.so
%_libdir/%name/accel-qtest-ppc.so
%_libdir/%name/accel-qtest-ppc64.so
%_libdir/%name/accel-qtest-riscv32.so
%_libdir/%name/accel-qtest-riscv64.so
%_libdir/%name/accel-qtest-rx.so
%_libdir/%name/accel-qtest-s390x.so
%_libdir/%name/accel-qtest-sh4.so
%_libdir/%name/accel-qtest-sh4eb.so
%_libdir/%name/accel-qtest-sparc.so
%_libdir/%name/accel-qtest-sparc64.so
%_libdir/%name/accel-qtest-tricore.so
%_libdir/%name/accel-qtest-x86_64.so
%_libdir/%name/accel-qtest-xtensa.so
%_libdir/%name/accel-qtest-xtensaeb.so
@@ -1862,7 +1918,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.0%{sbver}
Version: 10.0.3%{sbver}
Release: 0
BuildArch: noarch
Conflicts: %name < 1.6.0
@@ -1883,7 +1939,7 @@ is the default and legacy BIOS for QEMU.
%package vgabios
Summary: VGA BIOSes for QEMU
Group: System/Emulators/PC
Version: 9.1.0%{sbver}
Version: 10.0.3%{sbver}
Release: 0
BuildArch: noarch
Conflicts: %name < 1.6.0
@@ -1909,7 +1965,7 @@ video card. For use with QEMU.
%package ipxe
Summary: PXE ROMs for QEMU NICs
Group: System/Emulators/PC
Version: 9.1.0
Version: 10.0.3
Release: 0
BuildArch: noarch
Conflicts: %name < 1.6.0