1 Star 0 Fork 22

lixianglai/qemu

forked from OpenCloudOS Stream/qemu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
qemu.spec 58.16 KB
一键复制 编辑 原始数据 按行查看 历史
xisme 提交于 2024-03-26 20:48 . Support hygon tkm key isolation
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963
%global libfdt_version 1.6.0
%global libseccomp_version 2.4.0
%global libusbx_version 1.0.23
%global meson_version 0.58.2
%global usbredir_version 0.7.1
%global ipxe_version 20200823-5.git4bd064de
%ifarch x86_64
%global kvm_package system-x86
%endif
%ifarch aarch64
%global kvm_package system-aarch64
%endif
%ifarch riscv64
%global kvm_package system-riscv
%endif
%global modprobe_kvm_conf %{_sourcedir}/kvm.conf
%ifarch x86_64
%global modprobe_kvm_conf %{_sourcedir}/kvm-x86.conf
%endif
%ifarch x86_64
%global have_pmem 1
%else
%global have_pmem 0
%endif
%bcond_without rbd
%bcond_with usb_redir
%bcond_with virtgl
%bcond_without opengl
%bcond_with nfs
%bcond_with extra_arch
%global _lto_cflags %{nil}
%global firmwaredirs "%{_datadir}/qemu-firmware:%{_datadir}/ipxe/qemu:%{_datadir}/seavgabios:%{_datadir}/seabios:%{_datadir}/sgabios"
%global qemudocdir %{_docdir}/%{name}
%define evr %{version}-%{release}
%define requires_block_curl Requires: %{name}-block-curl = %{evr}
%define requires_block_dmg Requires: %{name}-block-dmg = %{evr}
%define requires_block_iscsi Requires: %{name}-block-iscsi = %{evr}
%if %{with nfs}
%define requires_block_nfs Requires: %{name}-block-nfs = %{evr}
%define obsoletes_block_nfs %{nil}
%else
%define requires_block_nfs %{nil}
%define obsoletes_block_nfs Obsoletes: %{name}-block-nfs < %{evr}
%endif
%if %{with rbd}
%define requires_block_rbd Requires: %{name}-block-rbd = %{evr}
%define obsoletes_block_rbd %{nil}
%else
%define requires_block_rbd %{nil}
%define obsoletes_block_rbd Obsoletes: %{name}-block-rbd < %{evr}
%endif
%define requires_block_ssh Requires: %{name}-block-ssh = %{evr}
%define requires_audio_alsa Requires: %{name}-audio-alsa = %{evr}
%define requires_audio_oss Requires: %{name}-audio-oss = %{evr}
%define requires_audio_pa Requires: %{name}-audio-pa = %{evr}
%define requires_audio_sdl Requires: %{name}-audio-sdl = %{evr}
%define requires_device_usb_host Requires: %{name}-device-usb-host = %{evr}
%if %{with usb_redir}
%define requires_device_usb_redirect Requires: %{name}-device-usb-redirect = %{evr}
%else
%define requires_device_usb_redirect %{nil}
%endif
%define requires_device_usb_smartcard %{nil}
%define requires_ui_curses Requires: %{name}-ui-curses = %{evr}
%define requires_ui_gtk Requires: %{name}-ui-gtk = %{evr}
%define requires_ui_sdl Requires: %{name}-ui-sdl = %{evr}
%if %{with opengl}
%define requires_ui_egl_headless Requires: %{name}-ui-egl-headless = %{evr}
%define requires_ui_opengl Requires: %{name}-ui-opengl = %{evr}
%else
%define requires_ui_egl_headless %{nil}
%define requires_ui_opengl %{nil}
%endif
%define requires_device_display_virtio_gpu Requires: %{name}-device-display-virtio-gpu = %{evr}
%define requires_device_display_virtio_gpu_pci Requires: %{name}-device-display-virtio-gpu-pci = %{evr}
%define requires_device_display_virtio_gpu_ccw Requires: %{name}-device-display-virtio-gpu-ccw = %{evr}
%define requires_device_display_virtio_vga Requires: %{name}-device-display-virtio-vga = %{evr}
%define requires_device_display_virtio_vga_gl Requires: %{name}-device-display-virtio-vga-gl = %{evr}
%if %{with virtgl}
%define requires_device_display_vhost_user_gpu Requires: %{name}-device-display-vhost-user-gpu = %{evr}
%else
%define requires_device_display_vhost_user_gpu %{nil}
%endif
%define requires_audio_jack %{nil}
%define requires_ui_spice_app %{nil}
%define requires_ui_spice_core %{nil}
%define requires_device_display_qxl %{nil}
%define requires_audio_spice %{nil}
%define requires_char_spice %{nil}
%global requires_all_modules \
%{requires_block_curl} \
%{requires_block_dmg} \
%{requires_block_iscsi} \
%{requires_block_nfs} \
%{requires_block_rbd} \
%{requires_block_ssh} \
%{requires_audio_alsa} \
%{requires_audio_oss} \
%{requires_audio_pa} \
%{requires_audio_sdl} \
%{requires_audio_jack} \
%{requires_audio_spice} \
%{requires_ui_curses} \
%{requires_ui_gtk} \
%{requires_ui_sdl} \
%{requires_ui_egl_headless} \
%{requires_ui_opengl} \
%{requires_ui_spice_app} \
%{requires_ui_spice_core} \
%{requires_char_spice} \
%{requires_device_display_qxl} \
%{requires_device_display_vhost_user_gpu} \
%{requires_device_display_virtio_gpu} \
%{requires_device_display_virtio_gpu_pci} \
%{requires_device_display_virtio_vga} \
%{requires_device_display_virtio_vga_gl} \
%{requires_device_usb_host} \
%{requires_device_usb_redirect} \
%{requires_device_usb_smartcard} \
Summary: QEMU is a FAST! processor emulator
Name: qemu
Version: 8.2.0
Release: 2%{?dist}
License: GPLv2 and BSD and MIT and CC-BY
URL: http://www.qemu.org/
Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
Source1: qemu-guest-agent.service
Source2: 99-qemu-guest-agent.rules
Source3: bridge.conf
Source4: qemu-ga.sysconfig
Source5: 95-kvm-memlock.conf
Source6: vhost.conf
Source7: kvm.conf
Source8: kvm-s390x.conf
Source9: kvm-x86.conf
Patch0007: 0007-fix-CVE-2023-3180.patch
Patch0008: CVE-2023-5088.patch
# CVE-2023-3301
# https://github.com/qemu/qemu/commit/a0d7215e339b61c7d7a7b3fcf754954d80d93eb8
Patch0009: 0008-newfeature-support-vpsp.patch
BuildRequires: meson >= %{meson_version}
BuildRequires: zlib-devel
BuildRequires: glib2-devel
BuildRequires: gnutls-devel
BuildRequires: libselinux-devel
BuildRequires: cyrus-sasl-devel
BuildRequires: libaio-devel
BuildRequires: python3-devel
BuildRequires: libiscsi-devel
BuildRequires: libattr-devel
BuildRequires: libusbx-devel >= %{libusbx_version}
%if %{with usb_redir}
BuildRequires: usbredir-devel >= %{usbredir_version}
%endif
BuildRequires: texinfo
BuildRequires: python3-sphinx
BuildRequires: python3-sphinx_rtd_theme
BuildRequires: libseccomp-devel >= %{libseccomp_version}
BuildRequires: libcurl-devel
BuildRequires: libssh-devel
%if %{with rbd}
BuildRequires: librbd-devel
%endif
BuildRequires: systemtap
BuildRequires: systemtap-sdt-devel
BuildRequires: libpng-devel
BuildRequires: libcap-ng-devel
BuildRequires: pixman-devel
BuildRequires: rdma-core-devel
BuildRequires: libfdt-devel >= %{libfdt_version}
BuildRequires: lzo-devel snappy-devel
BuildRequires: numactl-devel
BuildRequires: device-mapper-multipath-devel
BuildRequires: systemd-devel
%if %{have_pmem}
BuildRequires: libpmem-devel
%endif
BuildRequires: pkgconfig(xkbcommon)
%if %{with opengl}
BuildRequires: pkgconfig(epoxy)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(gbm)
%endif
BuildRequires: perl-Test-Harness
BuildRequires: libbpf-devel
%if "%{toolchain}" == "clang"
BuildRequires: clang
%else
BuildRequires: gcc
%endif
BuildRequires: make
BuildRequires: SDL2-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: alsa-lib-devel
%if %{with nfs}
BuildRequires: libnfs-devel
%endif
BuildRequires: ncurses-devel
BuildRequires: libjpeg-devel
BuildRequires: gtk3-devel
BuildRequires: vte291-devel
BuildRequires: gettext
BuildRequires: bzip2-devel
BuildRequires: libtasn1-devel
%if %{with virgl}
BuildRequires: virglrenderer-devel
%endif
BuildRequires: libudev-devel
BuildRequires: pam-devel
BuildRequires: liburing-devel
BuildRequires: libzstd-devel
BuildRequires: hostname
BuildRequires: daxctl-devel
BuildRequires: fuse-devel
BuildRequires: fuse3-devel
BuildRequires: flex bison
BuildRequires: glibc-static pcre2-static glib2-static zlib-static
%ifarch aarch64
Requires: %{name}-system-aarch64 = %{version}-%{release}
%endif
%ifarch ppc64le
Requires: %{name}-system-ppc = %{version}-%{release}
%endif
%ifarch x86_64
Requires: %{name}-system-x86 = %{version}-%{release}
%endif
%ifarch riscv
Requires: %{name}-system-riscv = %{version}-%{release}
%endif
Requires: %{name}-user = %{version}-%{release}
Requires: %{name}-img = %{version}-%{release}
Requires: %{name}-tools = %{version}-%{release}
Requires: virtiofsd
Requires: qemu-pr-helper = %{version}-%{release}
Requires: vhostuser-backend(fs)
%description
%{name} is an open source virtualizer that provides hardware
emulation for the KVM hypervisor. %{name} acts as a virtual
machine monitor together with the KVM kernel modules, and emulates the
hardware for a full system such as a PC and its associated peripherals.
%package common
Summary: QEMU common files needed by all QEMU targets
Requires(post): /usr/bin/getent
Requires(post): /usr/sbin/groupadd
Requires(post): /usr/sbin/useradd
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
%ifnarch aarch64
Requires: ipxe-roms-qemu >= %{ipxe_version}
%endif
Obsoletes: %{name}-device-display-virtio-gpu-gl <= %{version}
Obsoletes: %{name}-device-display-virtio-gpu-pci-gl <= %{version}
Obsoletes: %{name}-virtiofsd <= %{version}
%description common
This package provides documentation and auxiliary programs used with %{name}.
%package docs
Summary: %{name} documentation
%description docs
%{name}-docs provides documentation files regarding %{name}.
%package -n qemu-img
Summary: QEMU command line tool for manipulating disk images
%description -n qemu-img
This package provides a command line tool for manipulating disk images.
%package -n qemu-guest-agent
Summary: QEMU guest agent
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
%description -n qemu-guest-agent
This package provides an agent to run inside guests, which communicates
with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
%package tools
Summary: %{name} support tools
%description tools
%{name}-tools provides various tools related to %{name} usage.
%package -n qemu-pr-helper
Summary: qemu-pr-helper utility for %{name}
%description -n qemu-pr-helper
This package provides the qemu-pr-helper utility that is required for certain
SCSI features.
%package tests
Summary: tests for the %{name} package
Requires: %{name} = %{version}-%{release}
%define testsdir %{_libdir}/%{name}/tests-src
%description tests
The %{name}-tests rpm contains tests that can be used to verify
the functionality of the installed %{name} package
%package block-curl
Summary: QEMU CURL block driver
Requires: %{name}-common = %{version}-%{release}
%description block-curl
This package provides the additional CURL block driver for QEMU.
Install this package if you want to access remote disks over
http, https, ftp and other transports provided by the CURL library.
%package block-iscsi
Summary: QEMU iSCSI block driver
Requires: %{name}-common = %{version}-%{release}
%description block-iscsi
This package provides the additional iSCSI block driver for QEMU.
Install this package if you want to access iSCSI volumes.
%if %{with rbd}
%package block-rbd
Summary: QEMU Ceph/RBD block driver
Requires: %{name}-common = %{version}-%{release}
%description block-rbd
This package provides the additional Ceph/RBD block driver for QEMU.
Install this package if you want to access remote Ceph volumes
using the rbd protocol.
%endif
%package block-ssh
Summary: QEMU SSH block driver
Requires: %{name}-common = %{version}-%{release}
%description block-ssh
This package provides the additional SSH block driver for QEMU.
Install this package if you want to access remote disks using
the Secure Shell (SSH) protocol.
%if %{with opengl}
%package ui-opengl
Summary: QEMU opengl support
Requires: %{name}-common = %{version}-%{release}
Requires: mesa-libGL
Requires: mesa-libEGL
Requires: mesa-dri-drivers
%description ui-opengl
This package provides opengl support.
%endif
%package block-dmg
Summary: QEMU block driver for DMG disk images
Requires: %{name}-common = %{version}-%{release}
%description block-dmg
This package provides the additional DMG block driver for QEMU.
Install this package if you want to open '.dmg' files.
%if %{with nfs}
%package block-nfs
Summary: QEMU NFS block driver
Requires: %{name}-common = %{version}-%{release}
%description block-nfs
This package provides the additional NFS block driver for QEMU.
Install this package if you want to access remote NFS storage.
%endif
%package audio-alsa
Summary: QEMU ALSA audio driver
Requires: %{name}-common = %{version}-%{release}
%description audio-alsa
This package provides the additional ALSA audio driver for QEMU.
%package audio-oss
Summary: QEMU OSS audio driver
Requires: %{name}-common = %{version}-%{release}
%description audio-oss
This package provides the additional OSS audio driver for QEMU.
%package audio-pa
Summary: QEMU PulseAudio audio driver
Requires: %{name}-common = %{version}-%{release}
%description audio-pa
This package provides the additional PulseAudi audio driver for QEMU.
%package audio-sdl
Summary: QEMU SDL audio driver
Requires: %{name}-common = %{version}-%{release}
%description audio-sdl
This package provides the additional SDL audio driver for QEMU.
%package ui-curses
Summary: QEMU curses UI driver
Requires: %{name}-common = %{version}-%{release}
%description ui-curses
This package provides the additional curses UI for QEMU.
%package ui-gtk
Summary: QEMU GTK UI driver
Requires: %{name}-common = %{version}-%{release}
%if %{with opengl}
Requires: %{name}-ui-opengl = %{version}-%{release}
%endif
%description ui-gtk
This package provides the additional GTK UI for QEMU.
%package ui-sdl
Summary: QEMU SDL UI driver
Requires: %{name}-common = %{version}-%{release}
%if %{with opengl}
Requires: %{name}-ui-opengl = %{version}-%{release}
%endif
%description ui-sdl
This package provides the additional SDL UI for QEMU.
%if %{with opengl}
%package ui-egl-headless
Summary: QEMU EGL headless driver
Requires: %{name}-common = %{version}-%{release}
Requires: %{name}-ui-opengl = %{version}-%{release}
%description ui-egl-headless
This package provides the additional egl-headless UI for QEMU.
%endif
%package device-display-virtio-gpu
Summary: QEMU virtio-gpu display device
Requires: %{name}-common = %{version}-%{release}
%description device-display-virtio-gpu
This package provides the virtio-gpu display device for QEMU.
%package device-display-virtio-gpu-pci
Summary: QEMU virtio-gpu-pci display device
Requires: %{name}-common = %{version}-%{release}
%description device-display-virtio-gpu-pci
This package provides the virtio-gpu-pci display device for QEMU.
%package device-display-virtio-gpu-ccw
Summary: QEMU virtio-gpu-ccw display device
Requires: %{name}-common = %{version}-%{release}
%description device-display-virtio-gpu-ccw
This package provides the virtio-gpu-ccw display device for QEMU.
%package device-display-virtio-vga
Summary: QEMU virtio-vga display device
Requires: %{name}-common = %{version}-%{release}
%description device-display-virtio-vga
This package provides the virtio-vga display device for QEMU.
%package device-display-virtio-vga-gl
Summary: QEMU virtio-vga-gl display device
Requires: %{name}-common = %{version}-%{release}
%description device-display-virtio-vga-gl
This package provides the virtio-vga-gl display device for QEMU.
%package device-usb-host
Summary: QEMU usb host device
Requires: %{name}-common = %{version}-%{release}
%description device-usb-host
This package provides the USB pass through driver for QEMU.
%if %{with usb_redir}
%package device-usb-redirect
Summary: QEMU usbredir device
Requires: %{name}-common = %{version}-%{release}
%description device-usb-redirect
This package provides the usbredir device for QEMU.
%endif
%if %{with virtgl}
%package device-display-vhost-user-gpu
Summary: QEMU QXL display device
Requires: %{name}-common = %{version}-%{release}
%description device-display-vhost-user-gpu
This package provides the vhost-user-gpu display device for QEMU.
%endif
%package kvm
Summary: QEMU metapackage for KVM support
Requires: qemu-%{kvm_package} = %{version}-%{release}
%description kvm
This is a meta-package that provides a qemu-system-<arch> package for native
architectures where kvm can be enabled. For example, in an x86 system, this
will install qemu-system-x86
%package kvm-core
Summary: QEMU metapackage for KVM support
Requires: qemu-%{kvm_package}-core = %{version}-%{release}
%description kvm-core
This is a meta-package that provides a qemu-system-<arch>-core package
for native architectures where kvm can be enabled. For example, in an
x86 system, this will install qemu-system-x86-core
%package user
Summary: QEMU user mode emulation of qemu targets
Requires: %{name}-common = %{version}-%{release}
%description user
This package provides the user mode emulation of qemu targets
%package user-binfmt
Summary: QEMU user mode emulation of qemu targets
Requires: %{name}-user = %{version}-%{release}
Requires(post): systemd-units
Requires(postun): systemd-units
%description user-binfmt
This package provides the user mode emulation of qemu targets
%package user-static
Summary: QEMU user mode emulation of qemu targets static build
Requires: %{name}-common = %{version}-%{release}
Requires(post): systemd-units
Requires(postun): systemd-units
%description user-static
This package provides the user mode emulation of qemu targets built as
static binaries
%ifarch aarch64
%package system-aarch64
Summary: QEMU system emulator for AArch64
Requires: %{name}-system-aarch64-core = %{version}-%{release}
%{requires_all_modules}
%description system-aarch64
This package provides the QEMU system emulator for AArch64.
%package system-aarch64-core
Summary: QEMU system emulator for AArch64
Requires: %{name}-common = %{version}-%{release}
Requires: edk2-aarch64
%description system-aarch64-core
This package provides the QEMU system emulator for AArch64.
%endif
%ifarch loongarch64
%package system-loongarch64
Summary: QEMU system emulator for Loongarch64
Requires: %{name}-system-loongarch64-core = %{version}-%{release}
%description system-Loongarch64
This package provides the QEMU system emulator for Loongarch64.
%package system-loongarch64-core
Summary: QEMU system emulator for Loongarch64
Requires: %{name}-common = %{version}-%{release}
%description system-loongarch64-core
This package provides the QEMU system emulator for Loongarch64.
%endif
%if %{with extra_arch}
%package system-alpha
Summary: QEMU system emulator for Alpha
Requires: %{name}-system-alpha-core = %{version}-%{release}
%{requires_all_modules}
%description system-alpha
This package provides the QEMU system emulator for Alpha systems.
%package system-alpha-core
Summary: QEMU system emulator for Alpha
Requires: %{name}-common = %{version}-%{release}
%description system-alpha-core
This package provides the QEMU system emulator for Alpha systems.
%package system-arm
Summary: QEMU system emulator for ARM
Requires: %{name}-system-arm-core = %{version}-%{release}
%{requires_all_modules}
%description system-arm
This package provides the QEMU system emulator for ARM systems.
%package system-arm-core
Summary: QEMU system emulator for ARM
Requires: %{name}-common = %{version}-%{release}
%description system-arm-core
This package provides the QEMU system emulator for ARM boards.
%package system-avr
Summary: QEMU system emulator for AVR
Requires: %{name}-system-avr-core = %{version}-%{release}
%{requires_all_modules}
%description system-avr
This package provides the QEMU system emulator for AVR systems.
%package system-avr-core
Summary: QEMU system emulator for AVR
Requires: %{name}-common = %{version}-%{release}
%description system-avr-core
This package provides the QEMU system emulator for AVR systems.
%package system-cris
Summary: QEMU system emulator for CRIS
Requires: %{name}-system-cris-core = %{version}-%{release}
%{requires_all_modules}
%description system-cris
This package provides the system emulator for CRIS systems.
%package system-cris-core
Summary: QEMU system emulator for CRIS
Requires: %{name}-common = %{version}-%{release}
%description system-cris-core
This package provides the system emulator for CRIS boards.
%package system-hppa
Summary: QEMU system emulator for HPPA
Requires: %{name}-system-hppa-core = %{version}-%{release}
%{requires_all_modules}
%description system-hppa
This package provides the QEMU system emulator for HPPA.
%package system-hppa-core
Summary: QEMU system emulator for hppa
Requires: %{name}-common = %{version}-%{release}
%description system-hppa-core
This package provides the QEMU system emulator for HPPA.
%package system-m68k
Summary: QEMU system emulator for ColdFire (m68k)
Requires: %{name}-system-m68k-core = %{version}-%{release}
%{requires_all_modules}
%description system-m68k
This package provides the QEMU system emulator for ColdFire boards.
%package system-m68k-core
Summary: QEMU system emulator for ColdFire (m68k)
Requires: %{name}-common = %{version}-%{release}
%description system-m68k-core
This package provides the QEMU system emulator for ColdFire boards.
%package system-microblaze
Summary: QEMU system emulator for Microblaze
Requires: %{name}-system-microblaze-core = %{version}-%{release}
%{requires_all_modules}
%description system-microblaze
This package provides the QEMU system emulator for Microblaze boards.
%package system-microblaze-core
Summary: QEMU system emulator for Microblaze
Requires: %{name}-common = %{version}-%{release}
%description system-microblaze-core
This package provides the QEMU system emulator for Microblaze boards.
%package system-mips
Summary: QEMU system emulator for MIPS
Requires: %{name}-system-mips-core = %{version}-%{release}
%{requires_all_modules}
%description system-mips
This package provides the QEMU system emulator for MIPS systems.
%package system-mips-core
Summary: QEMU system emulator for MIPS
Requires: %{name}-common = %{version}-%{release}
%description system-mips-core
This package provides the QEMU system emulator for MIPS systems.
%package system-nios2
Summary: QEMU system emulator for nios2
Requires: %{name}-system-nios2-core = %{version}-%{release}
%{requires_all_modules}
%description system-nios2
This package provides the QEMU system emulator for NIOS2.
%package system-nios2-core
Summary: QEMU system emulator for nios2
Requires: %{name}-common = %{version}-%{release}
%description system-nios2-core
This package provides the QEMU system emulator for NIOS2.
%package system-or1k
Summary: QEMU system emulator for OpenRisc32
Requires: %{name}-system-or1k-core = %{version}-%{release}
%{requires_all_modules}
%description system-or1k
This package provides the QEMU system emulator for OpenRisc32 boards.
%package system-or1k-core
Summary: QEMU system emulator for OpenRisc32
Requires: %{name}-common = %{version}-%{release}
%description system-or1k-core
This package provides the QEMU system emulator for OpenRisc32 boards.
%package system-rx
Summary: QEMU system emulator for RX
Requires: %{name}-system-rx-core = %{version}-%{release}
%{requires_all_modules}
%description system-rx
This package provides the QEMU system emulator for RX systems.
%package system-rx-core
Summary: QEMU system emulator for RX
Requires: %{name}-common = %{version}-%{release}
%description system-rx-core
This package provides the QEMU system emulator for RX systems.
%package system-s390x
Summary: QEMU system emulator for S390
Requires: %{name}-system-s390x-core = %{version}-%{release}
%{requires_all_modules}
%description system-s390x
This package provides the QEMU system emulator for S390 systems.
%package system-s390x-core
Summary: QEMU system emulator for S390
Requires: %{name}-common = %{version}-%{release}
%description system-s390x-core
This package provides the QEMU system emulator for S390 systems.
%package system-sh4
Summary: QEMU system emulator for SH4
Requires: %{name}-system-sh4-core = %{version}-%{release}
%{requires_all_modules}
%description system-sh4
This package provides the QEMU system emulator for SH4 boards.
%package system-sh4-core
Summary: QEMU system emulator for SH4
Requires: %{name}-common = %{version}-%{release}
%description system-sh4-core
This package provides the QEMU system emulator for SH4 boards.
%package system-tricore
Summary: QEMU system emulator for tricore
Requires: %{name}-system-tricore-core = %{version}-%{release}
%{requires_all_modules}
%description system-tricore
This package provides the QEMU system emulator for Tricore.
%package system-tricore-core
Summary: QEMU system emulator for tricore
Requires: %{name}-common = %{version}-%{release}
%description system-tricore-core
This package provides the QEMU system emulator for Tricore.
%package system-xtensa
Summary: QEMU system emulator for Xtensa
Requires: %{name}-system-xtensa-core = %{version}-%{release}
%{requires_all_modules}
%description system-xtensa
This package provides the QEMU system emulator for Xtensa boards.
%package system-xtensa-core
Summary: QEMU system emulator for Xtensa
Requires: %{name}-common = %{version}-%{release}
%description system-xtensa-core
This package provides the QEMU system emulator for Xtensa boards.
%endif
%ifarch x86_64
%package system-x86
Summary: QEMU system emulator for x86
Requires: %{name}-system-x86-core = %{version}-%{release}
%{requires_all_modules}
%description system-x86
This package provides the QEMU system emulator for x86. When being run in a x86
machine that supports it, this package also provides the KVM virtualization
platform.
%package system-x86-core
Summary: QEMU system emulator for x86
Requires: %{name}-common = %{version}-%{release}
Requires: seabios-bin
Requires: sgabios-bin
Requires: seavgabios-bin
Requires: edk2-ovmf
%description system-x86-core
This package provides the QEMU system emulator for x86. When being run in a x86
machine that supports it, this package also provides the KVM virtualization
platform.
%endif
%ifarch ppc64le
%package system-ppc
Summary: QEMU system emulator for PPC
Requires: %{name}-system-ppc-core = %{version}-%{release}
%{requires_all_modules}
%description system-ppc
This package provides the QEMU system emulator for PPC and PPC64 systems.
%package system-ppc-core
Summary: QEMU system emulator for PPC
Requires: %{name}-common = %{version}-%{release}
Requires: openbios
Requires: SLOF
Requires: seavgabios-bin
%description system-ppc-core
This package provides the QEMU system emulator for PPC and PPC64 systems.
%endif
%ifarch riscv
%package system-riscv
Summary: QEMU system emulator for RISC-V
Requires: %{name}-system-riscv-core = %{version}-%{release}
%{requires_all_modules}
%description system-riscv
This package provides the QEMU system emulator for RISC-V systems.
%package system-riscv-core
Summary: QEMU system emulator for RISC-V
Requires: %{name}-common = %{version}-%{release}
%description system-riscv-core
This package provides the QEMU system emulator for RISC-V systems
%endif
%prep
%autosetup -p1
%global qemu_kvm_build qemu_kvm_build
mkdir -p %{qemu_kvm_build}
%global static_builddir static_builddir
mkdir -p %{static_builddir}
%build
%define disable_everything \\\
--audio-drv-list= \\\
--disable-attr \\\
--disable-auth-pam \\\
--disable-avx2 \\\
--disable-avx512f \\\
--disable-block-drv-whitelist-in-tools \\\
--disable-bpf \\\
--disable-bochs \\\
--disable-brlapi \\\
--disable-bsd-user \\\
--disable-bzip2 \\\
--disable-cap-ng \\\
--disable-cfi \\\
--disable-cfi-debug \\\
--disable-cloop \\\
--disable-cocoa \\\
--disable-coroutine-pool \\\
--disable-crypto-afalg \\\
--disable-curl \\\
--disable-curses \\\
--disable-dbus-display \\\
--disable-debug-info \\\
--disable-debug-mutex \\\
--disable-debug-tcg \\\
--disable-dmg \\\
--disable-docs \\\
--disable-fdt \\\
--disable-fuse \\\
--disable-fuse-lseek \\\
--disable-gcrypt \\\
--disable-gio \\\
--disable-glusterfs \\\
--disable-gnutls \\\
--disable-gtk \\\
--disable-guest-agent \\\
--disable-guest-agent-msi \\\
--disable-hvf \\\
--disable-iconv \\\
--disable-kvm \\\
--disable-libdaxctl \\\
--disable-libiscsi \\\
--disable-libnfs \\\
--disable-libpmem \\\
--disable-libssh \\\
--disable-libudev \\\
--disable-libusb \\\
--disable-linux-aio \\\
--disable-linux-io-uring \\\
--disable-linux-user \\\
--disable-live-block-migration \\\
--disable-lto \\\
--disable-lzfse \\\
--disable-lzo \\\
--disable-malloc-trim \\\
--disable-membarrier \\\
--disable-modules \\\
--disable-module-upgrades \\\
--disable-mpath \\\
--disable-multiprocess \\\
--disable-netmap \\\
--disable-nettle \\\
--disable-numa \\\
--disable-opengl \\\
--disable-parallels \\\
--disable-pie \\\
--disable-plugins \\\
--disable-pvrdma \\\
--disable-qcow1 \\\
--disable-qed \\\
--disable-qom-cast-debug \\\
--disable-rbd \\\
--disable-rdma \\\
--disable-replication \\\
--disable-rng-none \\\
--disable-safe-stack \\\
--disable-sanitizers \\\
--disable-sdl \\\
--disable-sdl-image \\\
--disable-seccomp \\\
--disable-smartcard \\\
--disable-snappy \\\
--disable-sparse \\\
--disable-spice \\\
--disable-spice-protocol \\\
--disable-strip \\\
--disable-system \\\
--disable-tcg \\\
--disable-tools \\\
--disable-tpm \\\
--disable-u2f \\\
--disable-usb-redir \\\
--disable-user \\\
--disable-vde \\\
--disable-vdi \\\
--disable-virglrenderer \\\
--disable-virtfs \\\
--disable-vnc \\\
--disable-vnc-jpeg \\\
--disable-vnc-sasl \\\
--disable-vte \\\
--disable-vvfat \\\
--disable-werror \\\
--disable-whpx \\\
--disable-xen \\\
--disable-xen-pci-passthrough \\\
--disable-xkbcommon \\\
--disable-zstd \\\
--without-default-devices
run_configure() {
../configure \
--cc=%{__cc} \
--cxx=/bin/false \
--prefix="%{_prefix}" \
--libdir="%{_libdir}" \
--datadir="%{_datadir}" \
--sysconfdir="%{_sysconfdir}" \
--interp-prefix=%{_prefix}/qemu-%M \
--localstatedir="%{_localstatedir}" \
--docdir="%{_docdir}" \
--libexecdir="%{_libexecdir}" \
--extra-ldflags="%{build_ldflags}" \
--extra-cflags="%{optflags}" \
--with-pkgversion="%{name}-%{version}-%{release}" \
--with-suffix="%{name}" \
--firmwarepath="%firmwaredirs" \
--enable-trace-backends=dtrace \
--with-coroutine=ucontext \
--tls-priority=@QEMU,SYSTEM \
%{disable_everything} \
"$@"
}
pushd %{qemu_kvm_build}
run_configure \
%if %{defined target_list}
--target-list="%{target_list}" \
%endif
%if %{defined block_drivers_rw_list}
--block-drv-rw-whitelist=%{block_drivers_rw_list} \
%endif
%if %{defined block_drivers_ro_list}
--block-drv-ro-whitelist=%{block_drivers_ro_list} \
%endif
--enable-attr \
%ifarch x86_64
--enable-avx2 \
%endif
--enable-bpf \
--enable-cap-ng \
--enable-coroutine-pool \
--enable-curl \
--enable-debug-info \
--enable-docs \
--enable-fdt=system \
--enable-gnutls \
--enable-guest-agent \
--enable-iconv \
--enable-kvm \
--enable-libiscsi \
%if %{have_pmem}
--enable-libpmem \
%endif
--enable-libssh \
--enable-libusb \
--enable-libudev \
--enable-linux-aio \
%if "%{_lto_cflags}" != "%{nil}"
--enable-lto \
%endif
--enable-lzo \
--enable-malloc-trim \
--enable-modules \
--enable-mpath \
--enable-numa \
%if %{with opengl}
--enable-opengl \
%endif
--enable-pie \
%if %{with rbd}
--enable-rbd \
%endif
--enable-rdma \
--enable-seccomp \
--enable-selinux \
--enable-snappy \
--enable-system \
--enable-tcg \
--enable-tools \
--enable-tpm \
%if %{with usb_redir}
--enable-usb-redir \
%endif
--enable-vnc \
--enable-vnc-sasl \
--enable-xkbcommon \
\
\
--audio-drv-list=pa,sdl,alsa,%{?jack_drv}oss \
--target-list-exclude=moxie-softmmu \
--with-default-devices \
--enable-auth-pam \
--enable-bochs \
--enable-bzip2 \
--enable-cloop \
--enable-curses \
--enable-dmg \
--enable-fuse \
--enable-gio \
--enable-gtk \
--enable-libdaxctl \
%if %{with nfs}
--enable-libnfs \
%endif
--enable-libudev \
--enable-linux-io-uring \
--enable-linux-user \
--enable-live-block-migration \
--enable-multiprocess \
--enable-vnc-jpeg \
--enable-parallels \
--enable-pvrdma \
--enable-qcow1 \
--enable-qed \
--enable-qom-cast-debug \
--enable-replication \
--enable-sdl \
--enable-vdi \
--enable-vhost-crypto \
%if %{with virgl}
--enable-virglrenderer \
%endif
--enable-virtfs \
--enable-vnc-jpeg \
--enable-vte \
--enable-vvfat \
--enable-zstd \
%make_build
popd
pushd %{static_builddir}
run_configure \
--enable-attr \
--enable-linux-user \
--enable-tcg \
--disable-install-blobs \
--static
%make_build
popd
%install
install -D -m 0644 %{_sourcedir}/qemu-guest-agent.service %{buildroot}%{_unitdir}/qemu-guest-agent.service
install -D -m 0644 %{_sourcedir}/qemu-ga.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
install -D -m 0644 %{_sourcedir}/99-qemu-guest-agent.rules %{buildroot}%{_udevrulesdir}/99-qemu-guest-agent.rules
mkdir -p %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook.d
install -p scripts/qemu-guest-agent/fsfreeze-hook %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook
mkdir -p %{buildroot}%{_datadir}/%{name}/qemu-ga/fsfreeze-hook.d/
install -p -m 0644 scripts/qemu-guest-agent/fsfreeze-hook.d/*.sample %{buildroot}%{_datadir}/%{name}/qemu-ga/fsfreeze-hook.d/
mkdir -p -v %{buildroot}%{_localstatedir}/log/qemu-ga/
install -D -m 0644 %{_sourcedir}/bridge.conf %{buildroot}%{_sysconfdir}/%{name}/bridge.conf
install -m 0644 contrib/systemd/qemu-pr-helper.service %{buildroot}%{_unitdir}
install -m 0644 contrib/systemd/qemu-pr-helper.socket %{buildroot}%{_unitdir}
install -D -p -m 0644 %{_sourcedir}/vhost.conf %{buildroot}%{_sysconfdir}/modprobe.d/vhost.conf
install -D -p -m 0644 %{modprobe_kvm_conf} %{buildroot}%{_sysconfdir}/modprobe.d/kvm.conf
install -D -p -m 0644 -t %{buildroot}%{qemudocdir} README.rst COPYING COPYING.LIB LICENSE docs/interop/qmp-spec.rst
install -D -p -m 0644 qemu.sasl %{buildroot}%{_sysconfdir}/sasl2/%{name}.conf
install -m 0644 scripts/dump-guest-memory.py %{buildroot}%{_datadir}/%{name}
install -m 0755 scripts/simpletrace.py %{buildroot}%{_datadir}/%{name}/simpletrace.py
mkdir -p %{buildroot}%{_datadir}/%{name}/tracetool
install -m 0644 -t %{buildroot}%{_datadir}/%{name}/tracetool scripts/tracetool/*.py
mkdir -p %{buildroot}%{_datadir}/%{name}/tracetool/backend
install -m 0644 -t %{buildroot}%{_datadir}/%{name}/tracetool/backend scripts/tracetool/backend/*.py
mkdir -p %{buildroot}%{_datadir}/%{name}/tracetool/format
install -m 0644 -t %{buildroot}%{_datadir}/%{name}/tracetool/format scripts/tracetool/format/*.py
mkdir -p %{buildroot}%{testsdir}/python
mkdir -p %{buildroot}%{testsdir}/tests
mkdir -p %{buildroot}%{testsdir}/tests/avocado
mkdir -p %{buildroot}%{testsdir}/tests/qemu-iotests
mkdir -p %{buildroot}%{testsdir}/scripts/qmp
cp -R %{qemu_kvm_build}/tests/avocado/* %{buildroot}%{testsdir}/tests/avocado/
cp -R %{qemu_kvm_build}/python/qemu %{buildroot}%{testsdir}/python
cp -R %{qemu_kvm_build}/scripts/qmp/* %{buildroot}%{testsdir}/scripts/qmp
install -p -m 0755 tests/Makefile.include %{buildroot}%{testsdir}/tests/
cp -R tests/qemu-iotests/* %{buildroot}%{testsdir}/tests/qemu-iotests/
cp -ur %{qemu_kvm_build}/tests/qemu-iotests/* %{buildroot}%{testsdir}/tests/qemu-iotests/
pushd %{qemu_kvm_build}
%make_install
popd
chmod +x %{buildroot}%{_libdir}/%{name}/*.so
find %{buildroot}%{qemudocdir} -name .buildinfo -delete
rm -rf %{buildroot}%{qemudocdir}/specs
# Remove vof roms
rm -rf %{buildroot}%{_datadir}/%{name}/vof-nvram.bin
rm -rf %{buildroot}%{_datadir}/%{name}/vof.bin
%ifnarch ppc64le
rm -rf %{buildroot}%{_bindir}/qemu-system-ppc
rm -rf %{buildroot}%{_bindir}/qemu-system-ppc64
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-ppc*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-ppc.1*
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-ppc64.1*
rm -rf %{buildroot}%{_datadir}/%{name}/bamboo.dtb
rm -rf %{buildroot}%{_datadir}/%{name}/canyonlands.dtb
rm -rf %{buildroot}%{_datadir}/%{name}/qemu_vga.ndrv
rm -rf %{buildroot}%{_datadir}/%{name}/skiboot.lid
rm -rf %{buildroot}%{_datadir}/%{name}/u-boot.e500
rm -rf %{buildroot}%{_datadir}/%{name}/u-boot-sam460-20100605.bin
%endif
%ifnarch aarch64
rm -rf %{buildroot}%{_bindir}/qemu-system-aarch64
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-aarch64*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-aarch64.1*
%endif
%ifnarch loongarch64
rm -rf %{buildroot}%{_bindir}/qemu-loongarch64
rm -rf %{buildroot}%{_bindir}/qemu-system-loongarch64
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-loongarch64-log.stp
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-loongarch64-simpletrace.stp
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-loongarch64.stp
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-loongarch64-log.stp
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-loongarch64-simpletrace.stp
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-loongarch64.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-loongarch64.1.gz
%endif
%ifnarch riscv
rm -rf %{buildroot}%{_bindir}/qemu-system-riscv32
rm -rf %{buildroot}%{_bindir}/qemu-system-riscv64
rm -rf %{buildroot}%{_datadir}/%{name}/opensbi-riscv*.bin
rm -rf %{buildroot}%{_datadir}/%{name}/opensbi-riscv*.elf
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-riscv*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-riscv*.1*
%endif
%ifnarch x86_64
rm -rf %{buildroot}%{_bindir}/qemu-system-i386
rm -rf %{buildroot}%{_bindir}/qemu-system-x86_64
rm -rf %{buildroot}%{_libdir}/%{name}/accel-tcg-i386.so
rm -rf %{buildroot}%{_libdir}/%{name}/accel-tcg-x86_64.so
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-i386*.stp
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-i386.1*
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-x86_64.1*
rm -rf %{buildroot}%{_datadir}/%{name}/kvmvapic.bin
rm -rf %{buildroot}%{_datadir}/%{name}/linuxboot.bin
rm -rf %{buildroot}%{_datadir}/%{name}/multiboot.bin
rm -rf %{buildroot}%{_datadir}/%{name}/multiboot_dma.bin
rm -rf %{buildroot}%{_datadir}/%{name}/pvh.bin
rm -rf %{buildroot}%{_datadir}/%{name}/qboot.rom
rm -rf %{buildroot}%{_bindir}/qemu-kvm
rm -rf %{buildroot}%{_mandir}/man1/qemu-kvm.1*
%endif
rm -rf %{buildroot}%{_bindir}/qemu-system-sparc
rm -rf %{buildroot}%{_bindir}/qemu-system-sparc64
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-sparc*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-sparc.1*
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-sparc64.1*
rm -rf %{buildroot}%{_datadir}/%{name}/QEMU,tcx.bin
rm -rf %{buildroot}%{_datadir}/%{name}/QEMU,cgthree.bin
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-ppc
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc32
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc64
rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin
rm -rf %{buildroot}%{_datadir}/%{name}/pxe*rom
rm -rf %{buildroot}%{_datadir}/%{name}/efi*rom
rm -rf %{buildroot}%{_datadir}/%{name}/vgabios*bin
rm -rf %{buildroot}%{_datadir}/%{name}/bios*.bin
rm -rf %{buildroot}%{_datadir}/%{name}/sgabios.bin
rm -rf %{buildroot}%{_datadir}/%{name}/edk2*
rm -rf %{buildroot}%{_datadir}/%{name}/firmware
%if %{without extra_arch}
rm -rf %{buildroot}%{_bindir}/qemu-system-alpha
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-alpha*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-alpha.1*
rm -rf %{buildroot}%{_datadir}/%{name}/palcode-clipper
rm -rf %{buildroot}%{_bindir}/qemu-system-arm
rm -rf %{buildroot}%{_datadir}/%{name}/npcm7xx_bootrom.bin
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-arm*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-arm.1*
rm -rf %{buildroot}%{_bindir}/qemu-system-avr
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-avr*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-avr.1*
rm -rf %{buildroot}%{_bindir}/qemu-system-cris
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-cris*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-cris.1*
rm -rf %{buildroot}%{_bindir}/qemu-system-hppa
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-hppa*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-hppa.1*
rm -rf %{buildroot}%{_datadir}/%{name}/hppa-firmware.img
rm -rf %{buildroot}%{_bindir}/qemu-system-m68k
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-m68k*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-m68k.1*
rm -rf %{buildroot}%{_bindir}/qemu-system-microblaze
rm -rf %{buildroot}%{_bindir}/qemu-system-microblazeel
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-microblaze*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-microblaze.1*
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-microblazeel.1*
rm -rf %{buildroot}%{_datadir}/%{name}/petalogix*.dtb
rm -rf %{buildroot}%{_bindir}/qemu-system-mips
rm -rf %{buildroot}%{_bindir}/qemu-system-mipsel
rm -rf %{buildroot}%{_bindir}/qemu-system-mips64
rm -rf %{buildroot}%{_bindir}/qemu-system-mips64el
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-mips*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-mips.1*
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-mipsel.1*
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-mips64el.1*
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-mips64.1*
rm -rf %{buildroot}%{_bindir}/qemu-system-nios2
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-nios2*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-nios2.1*
rm -rf %{buildroot}%{_bindir}/qemu-system-or1k
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-or1k*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-or1k.1*
rm -rf %{buildroot}%{_bindir}/qemu-system-rx
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-rx*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-rx.1*
rm -rf %{buildroot}%{_bindir}/qemu-system-s390x
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-s390x*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-s390x.1*
rm -rf %{buildroot}%{_datadir}/%{name}/s390-ccw.img
rm -rf %{buildroot}%{_datadir}/%{name}/s390-netboot.img
rm -rf %{buildroot}%{_bindir}/qemu-system-sh4
rm -rf %{buildroot}%{_bindir}/qemu-system-sh4eb
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-sh4*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-sh4.1*
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-sh4eb.1*
rm -rf %{buildroot}%{_bindir}/qemu-system-tricore
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-tricore*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-tricore.1*
rm -rf %{buildroot}%{_bindir}/qemu-system-xtensa
rm -rf %{buildroot}%{_bindir}/qemu-system-xtensaeb
rm -rf %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-xtensa*.stp
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-xtensa.1*
rm -rf %{buildroot}%{_mandir}/man1/qemu-system-xtensaeb.1*
%endif
%find_lang %{name}
chmod -x %{buildroot}%{_mandir}/man1/*
for emu in %{buildroot}%{_bindir}/qemu-system-*; do
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/$(basename $emu).1.gz
done
%ifarch x86_64
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/qemu-kvm.1.gz
ln -sf qemu-system-x86_64 %{buildroot}%{_bindir}/qemu-kvm
%endif
%global binfmt_dir %{buildroot}%{_exec_prefix}/lib/binfmt.d
mkdir -p %{binfmt_dir}
./scripts/qemu-binfmt-conf.sh --systemd ALL --exportdir %{binfmt_dir} --qemu-path %{_bindir}
for i in %{binfmt_dir}/*; do mv $i $(echo $i | sed 's/.conf/-dynamic.conf/'); done
%define static_buildroot %{buildroot}/static/
mkdir -p %{static_buildroot}
pushd %{static_builddir}
make DESTDIR=%{static_buildroot} install
popd
for src in %{static_buildroot}%{_bindir}/qemu-*; do
mv $src %{buildroot}%{_bindir}/$(basename $src)-static; done
for src in %{static_buildroot}%{_datadir}/systemtap/tapset/qemu-*.stp; do
dst=`echo $src | sed -e 's/.stp/-static.stp/'`
mv $src $dst
perl -i -p -e 's/(qemu-\w+)/$1-static/g; s/(qemu\.user\.\w+)/$1.static/g' $dst
mv $dst %{buildroot}%{_datadir}/systemtap/tapset
done
for regularfmt in %{binfmt_dir}/*; do
staticfmt="$(echo $regularfmt | sed 's/-dynamic/-static/g')"
cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
done
rm -rf %{static_buildroot}
%check
pushd %{qemu_kvm_build}
%make_build check
popd
%post -n qemu-guest-agent
%systemd_post qemu-guest-agent.service
%preun -n qemu-guest-agent
%systemd_preun qemu-guest-agent.service
%postun -n qemu-guest-agent
%systemd_postun_with_restart qemu-guest-agent.service
%post common
getent group kvm >/dev/null || groupadd -g 36 -r kvm
getent group qemu >/dev/null || groupadd -g 107 -r qemu
getent passwd qemu >/dev/null || \
useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
-c "qemu user" qemu
%post user-binfmt
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
%postun user-binfmt
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
%post user-static
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
%postun user-static
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
%files
# main pkg
%files -n qemu-img
%{_bindir}/qemu-img
%{_bindir}/qemu-io
%{_bindir}/qemu-nbd
%{_bindir}/qemu-storage-daemon
%{_mandir}/man1/qemu-img.1*
%{_mandir}/man8/qemu-nbd.8*
%{_mandir}/man1/qemu-storage-daemon.1*
%{_mandir}/man7/qemu-storage-daemon-qmp-ref.7*
%files -n qemu-guest-agent
%license COPYING
%doc README.rst
%{_bindir}/qemu-ga
%{_mandir}/man8/qemu-ga.8*
%{_unitdir}/qemu-guest-agent.service
%{_udevrulesdir}/99-qemu-guest-agent.rules
%config(noreplace) %{_sysconfdir}/sysconfig/qemu-ga
%{_sysconfdir}/qemu-ga
%{_datadir}/%{name}/qemu-ga
%dir %{_localstatedir}/log/qemu-ga
%files -n qemu-pr-helper
%{_bindir}/qemu-pr-helper
%{_unitdir}/qemu-pr-helper.service
%{_unitdir}/qemu-pr-helper.socket
%{_mandir}/man8/qemu-pr-helper.8*
%files tools
%{_bindir}/qemu-keymap
%{_bindir}/qemu-edid
%{_bindir}/qemu-trace-stap
%{_bindir}/elf2dmp
%{_datadir}/%{name}/simpletrace.py*
%{_datadir}/%{name}/tracetool/*.py*
%{_datadir}/%{name}/tracetool/backend/*.py*
%{_datadir}/%{name}/tracetool/format/*.py*
%{_datadir}/%{name}/dump-guest-memory.py*
%{_datadir}/%{name}/trace-events-all
%{_mandir}/man1/qemu-trace-stap.1*
%files docs
%doc %{qemudocdir}
%files common -f %{name}.lang
%license COPYING COPYING.LIB LICENSE
%dir %{_datadir}/%{name}/
%{_datadir}/icons/*
%{_datadir}/%{name}/keymaps/
%{_datadir}/%{name}/linuxboot_dma.bin
%attr(4755, -, -) %{_libexecdir}/qemu-bridge-helper
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/bridge.conf
%config(noreplace) %{_sysconfdir}/modprobe.d/kvm.conf
%config(noreplace) %{_sysconfdir}/modprobe.d/vhost.conf
%config(noreplace) %{_sysconfdir}/sasl2/%{name}.conf
%{_datadir}/applications/qemu.desktop
%exclude %{_datadir}/%{name}/qemu-nsis.bmp
%{_libexecdir}/virtfs-proxy-helper
%{_mandir}/man1/%{name}.1*
%{_mandir}/man7/qemu-block-drivers.7*
%{_mandir}/man7/qemu-cpu-models.7*
%{_mandir}/man7/qemu-ga-ref.7*
%{_mandir}/man7/qemu-qmp-ref.7*
%{_mandir}/man1/virtfs-proxy-helper.1*
%files tests
%{testsdir}
%{_libdir}/%{name}/accel-qtest-*.so
%files block-curl
%{_libdir}/%{name}/block-curl.so
%files block-iscsi
%{_libdir}/%{name}/block-iscsi.so
%if %{with rbd}
%files block-rbd
%{_libdir}/%{name}/block-rbd.so
%endif
%files block-ssh
%{_libdir}/%{name}/block-ssh.so
%if %{with opengl}
%files ui-opengl
%{_libdir}/%{name}/ui-opengl.so
%endif
%files block-dmg
%{_libdir}/%{name}/block-dmg-bz2.so
%if %{with nfs}
%files block-nfs
%{_libdir}/%{name}/block-nfs.so
%endif
%files audio-alsa
%{_libdir}/%{name}/audio-alsa.so
%files audio-oss
%{_libdir}/%{name}/audio-oss.so
%files audio-pa
%{_libdir}/%{name}/audio-pa.so
%files audio-sdl
%{_libdir}/%{name}/audio-sdl.so
%files ui-curses
%{_libdir}/%{name}/ui-curses.so
%files ui-gtk
%{_libdir}/%{name}/ui-gtk.so
%files ui-sdl
%{_libdir}/%{name}/ui-sdl.so
%if %{with opengl}
%files ui-egl-headless
%{_libdir}/%{name}/ui-egl-headless.so
%endif
%files device-display-virtio-gpu
%{_libdir}/%{name}/hw-display-virtio-gpu.so
%files device-display-virtio-gpu-pci
%{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
%files device-display-virtio-gpu-ccw
%{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so
%files device-display-virtio-vga
%{_libdir}/%{name}/hw-display-virtio-vga.so
%files device-display-virtio-vga-gl
%{_libdir}/%{name}/hw-display-virtio-vga-gl.so
%files device-usb-host
%{_libdir}/%{name}/hw-usb-host.so
%if %{with usb_redir}
%files device-usb-redirect
%{_libdir}/%{name}/hw-usb-redirect.so
%endif
%if %{with virtgl}
%files device-display-vhost-user-gpu
%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
%{_libexecdir}/vhost-user-gpu
%endif
%files kvm
# Deliberately empty
%files kvm-core
# Deliberately empty
%files user
%{_bindir}/qemu-i386
%{_bindir}/qemu-x86_64
%{_bindir}/qemu-aarch64
%{_bindir}/qemu-aarch64_be
%{_bindir}/qemu-alpha
%{_bindir}/qemu-arm
%{_bindir}/qemu-armeb
%{_bindir}/qemu-cris
%{_bindir}/qemu-hppa
%{_bindir}/qemu-hexagon
%{_bindir}/qemu-m68k
%{_bindir}/qemu-microblaze
%{_bindir}/qemu-microblazeel
%{_bindir}/qemu-mips
%{_bindir}/qemu-mipsel
%{_bindir}/qemu-mips64
%{_bindir}/qemu-mips64el
%{_bindir}/qemu-mipsn32
%{_bindir}/qemu-mipsn32el
%{_bindir}/qemu-nios2
%{_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-xtensa
%{_bindir}/qemu-xtensaeb
%{_datadir}/systemtap/tapset/qemu-i386*.stp
%{_datadir}/systemtap/tapset/qemu-x86_64*.stp
%{_datadir}/systemtap/tapset/qemu-aarch64*.stp
%{_datadir}/systemtap/tapset/qemu-alpha*.stp
%{_datadir}/systemtap/tapset/qemu-arm*.stp
%{_datadir}/systemtap/tapset/qemu-cris*.stp
%{_datadir}/systemtap/tapset/qemu-hppa*.stp
%{_datadir}/systemtap/tapset/qemu-hexagon*.stp
%{_datadir}/systemtap/tapset/qemu-m68k*.stp
%{_datadir}/systemtap/tapset/qemu-microblaze*.stp
%{_datadir}/systemtap/tapset/qemu-mips*.stp
%{_datadir}/systemtap/tapset/qemu-nios2*.stp
%{_datadir}/systemtap/tapset/qemu-or1k*.stp
%{_datadir}/systemtap/tapset/qemu-ppc*.stp
%{_datadir}/systemtap/tapset/qemu-riscv*.stp
%{_datadir}/systemtap/tapset/qemu-s390x*.stp
%{_datadir}/systemtap/tapset/qemu-sh4*.stp
%{_datadir}/systemtap/tapset/qemu-sparc*.stp
%{_datadir}/systemtap/tapset/qemu-xtensa*.stp
%files user-binfmt
%{_exec_prefix}/lib/binfmt.d/qemu-*-dynamic.conf
%files user-static
%{_exec_prefix}/lib/binfmt.d/qemu-*-static.conf
%{_bindir}/qemu-*-static
%{_datadir}/systemtap/tapset/qemu-*-static.stp
%ifarch aarch64
%files system-aarch64
%files system-aarch64-core
%{_bindir}/qemu-system-aarch64
%{_datadir}/systemtap/tapset/qemu-system-aarch64*.stp
%{_mandir}/man1/qemu-system-aarch64.1*
%endif
%ifarch loongarch64
%files system-loongarch64
%files system-loongarch64-core
%{_bindir}/qemu-loongarch64
%{_bindir}/qemu-system-loongarch64
%{_datadir}/systemtap/tapset/qemu-loongarch64-log.stp
%{_datadir}/systemtap/tapset/qemu-loongarch64-simpletrace.stp
%{_datadir}/systemtap/tapset/qemu-loongarch64.stp
%{_datadir}/systemtap/tapset/qemu-system-loongarch64-log.stp
%{_datadir}/systemtap/tapset/qemu-system-loongarch64-simpletrace.stp
%{_datadir}/systemtap/tapset/qemu-system-loongarch64.stp
%{_mandir}/man1/qemu-system-loongarch64.1.gz
%endif
%if %{with extra_arch}
%files system-alpha
%files system-alpha-core
%{_bindir}/qemu-system-alpha
%{_datadir}/systemtap/tapset/qemu-system-alpha*.stp
%{_mandir}/man1/qemu-system-alpha.1*
%{_datadir}/%{name}/palcode-clipper
%files system-arm
%files system-arm-core
%{_bindir}/qemu-system-arm
%{_datadir}/%{name}/npcm7xx_bootrom.bin
%{_datadir}/systemtap/tapset/qemu-system-arm*.stp
%{_mandir}/man1/qemu-system-arm.1*
%files system-avr
%files system-avr-core
%{_bindir}/qemu-system-avr
%{_datadir}/systemtap/tapset/qemu-system-avr*.stp
%{_mandir}/man1/qemu-system-avr.1*
%files system-cris
%files system-cris-core
%{_bindir}/qemu-system-cris
%{_datadir}/systemtap/tapset/qemu-system-cris*.stp
%{_mandir}/man1/qemu-system-cris.1*
%files system-hppa
%files system-hppa-core
%{_bindir}/qemu-system-hppa
%{_datadir}/systemtap/tapset/qemu-system-hppa*.stp
%{_mandir}/man1/qemu-system-hppa.1*
%{_datadir}/%{name}/hppa-firmware.img
%files system-m68k
%files system-m68k-core
%{_bindir}/qemu-system-m68k
%{_datadir}/systemtap/tapset/qemu-system-m68k*.stp
%{_mandir}/man1/qemu-system-m68k.1*
%files system-microblaze
%files system-microblaze-core
%{_bindir}/qemu-system-microblaze
%{_bindir}/qemu-system-microblazeel
%{_datadir}/systemtap/tapset/qemu-system-microblaze*.stp
%{_mandir}/man1/qemu-system-microblaze.1*
%{_mandir}/man1/qemu-system-microblazeel.1*
%{_datadir}/%{name}/petalogix*.dtb
%files system-mips
%files system-mips-core
%{_bindir}/qemu-system-mips
%{_bindir}/qemu-system-mipsel
%{_bindir}/qemu-system-mips64
%{_bindir}/qemu-system-mips64el
%{_datadir}/systemtap/tapset/qemu-system-mips*.stp
%{_mandir}/man1/qemu-system-mips.1*
%{_mandir}/man1/qemu-system-mipsel.1*
%{_mandir}/man1/qemu-system-mips64el.1*
%{_mandir}/man1/qemu-system-mips64.1*
%files system-nios2
%files system-nios2-core
%{_bindir}/qemu-system-nios2
%{_datadir}/systemtap/tapset/qemu-system-nios2*.stp
%{_mandir}/man1/qemu-system-nios2.1*
%files system-or1k
%files system-or1k-core
%{_bindir}/qemu-system-or1k
%{_datadir}/systemtap/tapset/qemu-system-or1k*.stp
%{_mandir}/man1/qemu-system-or1k.1*
%files system-rx
%files system-rx-core
%{_bindir}/qemu-system-rx
%{_datadir}/systemtap/tapset/qemu-system-rx*.stp
%{_mandir}/man1/qemu-system-rx.1*
%files system-s390x
%files system-s390x-core
%{_bindir}/qemu-system-s390x
%{_datadir}/systemtap/tapset/qemu-system-s390x*.stp
%{_mandir}/man1/qemu-system-s390x.1*
%{_datadir}/%{name}/s390-ccw.img
%{_datadir}/%{name}/s390-netboot.img
%files system-sh4
%files system-sh4-core
%{_bindir}/qemu-system-sh4
%{_bindir}/qemu-system-sh4eb
%{_datadir}/systemtap/tapset/qemu-system-sh4*.stp
%{_mandir}/man1/qemu-system-sh4.1*
%{_mandir}/man1/qemu-system-sh4eb.1*
%files system-tricore
%files system-tricore-core
%{_bindir}/qemu-system-tricore
%{_datadir}/systemtap/tapset/qemu-system-tricore*.stp
%{_mandir}/man1/qemu-system-tricore.1*
%files system-xtensa
%files system-xtensa-core
%{_bindir}/qemu-system-xtensa
%{_bindir}/qemu-system-xtensaeb
%{_datadir}/systemtap/tapset/qemu-system-xtensa*.stp
%{_mandir}/man1/qemu-system-xtensa.1*
%{_mandir}/man1/qemu-system-xtensaeb.1*
%endif
%ifarch x86_64
%files system-x86
%files system-x86-core
%{_bindir}/qemu-system-i386
%{_bindir}/qemu-system-x86_64
%{_libdir}/%{name}/accel-tcg-i386.so
%{_libdir}/%{name}/accel-tcg-x86_64.so
%{_datadir}/systemtap/tapset/qemu-system-i386*.stp
%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp
%{_mandir}/man1/qemu-system-i386.1*
%{_mandir}/man1/qemu-system-x86_64.1*
%{_datadir}/%{name}/kvmvapic.bin
%{_datadir}/%{name}/linuxboot.bin
%{_datadir}/%{name}/multiboot.bin
%{_datadir}/%{name}/multiboot_dma.bin
%{_datadir}/%{name}/pvh.bin
%{_datadir}/%{name}/qboot.rom
%{_bindir}/qemu-kvm
%{_mandir}/man1/qemu-kvm.1*
%endif
%ifarch ppc64le
%files system-ppc
%files system-ppc-core
%{_bindir}/qemu-system-ppc
%{_bindir}/qemu-system-ppc64
%{_datadir}/systemtap/tapset/qemu-system-ppc*.stp
%{_mandir}/man1/qemu-system-ppc.1*
%{_mandir}/man1/qemu-system-ppc64.1*
%{_datadir}/%{name}/bamboo.dtb
%{_datadir}/%{name}/canyonlands.dtb
%{_datadir}/%{name}/qemu_vga.ndrv
%{_datadir}/%{name}/skiboot.lid
%{_datadir}/%{name}/u-boot.e500
%{_datadir}/%{name}/u-boot-sam460-20100605.bin
%endif
%ifarch riscv
%files system-riscv
%files system-riscv-core
%{_bindir}/qemu-system-riscv32
%{_bindir}/qemu-system-riscv64
%{_datadir}/%{name}/opensbi-riscv*.bin
%{_datadir}/%{name}/opensbi-riscv*.elf
%{_datadir}/systemtap/tapset/qemu-system-riscv*.stp
%{_mandir}/man1/qemu-system-riscv*.1*
%endif
%changelog
* Mon Mar 25 2024 Mengbiao Xiong <[email protected]> - 8.2.0-2
- Support hygon tkm key isolation
* Fri Jan 26 2024 Upgrade Robot <[email protected]> - 8.2.0-1
- Upgrade to version 8.2.0
* Mon Dec 11 2023 cunshunxia <[email protected]> - 8.0.2-13
- fix-CVE-2023-2861
* Wed Nov 08 2023 cunshunxia <[email protected]> - 8.0.2-12
- fix CVE-2023-5088 CVE-2023-3301
* Thu Oct 19 2023 jackeyji <[email protected]> - 8.0.2-11
- fix CVE-2023-40360 CVE-2023-4135 CVE-2023-3354 CVE-2023-3255 CVE-2023-3180
* Wed Oct 18 2023 jackeyji <[email protected]> - 8.0.2-10
- fix CVE-2023-42467
* Thu Oct 12 2023 Miaojun Dong <[email protected]> - 8.0.2-9
- Rebuild for curl-8.4.0
* Fri Sep 08 2023 OpenCloudOS Release Engineering <[email protected]> - 8.0.2-8
- Rebuilt for OpenCloudOS Stream 23.09
* Wed Aug 23 2023 kianli <[email protected]> - 8.0.2-7
- Rebuilt for device-mapper-multipath 0.9.5
* Tue Aug 22 2023 Shuo Wang <[email protected]> - 8.0.2-6
- Rebuilt for ndctl 78
* Fri Aug 18 2023 Miaojun Dong <[email protected]> - 8.0.2-5
- Rebuild for ceph-18.2.0
* Thu Aug 17 2023 cunshunxia <[email protected]> - 8.0.2-4
- Rebuilt for SDL2 2.28.2
* Fri Aug 11 2023 Wang Guodong <[email protected]> - 8.0.2-3
- Replace pcre-static with pcre2-static, to adjust for glib2 switching
* Mon Jul 17 2023 kianli <[email protected]> - 8.0.2-2
- Rebuild with libbpf 1.2.0
* Tue Jul 11 2023 cunshunxia <[email protected]> - 8.0.2-1
- upgrade to 8.0.2.
* Fri Apr 28 2023 OpenCloudOS Release Engineering <[email protected]> - 6.2.0-8
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <[email protected]> - 6.2.0-7
- Rebuilt for OpenCloudOS Stream 23
* Tue Feb 14 2023 cunshunxia <[email protected]> - 6.2.0-6
- qemu-kvm require and build qemu-system-x86/qemu-system-riscv
only on x86/riscv.
* Thu Feb 9 2023 cunshunxia <[email protected]> - 6.2.0-5
- require edk2-ovmf only on x86_64.
* Fri Feb 3 2023 cunshunxia <[email protected]> - 6.2.0-4
- not require ipxe on arm.
* Wed Feb 1 2023 cunshunxia <[email protected]> - 6.2.0-3
- fix the changelog date error
* Wed Jan 18 2023 cunshunxia <[email protected]> - 6.2.0-2
- enable ceph on qemu
* Thu Dec 15 2022 cunshunxia <[email protected]> - 6.2.0-1
- initial build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lixianglai/qemu.git
[email protected]:lixianglai/qemu.git
lixianglai
qemu
qemu
master

搜索帮助