Dario Faggioli
120aa1bfb7
Full list of backports here: https://lore.kernel.org/qemu-devel/1718081053.366429.1238758.nullmailer@tls.msk.ru/ A selection of them is reported here too: Update version for 9.0.1 release target/loongarch: fix a wrong print in cpu dump ui/sdl2: Allow host to power down screen virtio-gpu: fix v2 migration target/i386: fix SSE and SSE2 feature check target/i386: fix xsave.flat from kvm-unit-tests disas/riscv: Decode all of the pmpcfg and pmpaddr CSRs riscv, gdbstub.c: fix reg_width in ricsv_gen_dynamic_vector_feature() target/riscv/kvm.c: Fix the hart bit setting of AIA target/riscv: rvzicbo: Fixup CBO extension register calculation target/riscv: do not set mtval2 for non guest-page faults target/riscv: prioritize pmp errors in raise_mmu_exception() target/riscv: rvv: Remove redudant SEW checking for vector fp narrow/widen instructions target/riscv: rvv: Check single width operator for vfncvt.rod.f.f.w target/riscv: rvv: Check single width operator for vector fp widen instructions target/riscv: rvv: Fix Zvfhmin checking for vfwcvt.f.f.v and vfncvt.f.f.w instructions target/riscv/cpu.c: fix Zvkb extension config target/riscv: Fix the element agnostic function problem target/riscv/kvm: tolerate KVM disable ext errors target/riscv/kvm: Fix exposure of Zkr hw/intc/riscv_aplic: APLICs should add child earlier than realize iotests: test NBD+TLS+iothread qio: Inherit follow_coroutine_ctx across TLS ... OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=848
103 lines
2.2 KiB
PHP
103 lines
2.2 KiB
PHP
%define _buildshell /bin/bash
|
|
|
|
%define sbver 1.16.3_3_gc13ff2cd
|
|
|
|
%define srcdir %{_builddir}/%buildsubdir
|
|
%define blddir %srcdir/build
|
|
|
|
%define build_x86_firmware 0
|
|
%define build_ppc_firmware 0
|
|
%define build_opensbi_firmware 0
|
|
%define kvm_available 0
|
|
%define legacy_qemu_kvm 0
|
|
%define force_fit_virtio_pxe_rom 1
|
|
|
|
%define with_xen 0%{!?_without_xen:1}
|
|
|
|
%if "%{?distribution}" == ""
|
|
%define distro private-build
|
|
%else
|
|
%define distro %{distribution}
|
|
%endif
|
|
|
|
# Items to exclude in ALP-based products
|
|
%if 0%{?suse_version} == 1600
|
|
%define with_xen 0
|
|
%endif
|
|
|
|
%bcond_with system_membarrier
|
|
%bcond_with malloc_trim
|
|
|
|
%bcond_with chkqtests
|
|
|
|
%if 0%{?suse_version} > 1600
|
|
# canokey is an openSUSE thing, not a SLE one
|
|
%ifarch x86_64
|
|
%bcond_without canokey
|
|
%else
|
|
%bcond_with canokey
|
|
%endif
|
|
%endif
|
|
|
|
%if 0%{?suse_version} > 1600
|
|
# XDP seems not to be there in SLE...
|
|
%bcond_without xdp
|
|
%else
|
|
%bcond_with xdp
|
|
%endif
|
|
|
|
# Make it possible to build without spice (for SLE/Leap Micro)
|
|
%bcond_without spice
|
|
|
|
# We do not have the stuff needed to compile rutabaga support.
|
|
# If/when we want to do it, we can check how it's done here:
|
|
# https://src.fedoraproject.org/rpms/qemu/c/deeb9357cb751df21c566fd8408936cfb034d43b?branch=rawhide
|
|
%define has_rutabaga_gfx 0
|
|
|
|
%define has_virtiofsd 1
|
|
# Upstream virtiofsd does not even build on 32 bit systems
|
|
%ifarch %ix86 %arm
|
|
%define has_virtiofsd 0
|
|
%endif
|
|
|
|
# non-x86 archs still seem to have some issues with Link Time Optimization
|
|
%ifnarch %ix86 x86_64
|
|
%define _lto_cflags %{nil}
|
|
%endif
|
|
|
|
%ifarch aarch64
|
|
%define qemu_arch aarch64
|
|
%endif
|
|
%ifarch %arm
|
|
%define qemu_arch arm
|
|
%endif
|
|
%ifarch %ix86
|
|
%define qemu_arch i386
|
|
%endif
|
|
%ifarch ppc64
|
|
%define qemu_arch ppc64
|
|
%endif
|
|
%ifarch ppc
|
|
%define qemu_arch ppc
|
|
%endif
|
|
%ifarch ppc64le
|
|
%define qemu_arch ppc64le
|
|
%endif
|
|
%ifarch riscv64
|
|
%define qemu_arch riscv64
|
|
%endif
|
|
%ifarch s390x
|
|
%define qemu_arch s390x
|
|
%endif
|
|
%ifarch x86_64
|
|
%define qemu_arch x86_64
|
|
%endif
|
|
|
|
%define generic_qemu_description \
|
|
QEMU provides full machine emulation and cross architecture usage. It closely\
|
|
integrates with KVM and Xen virtualization, allowing for excellent performance.\
|
|
Many options are available for defining the emulated environment, including\
|
|
traditional devices, direct host device access, and interfaces specific to\
|
|
virtualization.
|
|
|