# Please keep this package in sync with FC %ifarch %{ix86} %global kvm_package system-x86 # need_qemu_kvm should only ever be used by x86 %global need_qemu_kvm 1 %endif %ifarch x86_64 %global kvm_package system-x86 # need_qemu_kvm should only ever be used by x86 %global need_qemu_kvm 1 %endif %ifarch armv7hl %global kvm_package system-arm %endif %ifarch aarch64 %global kvm_package system-aarch64 %endif %ifarch %{mips} %global kvm_package system-mips %endif %global user_static 1 %global have_kvm 0 %if 0%{?kvm_package:1} %global have_kvm 1 %endif # Matches numactl ExcludeArch %global have_numactl 1 %ifarch %{arm} %global have_numactl 0 %endif # Matches spice ExclusiveArch %global have_spice 0 %ifarch %{ix86} x86_64 %{arm} aarch64 %global have_spice 1 %endif # Matches xen ExclusiveArch %global have_xen 0 %ifarch %{ix86} x86_64 armv7hl aarch64 %global have_xen 1 %endif %global have_liburing 0 %ifnarch %{arm} %global have_liburing 1 %endif %global have_virgl 1 %global have_pmem 0 %ifarch x86_64 %{power64} # (tv) we don't have the BRs yet: #global have_pmem 1 %endif # Matches edk2.spec ExclusiveArch %global have_edk2 0 %ifarch %{ix86} x86_64 %{arm} aarch64 %global have_edk2 1 %endif # If we can run qemu-sanity-check, hostqemu gets defined. %ifarch %{arm} %global hostqemu arm-softmmu/qemu-system-arm %endif %ifarch aarch64 %global hostqemu aarch64-softmmu/qemu-system-aarch64 %endif %ifarch %{ix86} %global hostqemu i386-softmmu/qemu-system-i386 %endif %ifarch x86_64 %global hostqemu x86_64-softmmu/qemu-system-x86_64 %endif %global qemu_sanity_check 0 %ifarch x %{?kernel_arches} %if 0%{?hostqemu:1} %global qemu_sanity_check 1 %endif %endif # QEMU sanity check doesn't know how to pick machine type # which is needed on ARM as there is no defualt # https://bugzilla.redhat.com/show_bug.cgi?id=1875763 %ifarch %{arm} aarch64 %global qemu_sanity_check 0 %endif # All modules should be listed here. %define with_block_rbd 0 # Disable glusterfs support, pkg was dropped in mga6 as unmaintained %global with_block_gluster 0 %ifarch %{arm} %define with_rdma 0 %else %define with_rdma 1 %endif %define evr %{epoch}:%{version}-%{release} %define requires_block_curl Requires: %{name}-block-curl = %{evr} %define requires_block_dmg Requires: %{name}-block-dmg = %{evr} %if %{with_block_gluster} %define requires_block_gluster Requires: %{name}-block-gluster = %{evr} %define obsoletes_block_gluster %{nil} %else %define requires_block_gluster %{nil} %define obsoletes_block_gluster Obsoletes: %{name}-block-gluster < %{evr} %endif %define requires_block_iscsi Requires: %{name}-block-iscsi = %{evr} %define requires_block_nfs Requires: %{name}-block-nfs = %{evr} %if %{with_block_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_char_baum Requires: %{name}-char-baum = %{evr} %define requires_device_usb_redirect Requires: %{name}-device-usb-redirect = %{evr} %define requires_device_usb_smartcard Requires: %{name}-device-usb-smartcard = %{evr} %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} %define requires_ui_egl_headless Requires: %{name}-ui-egl-headless = %{evr} %define requires_ui_opengl Requires: %{name}-ui-opengl = %{evr} %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_vga Requires: %{name}-device-display-virtio-vga = %{evr} %if %{have_spice} %define requires_ui_spice_app Requires: %{name}-ui-spice-app = %{evr} %define requires_ui_spice_core Requires: %{name}-ui-spice-core = %{evr} %define requires_device_display_qxl Requires: %{name}-device-display-qxl = %{evr} %define requires_audio_spice Requires: %{name}-audio-spice = %{evr} %define requires_char_spice Requires: %{name}-char-spice = %{evr} %else %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} %endif %global requires_all_modules \ %{requires_block_curl} \ %{requires_block_dmg} \ %{requires_block_gluster} \ %{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_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_baum} \ %{requires_char_spice} \ %{requires_device_display_qxl} \ %{requires_device_display_virtio_gpu} \ %{requires_device_display_virtio_gpu_pci} \ %{requires_device_display_virtio_vga} \ %{requires_device_usb_redirect} \ %{requires_device_usb_smartcard} \ # Modules which can be conditionally built %global obsoletes_some_modules \ %{obsoletes_block_gluster} \ %{obsoletes_block_rbd} # Release candidate version tracking #global rcver rc4 %if 0%{?rcver:1} %global rcrel .%{rcver} %global rcstr -%{rcver} %endif %global rel 7 Summary: QEMU is a FAST! processor emulator Name: qemu Version: 5.2.0 Release: %mkrel %{?rcver:0.%rcver.}%{rel} Epoch: 0 License: GPLv2 and BSD and MIT and CC-BY Group: Emulators URL: https://www.qemu.org/ Source0: http://wiki.qemu-project.org/download/%{name}-%{version}%{?rcstr}.tar.xz # guest agent service Source10: qemu-guest-agent.service Source17: qemu-ga.sysconfig # guest agent udev rules Source11: 99-qemu-guest-agent.rules # /etc/qemu/bridge.conf Source12: bridge.conf # /etc/modprobe.d/kvm.conf, for x86 Source20: kvm-x86.modprobe.conf # /etc/security/limits.d/95-kvm-ppc64-memlock.conf Source21: 95-kvm-ppc64-memlock.conf Patch: 0001-iotests-Fix-_send_qemu_cmd-with-bash-5.1.patch # from git Patch0100: 0001-build-no-pie-is-no-functional-linker-flag.patch Patch0101: 0001-Partially-revert-build-no-pie-is-no-functional-linke.patch # from debian #Patch1100: use-fixed-data-path.patch #Patch1101: microvm-default-machine-type.patch #Patch1102: build-most-modules-statically-hack.patch #Patch1103: skip-meson-pc-bios.patch #Patch1104: linux-user-binfmt-P.patch Patch1105: openbios-address-of-packet-member.patch Patch1106: openbios-use-source_date_epoch-in-makefile.patch Patch1107: seabios-hppa-use-consistent-date-and-remove-hostname.patch Patch1108: slof-remove-user-and-host-from-release-version.patch Patch1109: slof-ensure-ld-is-called-with-C-locale.patch Patch1110: spelling.patch #Patch1111: pc-bios-descriptors-fix-paths-in-json-files.patch #Patch1112: i386-acpi-restore-device-paths-for-pre-5.1-vms.patch Patch1113: linux-user-elfload-fix-address-calculation-in-fallback-scenario.patch Patch1114: memory-clamp-cached-translation-if-points-to-MMIO-region-CVE-2020-27821.patch #Patch1115: configure-replace-enable-disable-git-update-with-wit.patch Patch1116: arm_gic-fix-interrupt-ID-in-GICD_SGIR-CVE-2021-20221.patch Patch1117: 9pfs-Fully-restart-unreclaim-loop-CVE-2021-20181.patch Patch1118: virtiofsd-extract-lo_do_open-from-lo_open.patch Patch1119: virtiofsd-optionally-return-inode-pointer-from-lo_do_lookup.patch Patch1120: virtiofsd-prevent-opening-of-special-files-CVE-2020-35517.patch Patch1121: virtiofsd-save-error-code-early-at-the-failure-callsite.patch Patch1122: virtiofsd-drop-remapped-security.capability-xattr-as-needed-CVE-2021-20263.patch Patch1123: net-qemu_receive_packet-for-loopback-introduce.patch Patch1124: net-qemu_receive_packet-for-loopback-cadence_gem.patch Patch1125: net-qemu_receive_packet-for-loopback-dp8393x.patch Patch1126: net-qemu_receive_packet-for-loopback-e1000.patch Patch1127: net-qemu_receive_packet-for-loopback-lan9118.patch Patch1128: net-qemu_receive_packet-for-loopback-msf2.patch Patch1129: net-qemu_receive_packet-for-loopback-pcnet.patch Patch1130: net-qemu_receive_packet-for-loopback-rtl8139.patch Patch1131: net-qemu_receive_packet-for-loopback-sungem.patch Patch1132: net-qemu_receive_packet-for-loopback-tx_pkt-iov.patch Patch1133: net-e1000-fail-early-for-evil-descriptor-CVE-2021-20257.patch Patch1134: dont-transfer-any-data-when-command-time-out.patch Patch1135: dont-write-to-SDHC_SYSAD-register-when-transfer-is-in-progress.patch Patch1136: correctly-set-the-controller-status-for-ADMA.patch Patch1137: limit-block-size-only-when-SDHC_BLKSIZE-register-is-writable.patch Patch1138: reset-the-data-pointer-of-s-fifo_buffer-when-a-different-block-size-is-programmed.patch Patch1139: mptsas-remove-unused-MPTSASState.pending-CVE-2021-3392.patch Patch1140: pvrdma-fix-possible-mremap-overflow-in-pvrdma-device-CVE-2021-3582.patch Patch1141: pvrdma-ensure-correct-input-on-ring-init-CVE-2021-3607.patch Patch1142: pvrdma-fix-the-ring-init-error-flow-CVE-2021-3608.patch Patch1143: ide-atapi-check-logical-block-address-and-read-size-CVE-2020-29443.patch Patch1144: usb-limit-combined-packets-to-1-MiB-CVE-2021-3527.patch Patch1145: usb-redir-avoid-dynamic-stack-allocation-CVE-2021-3527.patch Patch1146: usbredir-fix-free-call-CVE-2021-3682.patch Patch1147: uas-add-stream-number-sanity-checks-CVE-2021-3713.patch Patch1148: virtio-net-fix-use-after-unmap-free-for-sg-CVE-2021-3748.patch Patch1149: ati_2d-fix-buffer-overflow-in-ati_2d_blt-CVE-2021-3638.patch Patch1150: fix-memory-disclosure-in-virgl_cmd_get_capset_info-CVE-2021-3545.patch Patch1151: fix-resource-leak-in-vg_resource_create_2d-CVE-2021-3544.patch Patch1152: fix-memory-leak-in-vg_resource_attach_backing-CVE-2021-3544.patch Patch1153: fix-memory-leak-while-calling-vg_resource_unref-CVE-2021-3544.patch Patch1154: fix-memory-leak-in-virgl_cmd_resource_unref-CVE-2021-3544.patch Patch1155: fix-memory-leak-in-virgl_resource_attach_backing-CVE-2021-3544.patch Patch1156: fix-OOB-write-in-virgl_cmd_get_capset-CVE-2021-3546.patch # for %%{_sysconfdir}/sasl2 Requires: cyrus-sasl BuildRequires: meson BuildRequires: gcc # documentation deps BuildRequires: texinfo %if %{qemu_sanity_check} BuildRequires: qemu-sanity-check-nodeps BuildRequires: kernel-headers %endif # For chrpath calls in specfile BuildRequires: chrpath # -display sdl support BuildRequires: SDL2-devel # SDL image support for icons (https://www.qemu.org/docs/master/devel/build-system.html?highlight=sdl_image) BuildRequires: pkgconfig(SDL2_image) # used in various places for compression BuildRequires: zlib-devel # used in various places for crypto BuildRequires: gnutls-devel # VNC sasl auth support BuildRequires: cyrus-sasl-devel # aio implementation for block drivers BuildRequires: libaio-devel # pulseaudio audio output BuildRequires: pulseaudio-devel # alsa audio output BuildRequires: alsa-lib-devel # qemu-pr-helper multipath support (requires libudev too) BuildRequires: device-mapper-multipath-devel BuildRequires: systemd-devel # iscsi drive support BuildRequires: pkgconfig(libiscsi) # NFS drive support BuildRequires: libnfs-devel # snappy compression for memory dump BuildRequires: snappy-devel # lzo compression for memory dump BuildRequires: lzo-devel # needed for -display curses BuildRequires: ncurses-devel BuildRequires: ncursesw-devel # 9pfs filesystem BuildRequires: libattr-devel # qemu-bridge-helper, qemu-pr-helper and more BuildRequires: libcap-ng-devel # spice usb redirection support BuildRequires: usbredir-devel %if %{have_spice} # spice graphics support BuildRequires: spice-protocol BuildRequires: spice-server-devel %endif # seccomp containment support BuildRequires: libseccomp-devel # network block driver BuildRequires: libcurl-devel %if %{with_block_rbd} # RBD block driver BuildRequires: librados2-devel BuildRequires: librbd1-devel %endif # We need both because the 'stap' binary is probed for by configure BuildRequires: systemtap BuildRequires: systemtap-sdt-devel # VNC JPEG support BuildRequires: libjpeg-devel # VNC PNG support BuildRequires: libpng-devel # Braille device support BuildRequires: brlapi-devel # FDT device tree support BuildRequires: libfdt-devel # QEMU display pixel manipulation BuildRequires: pixman-devel %if %{with_block_gluster} # gluster block driver %endif # USB passthrough BuildRequires: libusbx-devel # SSH block driver BuildRequires: libssh-devel # GTK frontend BuildRequires: gtk3-devel BuildRequires: vte3-devel # GTK translations BuildRequires: gettext # RDMA migration %if %{with_rdma} BuildRequires: librdmacm-devel %endif %if %{have_xen} # Xen support BuildRequires: xen-devel %endif %if %{have_numactl} # memdev hostmem backend BuildRequires: numactl-devel %endif # reading bzip2 compressed dmg images BuildRequires: bzip2-devel # reading lzfse compressed dmg images BuildRequires: lzfse-devel # opengl bits BuildRequires: libepoxy-devel # TLS test suite BuildRequires: libtasn1-devel # smartcard device BuildRequires: libcacard-devel %if %{have_virgl} # virgl 3d support BuildRequires: virglrenderer-devel %endif # gtk GL support, vhost-user-gpu BuildRequires: pkgconfig(gbm) BuildRequires: libegl-devel # preferred disassembler for TCG BuildRequires: capstone-devel # parallels disk images require libxml2 BuildRequires: libxml2-devel # for compiling: BuildRequires: locales-en %if %{have_pmem} # nvdimm #BuildRequires: libpmem-devel %endif # qemu-ga BuildRequires: libudev-devel # qauth infrastructure BuildRequires: pam-devel # user-mode networking BuildRequires: pkgconfig(slirp) # Documentation build BuildRequires: python3-sphinx # Test suite ./scripts/tap-driver.pl BuildRequires: perl-Test-Harness # For making python shebangs versioned #BuildRequires: /usr/bin/pathfix.py BuildRequires: python3-devel %if %{have_liburing} # liburing support. Library isn't built for arm BuildRequires: liburing-devel %endif # zstd compression support BuildRequires: libzstd-devel # `hostname` used by test suite BuildRequires: hostname # nvdimm dax BuildRequires: daxctl-devel # used by some linux user impls BuildRequires: libdrm-devel # for static user mode emulation builds BuildRequires: glibc-static-devel BuildRequires: glib2-static-devel BuildRequires: pcre-static-devel BuildRequires: zlib-static-devel Requires: %{name}-user = %{epoch}:%{version}-%{release} Requires: %{name}-system-aarch64 = %{epoch}:%{version}-%{release} Requires: %{name}-system-alpha = %{epoch}:%{version}-%{release} Requires: %{name}-system-arm = %{epoch}:%{version}-%{release} Requires: %{name}-system-avr = %{epoch}:%{version}-%{release} Requires: %{name}-system-cris = %{epoch}:%{version}-%{release} Requires: %{name}-system-m68k = %{epoch}:%{version}-%{release} Requires: %{name}-system-microblaze = %{epoch}:%{version}-%{release} Requires: %{name}-system-mips = %{epoch}:%{version}-%{release} Requires: %{name}-system-nios2 = %{epoch}:%{version}-%{release} Requires: %{name}-system-or1k = %{epoch}:%{version}-%{release} Requires: %{name}-system-ppc = %{epoch}:%{version}-%{release} Requires: %{name}-system-riscv = %{epoch}:%{version}-%{release} Requires: %{name}-system-rx = %{epoch}:%{version}-%{release} Requires: %{name}-system-s390x = %{epoch}:%{version}-%{release} Requires: %{name}-system-sh4 = %{epoch}:%{version}-%{release} Requires: %{name}-system-sparc = %{epoch}:%{version}-%{release} Requires: %{name}-system-tricore = %{epoch}:%{version}-%{release} Requires: %{name}-system-x86 = %{epoch}:%{version}-%{release} Requires: %{name}-system-xtensa = %{epoch}:%{version}-%{release} Requires: %{name}-img = %{epoch}:%{version}-%{release} %description QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. QEMU has two operating modes: * Full system emulation. In this mode, QEMU emulates a full system (for example a PC), including a processor and various peripherials. It can be used to launch different Operating Systems without rebooting the PC or to debug system code. * User mode emulation. In this mode, QEMU can launch Linux processes compiled for one CPU on another CPU. As QEMU requires no host kernel patches to run, it is safe and easy to use. %package common Summary: QEMU common files needed by all QEMU targets Requires: ipxe-roms-qemu # For: /usr/bin/getent Requires(post): glibc #For: /usr/sbin/useradd Requires(post): shadow-utils Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units Obsoletes: %{name}-system-lm32 <= %{epoch}:%{version}-%{release} Obsoletes: %{name}-system-lm32-core <= %{epoch}:%{version}-%{release} Obsoletes: %{name}-system-moxie <= %{epoch}:%{version}-%{release} Obsoletes: %{name}-system-moxie-core <= %{epoch}:%{version}-%{release} Obsoletes: %{name}-system-unicore32 <= %{epoch}:%{version}-%{release} Obsoletes: %{name}-system-unicore32-core <= %{epoch}:%{version}-%{release} %{obsoletes_some_modules} %description common This package provides the common files needed by all QEMU targets %package guest-agent Summary: QEMU guest agent Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units %description 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" This package does not need to be installed on the host OS. %package img Summary: QEMU command line tool for manipulating disk images %description img This package provides a command line tool for manipulating disk images %package block-curl Summary: QEMU CURL block driver Requires: %{name}-common%{?_isa} = %{epoch}:%{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-dmg Summary: QEMU block driver for DMG disk images Requires: %{name}-common%{?_isa} = %{epoch}:%{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_block_gluster} %package block-gluster Summary: QEMU Gluster block driver Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} %description block-gluster This package provides the additional Gluster block driver for QEMU. Install this package if you want to access remote Gluster storage. %endif %package block-iscsi Summary: QEMU iSCSI block driver Requires: %{name}-common%{?_isa} = %{epoch}:%{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. %package block-nfs Summary: QEMU NFS block driver Requires: %{name}-common%{?_isa} = %{epoch}:%{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. %if %{with_block_rbd} %package block-rbd Summary: QEMU Ceph/RBD block driver Requires: %{name}-common%{?_isa} = %{epoch}:%{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%{?_isa} = %{epoch}:%{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. %package audio-alsa Summary: QEMU ALSA audio driver Requires: %{name}-common%{?_isa} = %{epoch}:%{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%{?_isa} = %{epoch}:%{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%{?_isa} = %{epoch}:%{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%{?_isa} = %{epoch}:%{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%{?_isa} = %{epoch}:%{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%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-ui-opengl%{?_isa} = %{epoch}:%{version}-%{release} %description ui-gtk This package provides the additional GTK UI for QEMU. %package ui-sdl Summary: QEMU SDL UI driver Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-ui-opengl%{?_isa} = %{epoch}:%{version}-%{release} %description ui-sdl This package provides the additional SDL UI for QEMU. %package ui-egl-headless Summary: QEMU EGL headless driver Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-ui-opengl%{?_isa} = %{epoch}:%{version}-%{release} %description ui-egl-headless This package provides the additional egl-headless UI for QEMU. %package ui-opengl Summary: QEMU OpenGL driver Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} %description ui-opengl This package provides the additional opengl UI for QEMU. %package char-baum Summary: QEMU Baum chardev driver Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} %description char-baum This package provides the Baum chardev driver for QEMU. %package device-display-virtio-gpu Summary: QEMU virtio-gpu display device Requires: %{name}-common%{?_isa} = %{epoch}:%{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%{?_isa} = %{epoch}:%{version}-%{release} %description device-display-virtio-gpu-pci This package provides the virtio-gpu-pci display device for QEMU. %package device-display-virtio-vga Summary: QEMU virtio-vga display device Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} %description device-display-virtio-vga This package provides the virtio-vga display device for QEMU. %package device-usb-redirect Summary: QEMU usbredir device Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} %description device-usb-redirect This package provides the usbredir device for QEMU. %package device-usb-smartcard Summary: QEMU USB smartcard device Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} %description device-usb-smartcard This package provides the USB smartcard device for QEMU. %if %{have_spice} %package ui-spice-core Summary: QEMU spice-core UI driver Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-ui-opengl%{?_isa} = %{epoch}:%{version}-%{release} %description ui-spice-core This package provides the additional spice-core UI for QEMU. %package ui-spice-app Summary: QEMU spice-app UI driver Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-ui-spice-core%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-char-spice%{?_isa} = %{epoch}:%{version}-%{release} %description ui-spice-app This package provides the additional spice-app UI for QEMU. %package device-display-qxl Summary: QEMU QXL display device Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-ui-spice-core%{?_isa} = %{epoch}:%{version}-%{release} %description device-display-qxl This package provides the QXL display device for QEMU. %package char-spice Summary: QEMU spice chardev driver Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-ui-spice-core%{?_isa} = %{epoch}:%{version}-%{release} %description char-spice This package provides the spice chardev driver for QEMU. %package audio-spice Summary: QEMU spice audio driver Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-ui-spice-core%{?_isa} = %{epoch}:%{version}-%{release} %description audio-spice This package provides the spice audio driver for QEMU. %endif %if %{have_kvm} %package kvm Summary: QEMU metapackage for KVM support Requires: qemu-%{kvm_package} = %{epoch}:%{version}-%{release} %description kvm This is a meta-package that provides a qemu-system- 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 = %{epoch}:%{version}-%{release} %description kvm-core This is a meta-package that provides a qemu-system--core package for native architectures where kvm can be enabled. For example, in an x86 system, this will install qemu-system-x86-core %endif %package user Summary: QEMU user mode emulation of qemu targets Requires: %{name}-common = %{epoch}:%{version}-%{release} # On upgrade, make qemu-user get replaced with qemu-user + qemu-user-binfmt Obsoletes: %{name}-user < %{epoch}:%{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 = %{epoch}:%{version}-%{release} Requires(post): systemd-units Requires(postun): systemd-units # qemu-user-binfmt + qemu-user-static both provide binfmt rules Conflicts: %{name}-user-static # On upgrade, make qemu-user get replaced with qemu-user + qemu-user-binfmt Obsoletes: %{name}-user < %{epoch}:%{version}-%{release} %description user-binfmt This package provides the user mode emulation of qemu targets %if %{user_static} %package user-static Summary: QEMU user mode emulation of qemu targets static build Requires: %{name}-common = %{epoch}:%{version}-%{release} Requires(post): systemd-units Requires(postun): systemd-units # qemu-user-binfmt + qemu-user-static both provide binfmt rules Conflicts: %{name}-user-binfmt Provides: %{name}-user-binfmt %description user-static This package provides the user mode emulation of qemu targets built as static binaries %endif %package system-aarch64 Summary: QEMU system emulator for AArch64 Requires: %{name}-system-aarch64-core = %{epoch}:%{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 = %{epoch}:%{version}-%{release} %if %{have_edk2} Requires: edk2-aarch64 %endif %description system-aarch64-core This package provides the QEMU system emulator for AArch64. %package system-alpha Summary: QEMU system emulator for Alpha Requires: %{name}-system-alpha-core = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{version}-%{release} Obsoletes: %{name}-system-or32 < 2:2.9.0 %{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 = %{epoch}:%{version}-%{release} Obsoletes: %{name}-system-or32-core < 2:2.9.0 %description system-or1k-core This package provides the QEMU system emulator for OpenRisc32 boards. %package system-ppc Summary: QEMU system emulator for PPC Requires: %{name}-system-ppc-core = %{epoch}:%{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 = %{epoch}:%{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. %package system-riscv Summary: QEMU system emulator for RISC-V Requires: %{name}-system-riscv-core = %{epoch}:%{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 = %{epoch}:%{version}-%{release} %description system-riscv-core This package provides the QEMU system emulator for RISC-V systems. %package system-rx Summary: QEMU system emulator for RX Requires: %{name}-system-rx-core = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{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 = %{epoch}:%{version}-%{release} %description system-sh4-core This package provides the QEMU system emulator for SH4 boards. %package system-sparc Summary: QEMU system emulator for SPARC Requires: %{name}-system-sparc-core = %{epoch}:%{version}-%{release} %{requires_all_modules} %description system-sparc This package provides the QEMU system emulator for SPARC and SPARC64 systems. %package system-sparc-core Summary: QEMU system emulator for SPARC Requires: %{name}-common = %{epoch}:%{version}-%{release} Requires: openbios %description system-sparc-core This package provides the QEMU system emulator for SPARC and SPARC64 systems. %package system-tricore Summary: QEMU system emulator for tricore Requires: %{name}-system-tricore-core = %{epoch}:%{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 = %{epoch}:%{version}-%{release} %description system-tricore-core This package provides the QEMU system emulator for Tricore. %package system-x86 Summary: QEMU system emulator for x86 Requires: %{name}-system-x86-core = %{epoch}:%{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 = %{epoch}:%{version}-%{release} Requires: seabios-bin Requires: sgabios-bin Requires: seavgabios-bin %if %{have_edk2} Requires: edk2-ovmf %endif Recommends: edk2-ovmf-ia32 %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. %package system-xtensa Summary: QEMU system emulator for Xtensa Requires: %{name}-system-xtensa-core = %{epoch}:%{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 = %{epoch}:%{version}-%{release} %description system-xtensa-core This package provides the QEMU system emulator for Xtensa boards. %prep %setup -q -n qemu-%{version}%{?rcstr} %autopatch -p1 # https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error # Fix all Python shebangs recursively in . # -p preserves timestamps # -n prevents creating ~backup files # -i specifies the interpreter for the shebang # Need to list files that do not match ^[a-zA-Z0-9_]+\.py$ explicitly! pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/qemu-trace-stap # Don't treat warnings as errors when building docs with sphinx sed -i -e '/SPHINX_BUILD/s/-W\s\+//' Makefile %build # "fix" underlinking: drop --no-undefined %global optflags %(echo %{optflags} | sed 's/-Wl,--no-undefined//') # --build-id option is used for giving info to the debug packages. extraldflags="-Wl,--build-id"; buildldflags="VL_LDFLAGS=-Wl,--build-id" # As of qemu 2.1, --enable-trace-backends supports multiple backends, # but there's a performance impact for non-dtrace so we don't use them tracebackends="dtrace" %if %{have_spice} %global spiceflag --enable-spice %else %global spiceflag --disable-spice %endif run_configure() { # Base configure call with standard shared options ../configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --sysconfdir=%{_sysconfdir} \ --localstatedir=%{_localstatedir} \ --libexecdir=%{_libexecdir} \ --interp-prefix=%{_prefix}/qemu-%%M \ --with-pkgversion=%{name}-%{version}-%{release} \ --extra-ldflags="$extraldflags -Wl,-z,relro -Wl,-z,now" \ --extra-cflags="%{optflags}" \ --disable-strip \ --disable-werror \ --tls-priority=@QEMU,SYSTEM \ --enable-trace-backend=$tracebackends \ "$@" || cat config.log } run_configure_disable_everything() { # Disable every qemu feature. Callers can --enable-X the bits they need run_configure \ --audio-drv-list= \ --disable-attr \ --disable-auth-pam \ --disable-avx2 \ --disable-avx512f \ --disable-blobs \ --disable-bochs \ --disable-brlapi \ --disable-bsd-user \ --disable-bzip2 \ --disable-cap-ng \ --disable-capstone \ --disable-cloop \ --disable-cocoa \ --disable-coroutine-pool \ --disable-crypto-afalg \ --disable-curl \ --disable-curses \ --disable-debug-info \ --disable-debug-mutex \ --disable-debug-tcg \ --disable-dmg \ --disable-docs \ --disable-fdt \ --disable-gcrypt \ --disable-glusterfs \ --disable-gnutls \ --disable-gtk \ --disable-guest-agent \ --disable-guest-agent-msi \ --disable-hax \ --disable-hvf \ --disable-iconv \ --disable-jemalloc \ --disable-keyring \ --disable-kvm \ --disable-libdaxctl \ --disable-libiscsi \ --disable-libnfs \ --disable-libpmem \ --disable-libssh \ --disable-libusb \ --disable-libxml2 \ --disable-linux-aio \ --disable-linux-io-uring \ --disable-linux-user \ --disable-live-block-migration \ --disable-lzfse \ --disable-lzo \ --disable-membarrier \ --disable-modules \ --disable-mpath \ --disable-netmap \ --disable-nettle \ --disable-numa \ --disable-opengl \ --disable-parallels \ --disable-pie \ --disable-pvrdma \ --disable-qcow1 \ --disable-qed \ --disable-qom-cast-debug \ --disable-rbd \ --disable-rdma \ --disable-replication \ --disable-rng-none \ --disable-sdl \ --disable-sdl-image \ --disable-seccomp \ --disable-sheepdog \ --disable-slirp \ --disable-smartcard \ --disable-snappy \ --disable-sparse \ --disable-spice \ --disable-system \ --disable-tcg \ --disable-tcmalloc \ --disable-tools \ --disable-tpm \ --disable-usb-redir \ --disable-user \ --disable-vde \ --disable-vdi \ --disable-vhost-crypto \ --disable-vhost-kernel \ --disable-vhost-net \ --disable-vhost-scsi \ --disable-vhost-user \ --disable-vhost-vdpa \ --disable-vhost-vsock \ --disable-virglrenderer \ --disable-virtfs \ --disable-vnc \ --disable-vnc-jpeg \ --disable-vnc-png \ --disable-vnc-sasl \ --disable-vte \ --disable-vvfat \ --disable-whpx \ --disable-xen \ --disable-xen-pci-passthrough \ --disable-xfsctl \ --disable-zstd \ --without-default-devices \ "$@" } # Build for qemu-user-static %if %{user_static} mkdir build-static pushd build-static run_configure_disable_everything \ --disable-pie \ --enable-attr \ --enable-linux-user \ --enable-tcg \ --static make V=1 %{?_smp_mflags} $buildldflags popd %endif # Build for non-static qemu-* mkdir build-dynamic pushd build-dynamic run_configure \ --audio-drv-list=pa,sdl,alsa,oss \ --enable-kvm \ --enable-system \ --target-list-exclude=moxie-softmmu \ --enable-tcg \ --enable-linux-user \ --enable-pie \ --enable-modules \ --enable-mpath \ %{spiceflag} \ --enable-slirp=system echo "config-host.mak contents:" echo "===" cat config-host.mak echo "===" %make_build $buildldflags popd %install %global _udevdir /lib/udev/rules.d %global qemudocdir %{_docdir}/%{name} # Install rules to use the bridge helper with libvirt's virbr0 install -D -m 0644 %{_sourcedir}/bridge.conf %{buildroot}%{_sysconfdir}/qemu/bridge.conf # Install qemu-guest-agent service and udev rules install -D -p -m 0644 %{_sourcedir}/qemu-guest-agent.service %{buildroot}%{_unitdir}/qemu-guest-agent.service install -D -p -m 0644 %{_sourcedir}/qemu-ga.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga install -D -m 0644 %{_sourcedir}/99-qemu-guest-agent.rules %{buildroot}%{_udevdir}/99-qemu-guest-agent.rules # Install qemu-ga fsfreeze bits mkdir -p %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook.d install -p -m 0755 scripts/qemu-guest-agent/fsfreeze-hook %{buildroot}%{_sysconfdir}/qemu-ga install -p -m 0644 scripts/qemu-guest-agent/fsfreeze-hook.d/*.sample %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook.d/ mkdir -p %{buildroot}%{_localstatedir}/log touch %{buildroot}%{_localstatedir}/log/qga-fsfreeze-hook.log # Install qemu-pr-helper service install -m 0644 ./contrib/systemd/qemu-pr-helper.service %{buildroot}%{_unitdir} install -m 0644 ./contrib/systemd/qemu-pr-helper.socket %{buildroot}%{_unitdir} # Install qemu-user-static tree mkdir -p %{buildroot}%{_bindir} %if %{user_static} pushd build-static make DESTDIR=%{buildroot} install # Rename all QEMU user emulators to have a -static suffix for src in %{buildroot}%{_bindir}/qemu-* do mv $src $src-static done # Rename trace files to match -static suffix for src in %{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 done popd %endif # Install main qemu-system-* tree pushd build-dynamic %make_install popd %find_lang %{name} # Copy some static data into place install -D -p -m 0644 -t %{buildroot}%{qemudocdir} README.rst COPYING COPYING.LIB LICENSE install -D -p -m 0644 qemu.sasl %{buildroot}%{_sysconfdir}/sasl2/qemu.conf # Generate qemu-system-* man pages chmod -x %{buildroot}%{_mandir}/man1/* for emu in %{buildroot}%{_bindir}/qemu-system-*; do ln -sf qemu.1.xz %{buildroot}%{_mandir}/man1/$(basename $emu).1.xz done # Install kvm specific source bits, and qemu-kvm manpage %if 0%{?need_qemu_kvm} ln -sf qemu.1.xz %{buildroot}%{_mandir}/man1/qemu-kvm.1.xz ln -sf qemu-system-x86_64 %{buildroot}%{_bindir}/qemu-kvm install -D -p -m 0644 %{_sourcedir}/kvm-x86.modprobe.conf %{buildroot}%{_sysconfdir}/modprobe.d/kvm.conf %endif # Install binfmt %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 %if %{user_static} 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 %endif # XXX With qemu 2.11 we can probably drop this symlinking with use of # configure --firmwarepath, see qemu git 3d5eecab4 # Provided by package openbios rm -rf %{buildroot}%{_datadir}/%{name}/openbios-ppc rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc32 rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc64 # Provided by package SLOF rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin # Provided by package ipxe rm -rf %{buildroot}%{_datadir}/%{name}/pxe*rom rm -rf %{buildroot}%{_datadir}/%{name}/efi*rom # Provided by package seavgabios rm -rf %{buildroot}%{_datadir}/%{name}/vgabios*bin # Provided by package seabios rm -rf %{buildroot}%{_datadir}/%{name}/bios.bin rm -rf %{buildroot}%{_datadir}/%{name}/bios-256k.bin # Provided by package sgabios rm -rf %{buildroot}%{_datadir}/%{name}/sgabios.bin # Provided by package edk2 rm -rf %{buildroot}%{_datadir}/%{name}/edk2* rm -rf %{buildroot}%{_datadir}/%{name}/firmware/*edk2*.json pxe_link() { ln -s ../ipxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.rom ln -s ../ipxe.efi/$2.rom %{buildroot}%{_datadir}/%{name}/efi-$1.rom } pxe_link e1000 8086100e pxe_link ne2k_pci 10ec8029 pxe_link pcnet 10222000 pxe_link rtl8139 10ec8139 pxe_link virtio 1af41000 pxe_link eepro100 80861209 pxe_link e1000e 808610d3 pxe_link vmxnet3 15ad07b0 rom_link() { ln -s $1 %{buildroot}%{_datadir}/%{name}/$2 } rom_link ../seavgabios/vgabios-isavga.bin vgabios.bin rom_link ../seavgabios/vgabios-cirrus.bin vgabios-cirrus.bin rom_link ../seavgabios/vgabios-qxl.bin vgabios-qxl.bin rom_link ../seavgabios/vgabios-stdvga.bin vgabios-stdvga.bin rom_link ../seavgabios/vgabios-vmware.bin vgabios-vmware.bin rom_link ../seavgabios/vgabios-virtio.bin vgabios-virtio.bin rom_link ../seavgabios/vgabios-ramfb.bin vgabios-ramfb.bin rom_link ../seavgabios/vgabios-bochs-display.bin vgabios-bochs-display.bin rom_link ../seavgabios/vgabios-ati.bin vgabios-ati.bin rom_link ../seabios/bios.bin bios.bin rom_link ../seabios/bios-256k.bin bios-256k.bin rom_link ../sgabios/sgabios.bin sgabios.bin # When building using 'rpmbuild' or 'fedpkg local', RPATHs can be left in # the binaries and libraries (although this doesn't occur when # building in Koji, for some unknown reason). Some discussion here: # # https://lists.fedoraproject.org/pipermail/devel/2013-November/192553.html # # In any case it should always be safe to remove RPATHs from # the final binaries: for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \ %{buildroot}%{_libexecdir}/*; do if file $f | grep -q ELF | grep -q -i shared; then chrpath --delete $f; fi done # We need to make the modules executable else # RPM won't pick up their dependencies. chmod +x %{buildroot}%{_libdir}/qemu/*.so %check %global tests_skip 0 # Enable this temporarily if tests are broken %global tests_nofail 1 # 2020-08-31: tests passing, but s390x fails due to # spurious warning breaking an iotest case # https://lists.gnu.org/archive/html/qemu-devel/2020-08/msg03279.html #global tests_nofail 1 pushd build-dynamic %if !%{tests_skip} %if %{tests_nofail} make check V=1 || : %else make check V=1 %endif # Check the binary runs (see eg RHBZ#998722). b="./x86_64-softmmu/qemu-system-x86_64" if [ -x "$b" ]; then "$b" -help; fi %if %{qemu_sanity_check} # Sanity-check current kernel can boot on this qemu. KERNEL=`find /lib/modules -name vmlinuz | head -1` echo "Trying to boot kernel $KERNEL with %{?hostqemu}" qemu-sanity-check --qemu=%{?hostqemu} --kernel=$KERNEL %endif %endif popd %post common getent group kvm >/dev/null || groupadd -r -r kvm getent group qemu >/dev/null || groupadd -r -r qemu getent passwd qemu >/dev/null || \ useradd -r -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 || : %if %{user_static} %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 || : %endif %post guest-agent %systemd_post qemu-guest-agent.service %preun guest-agent %systemd_preun qemu-guest-agent.service %postun guest-agent %systemd_postun_with_restart qemu-guest-agent.service %files # Deliberately empty %files common -f %{name}.lang %dir %{qemudocdir} %doc %{qemudocdir}/README.rst %doc %{qemudocdir}/index.html %doc %{qemudocdir}/interop %doc %{qemudocdir}/specs %doc %{qemudocdir}/system %doc %{qemudocdir}/tools %doc %{qemudocdir}/user %license %{qemudocdir}/COPYING %license %{qemudocdir}/COPYING.LIB %license %{qemudocdir}/LICENSE %dir %{_datadir}/%{name}/ %{_datadir}/applications/qemu.desktop %{_datadir}/icons/hicolor/*/apps/* %exclude %{_datadir}/%{name}/qemu-nsis.bmp %{_datadir}/%{name}/keymaps/ %{_datadir}/%{name}/trace-events-all %{_datadir}/%{name}/vgabios.bin %{_datadir}/%{name}/vgabios-cirrus.bin %{_datadir}/%{name}/vgabios-qxl.bin %{_datadir}/%{name}/vgabios-stdvga.bin %{_datadir}/%{name}/vgabios-vmware.bin %{_datadir}/%{name}/vgabios-virtio.bin %{_datadir}/%{name}/vgabios-ramfb.bin %{_datadir}/%{name}/vgabios-bochs-display.bin %{_datadir}/%{name}/vgabios-ati.bin %{_datadir}/%{name}/pxe-e1000.rom %{_datadir}/%{name}/efi-e1000.rom %{_datadir}/%{name}/pxe-e1000e.rom %{_datadir}/%{name}/efi-e1000e.rom %{_datadir}/%{name}/pxe-eepro100.rom %{_datadir}/%{name}/efi-eepro100.rom %{_datadir}/%{name}/pxe-ne2k_pci.rom %{_datadir}/%{name}/efi-ne2k_pci.rom %{_datadir}/%{name}/pxe-pcnet.rom %{_datadir}/%{name}/efi-pcnet.rom %{_datadir}/%{name}/pxe-rtl8139.rom %{_datadir}/%{name}/efi-rtl8139.rom %{_datadir}/%{name}/pxe-virtio.rom %{_datadir}/%{name}/efi-virtio.rom %{_datadir}/%{name}/pxe-vmxnet3.rom %{_datadir}/%{name}/efi-vmxnet3.rom %{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json %{_mandir}/man1/qemu.1* %{_mandir}/man1/qemu-trace-stap.1* %{_mandir}/man1/virtfs-proxy-helper.1* %{_mandir}/man1/virtiofsd.1* %{_mandir}/man7/qemu-block-drivers.7* %{_mandir}/man7/qemu-cpu-models.7* %{_mandir}/man7/qemu-qmp-ref.7* %{_mandir}/man7/qemu-ga-ref.7* %{_mandir}/man8/qemu-pr-helper.8* %{_bindir}/elf2dmp %{_bindir}/qemu-edid %{_bindir}/qemu-keymap %{_bindir}/qemu-pr-helper %{_bindir}/qemu-storage-daemon %{_bindir}/qemu-trace-stap %{_unitdir}/qemu-pr-helper.service %{_unitdir}/qemu-pr-helper.socket %attr(4755, root, root) %{_libexecdir}/qemu-bridge-helper %{_libexecdir}/virtfs-proxy-helper %{_libexecdir}/virtiofsd %config(noreplace) %{_sysconfdir}/sasl2/qemu.conf %dir %{_sysconfdir}/qemu %config(noreplace) %{_sysconfdir}/qemu/bridge.conf %dir %{_libdir}/qemu %if %{have_virgl} %{_datadir}/%{name}/vhost-user/50-qemu-gpu.json %{_libexecdir}/vhost-user-gpu %endif %files guest-agent %{_bindir}/qemu-ga %{_mandir}/man8/qemu-ga.8* %{_unitdir}/qemu-guest-agent.service %{_udevdir}/99-qemu-guest-agent.rules %config(noreplace) %{_sysconfdir}/sysconfig/qemu-ga %{_sysconfdir}/qemu-ga %ghost %{_localstatedir}/log/qga-fsfreeze-hook.log %files img %{_bindir}/qemu-img %{_bindir}/qemu-io %{_bindir}/qemu-nbd %{_mandir}/man1/qemu-img.1* %{_mandir}/man8/qemu-nbd.8* %files block-curl %{_libdir}/qemu/block-curl.so %files block-dmg %{_libdir}/qemu/block-dmg-bz2.so %{_libdir}/qemu/block-dmg-lzfse.so %if %{with_block_gluster} %files block-gluster %{_libdir}/qemu/block-gluster.so %endif %files block-iscsi %{_libdir}/qemu/block-iscsi.so %files block-nfs %{_libdir}/qemu/block-nfs.so %if %{with_block_rbd} %files block-rbd %{_libdir}/qemu/block-rbd.so %endif %files block-ssh %{_libdir}/qemu/block-ssh.so %files audio-alsa %{_libdir}/qemu/audio-alsa.so %files audio-oss %{_libdir}/qemu/audio-oss.so %files audio-pa %{_libdir}/qemu/audio-pa.so %files audio-sdl %{_libdir}/qemu/audio-sdl.so %files ui-curses %{_libdir}/qemu/ui-curses.so %files ui-gtk %{_libdir}/qemu/ui-gtk.so %files ui-sdl %{_libdir}/qemu/ui-sdl.so %files ui-egl-headless %{_libdir}/qemu/ui-egl-headless.so %files ui-opengl %{_libdir}/qemu/ui-opengl.so %files char-baum %{_libdir}/qemu/chardev-baum.so %files device-display-virtio-gpu %{_libdir}/qemu/hw-display-virtio-gpu.so %files device-display-virtio-gpu-pci %{_libdir}/qemu/hw-display-virtio-gpu-pci.so %files device-display-virtio-vga %{_libdir}/qemu/hw-display-virtio-vga.so %files device-usb-redirect %{_libdir}/qemu/hw-usb-redirect.so %files device-usb-smartcard %{_libdir}/qemu/hw-usb-smartcard.so %if %{have_spice} %files audio-spice %{_libdir}/qemu/audio-spice.so %files char-spice %{_libdir}/qemu/chardev-spice.so %files device-display-qxl %{_libdir}/qemu/hw-display-qxl.so %files ui-spice-core %{_libdir}/qemu/ui-spice-core.so %files ui-spice-app %{_libdir}/qemu/ui-spice-app.so %endif %if %{have_kvm} %files kvm # Deliberately empty %files kvm-core # Deliberately empty %endif %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-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-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 %if %{user_static} %files user-static # Just use wildcard matches here: we will catch any new/missing files # in the qemu-user filelists %{_exec_prefix}/lib/binfmt.d/qemu-*-static.conf %{_bindir}/qemu-*-static %{_datadir}/systemtap/tapset/qemu-*-static.stp %endif %files system-aarch64 %files system-aarch64-core %{_bindir}/qemu-system-aarch64 %{_datadir}/systemtap/tapset/qemu-system-aarch64*.stp %{_mandir}/man1/qemu-system-aarch64.1* %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-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 %ifarch %{power64} %{_sysconfdir}/security/limits.d/95-kvm-ppc64-memlock.conf %endif %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* %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-sparc %files system-sparc-core %{_bindir}/qemu-system-sparc %{_bindir}/qemu-system-sparc64 %{_datadir}/systemtap/tapset/qemu-system-sparc*.stp %{_mandir}/man1/qemu-system-sparc.1* %{_mandir}/man1/qemu-system-sparc64.1* %{_datadir}/%{name}/QEMU,tcx.bin %{_datadir}/%{name}/QEMU,cgthree.bin %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-x86 %files system-x86-core %{_bindir}/qemu-system-i386 %{_bindir}/qemu-system-x86_64 %{_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}/bios.bin %{_datadir}/%{name}/bios-256k.bin %{_datadir}/%{name}/bios-microvm.bin %{_datadir}/%{name}/kvmvapic.bin %{_datadir}/%{name}/linuxboot.bin %{_datadir}/%{name}/linuxboot_dma.bin %{_datadir}/%{name}/multiboot.bin %{_datadir}/%{name}/pvh.bin %{_datadir}/%{name}/qboot.rom %{_datadir}/%{name}/sgabios.bin %if 0%{?need_qemu_kvm} %{_bindir}/qemu-kvm %{_mandir}/man1/qemu-kvm.1* %config(noreplace) %{_sysconfdir}/modprobe.d/kvm.conf %endif %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* %changelog * Thu Mar 31 2022 ghibo 0:5.2.0-6.mga8 - Add SDL2_image support for icons. * Thu Mar 31 2022 ghibo 0:5.2.0-5.mga8 - Added patches from git to fix no-pie building errors. - Merged patches from debian-11. * Wed Jan 20 2021 tv 0:5.2.0-4.mga8 + Revision: 1672604 - Use symlink for qemu-kvm. - Fix make check on bash 5.1 * Fri Dec 11 2020 tv 0:5.2.0-3.mga8 + Revision: 1655292 - Fix char-spice deps * Thu Dec 10 2020 tv 0:5.2.0-2.mga8 + Revision: 1655168 - Temporary ignore testsuite failure - Fix spice and GL UI module deps (rhbz#1904603) - Rebase to qemu-5.2.0 final * Mon Dec 07 2020 tv 0:5.2.0-0.rc4.1.mga8 + Revision: 1654090 - Rebase to qemu-5.2.0-rc4 * Sun Nov 29 2020 luigiwalser 0:5.2.0-0.rc3.3.mga8 + Revision: 1650435 - rebuild for nettle * Wed Nov 25 2020 tv 0:5.2.0-0.rc3.2.mga8 + Revision: 1649252 - 5.2.0 RC3 - tests/9pfs: Mark "local" tests as "slow" * Mon Nov 23 2020 tv 0:5.2.0-0.rc2.6.mga8 + Revision: 1648706 - do not recommend no more existing edk2-ovmf-arm - do not ignore tests failure anymore * Thu Nov 19 2020 tv 0:5.2.0-0.rc2.5.mga8 + Revision: 1647766 - Fix unknown symbols due to systemtap tracing * Wed Nov 18 2020 tv 0:5.2.0-0.rc2.4.mga8 + Revision: 1647105 - Rebase to qemu-5.2.0-rc2 * Thu Nov 12 2020 tv 0:5.2.0-0.rc1.4.mga8 + Revision: 1644817 - Rebase to qemu-5.2.0-rc1 * Mon Nov 09 2020 tv 0:5.2.0-0.rc0.4.mga8 + Revision: 1644133 - Rebase to qemu-5.2.0-rc0 * Tue Sep 08 2020 tv 0:5.1.0-4.mga8 + Revision: 1623712 - Fix conditionals for enabling QEMU sanity check - Check whether emulator works before doing sanity check - Provide explicit kernel path for QEMU sanity check - Make QEMU sanity check a build blocker - Fix host qemu binary path for aarch64 * Thu Sep 03 2020 tv 0:5.1.0-3.mga8 + Revision: 1621303 - Add btrfs ioctls to linux-user (rhbz#1872918) * Wed Aug 12 2020 tv 0:5.1.0-2.mga8 + Revision: 1613614 - drop mga6 conflicts - disable rdma on ARM (rhbz#1484155) - pull newly introduced modules - device-display-qxl depends on spice * Wed Aug 12 2020 tv 0:5.1.0-1.mga8 + Revision: 1613523 - Update to version 5.1.0 * Sun Aug 09 2020 tv 0:5.1.0-0.rc3.1.mga8 + Revision: 1612236 - Update to version 5.1.0-rc3 * Sat Aug 01 2020 tv 0:5.0.0-2.mga8 + Revision: 1610268 - Backport Dan's upstream patch to fix insecure cert in test suite. * Thu May 14 2020 tv 0:5.0.0-1.mga8 + Revision: 1583684 - Fix iouring hang (rhbz#1823751) * Wed Apr 29 2020 tv 0:5.0.0-0.1.mga8 + Revision: 1573180 - Update to qemu 5.0.0 GA * Fri Apr 17 2020 tv 0:5.0.0-0.rc3.0.1.mga8 + Revision: 1568505 - Update to qemu 5.0.0 rc3 * Fri Apr 10 2020 wally 0:5.0.0-0.rc2.0.1.mga8 + Revision: 1566192 - don't treat warnings as errors when building docs with sphinx + tv - Update to qemu 5.0.0 rc2 + danf - Switch URLs from http: to https: * Wed Apr 01 2020 tv 0:5.0.0-0.rc1.0.1.mga8 + Revision: 1563133 - 5.0 RC1 * Thu Mar 26 2020 tv 0:5.0.0-0.rc0.0.1.mga8 + Revision: 1560717 - add system-rx emulator - temporarily disable uring, it's breaking the test suite - Update to qemu-5.0.0-rc0 * Tue Mar 24 2020 tv 0:4.2.0-6.mga8 + Revision: 1559216 - BR newly split zlib-static-devel pkg - Fix segfault with SR-IOV hot-{plug,unplug} (rhbz#1814017) * Sat Feb 29 2020 tv 0:4.2.0-5.mga8 + Revision: 1552245 - BR new systemtap-sdt-devel subpkg - Add miscellaneous fixes for RISC-V (rhbz#1794902) - Fix ppc shutdown issue (rhbz#1784961) - virtio-fs support from upstream - rebuild for new libisci * Sun Dec 22 2019 tv 0:4.2.0-4.mga8 + Revision: 1469533 - simplify workarounding ncurses linking flags * Sun Dec 22 2019 tv 0:4.2.0-2.mga8 + Revision: 1469477 - Fix "pkg-config --libs ncurses" pulling "-Wl,--as-needed -Wl,--no-"ndefined" - Rebuild for new xen-libs - "fix" underlinking - Update to qemu-4.2.0 GA - Update to qemu-4.2.0 rc5 * Tue Dec 10 2019 tv 0:4.2.0-0.rc4.1.mga8 + Revision: 1465661 - Update to qemu-4.2.0 rc4 * Fri Nov 29 2019 tv 0:4.2.0-0.rc3.1.mga8 + Revision: 1463793 - Update to qemu-4.2.0 rc3 * Sat Nov 23 2019 tv 0:4.2.0-0.rc2.1.mga8 + Revision: 1462260 - Update to qemu-4.2.0 rc2 * Wed Nov 13 2019 tv 0:4.2.0-0.rc1.1.mga8 + Revision: 1459903 - adjust file list - Update to qemu-4.2.0 rc1 * Mon Nov 11 2019 tv 0:4.1.0-6.mga8 + Revision: 1459326 - Fix compressed qcow2 'qemu-img check' errors (rhbz#1768541) * Fri Oct 25 2019 tv 0:4.1.0-5.mga8 + Revision: 1455739 - Fix tests on kernel 5.3+ - gluster 4K block size fixes (rhbz#1737256) - Use --enable-tcg for static builds, apparently it's required - Workaround for qcow2 triggered XFS corruption (rhbz#1763519) * Fri Oct 04 2019 tv 0:4.1.0-4.mga8 + Revision: 1449273 - Rebuild for new virglrenderer * Tue Oct 01 2019 daviddavid 0:4.1.0-3.mga8 + Revision: 1448574 - rebuild for new nettle 3.5.1 * Mon Sep 16 2019 tv 0:4.1.0-2.mga8 + Revision: 1442207 - rebuild for new libnfs * Sun Aug 25 2019 tv 0:4.1.0-1.mga8 + Revision: 1432172 - qemu-4.1.0 GA * Mon Aug 12 2019 tv 0:4.1.0-0.rc4.1.mga8 + Revision: 1428904 - 4.1.0 RC4 * Tue Aug 06 2019 tv 0:4.1.0-0.rc3.1.mga8 + Revision: 1427694 - 4.1.0 RC3 * Thu Jul 25 2019 tv 0:4.1.0-0.rc2.2.mga8 + Revision: 1423914 - remove --disable-vxhs, try to rely on autodetection * Thu Jul 25 2019 tv 0:4.1.0-0.rc2.1.mga8 + Revision: 1423878 - Re-add libattr for qemu-user-static (rhbz#1731756) - 4.1.0 RC2 - switch to official tarball, now available * Tue Jul 16 2019 tv 0:4.1.0-0.rc1.1.mga8 + Revision: 1421926 - 4.1.0 RC1 (unofficial tarball) - drop BR on python2-sphinx - switch from libssh2-devel to libssh-devel - adjust for vhost-user-gpu - fix for docs building - 4.1.0 RC0 * Mon Jul 01 2019 tv 0:4.0.0-4.mga8 + Revision: 1417296 - enable slirp for user-mode networking (rhbz#1712980) * Mon Jul 01 2019 tv 0:4.0.0-3.mga8 + Revision: 1416650 - CVE-2019-12155: qxl: null pointer dereference while releasing spice resources (rhbz#1712727, rhbz#1712670) - Add vgabios-ramfb.bin and vgabios-bochs-display.bin (rhbz#1721445) * Wed May 15 2019 tv 0:4.0.0-2.mga7 + Revision: 1397873 - Define md-clear CPUID bit (CVE-2018-12126, CVE-2018-12127, CVE-2018-12130, CVE-2019-11091) * Wed Apr 24 2019 tv 0:4.0.0-1.mga7 + Revision: 1395131 - 4.0.0 final * Mon Apr 22 2019 tv 0:4.0.0-0.rc4.2.mga7 + Revision: 1394756 - 4.0.0 RC4 - Don't block migration with nested VMX (rhbz#1697997) * Sun Apr 14 2019 tv 0:4.0.0-0.rc3.2.mga7 + Revision: 1389965 - Rebuild against xen 4.12 * Wed Apr 10 2019 tv 0:4.0.0-0.rc3.1.mga7 + Revision: 1388187 - 4.0.0-rc3 * Wed Apr 03 2019 tv 0:4.0.0-0.rc2.1.mga7 + Revision: 1385582 - 4.0.0-rc2 * Wed Mar 27 2019 tv 0:4.0.0-0.rc1.1.mga7 + Revision: 1380552 - 4.0 RC1 * Mon Mar 25 2019 tv 0:4.0.0-0.rc0.2.mga7 + Revision: 1380205 - Backport patch to fix 3D crasher bug (rhbz#1692323) - Fix python paths for qemu-trace-stap * Fri Mar 22 2019 tv 0:4.0.0-0.rc0.1.mga7 + Revision: 1379650 - temporary skip testsuite - fix enabling Xen support - BR python2-sphinx too b/c /bin/sphinx-build is still the py2 one... - Fix python paths for qemu-trace-stap - Update to 4.0.0-rc0 - Fix compat with latest glibc which has gettid func * Mon Jan 28 2019 shlomif 0:3.1.0-4.mga7 + Revision: 1361715 - Rebuild for libnfs 3 * Sat Jan 12 2019 tv 0:3.1.0-3.mga7 + Revision: 1355765 - rebuild for new capstone * Fri Dec 21 2018 tv 0:3.1.0-2.mga7 + Revision: 1344187 - Restore patch to drop phantom 86 key from en-us keymap (rhbz#1658676) * Wed Dec 12 2018 tv 0:3.1.0-1.mga7 + Revision: 1340419 - Rebase to qemu-3.1.0 GA * Fri Dec 07 2018 tv 0:3.1.0-0.rc5.1.mga7 + Revision: 1338861 - new release * Fri Nov 30 2018 tv 0:3.1.0-0.rc3.1.mga7 + Revision: 1336873 - 3.1.0 RC3 * Thu Nov 22 2018 tv 0:3.1.0-0.rc2.3.mga7 + Revision: 1333166 - 3.1.0-rc2 - drop -g flag on ARM to prevent memory exhaustion by linker * Fri Nov 16 2018 tv 0:3.1.0-0.rc1.3.mga7 + Revision: 1330183 - Rebase to qemu-3.1.0-rc1 * Fri Sep 07 2018 tv 0:3.0.0-3.mga7 + Revision: 1257655 - rebuild for new libiscsi * Fri Aug 17 2018 tv 0:3.0.0-2.mga7 + Revision: 1252196 - try again due to gcc segfault - Rebase to qemu-3.0.0 GA - Drop ksm package, moved to ksmtuned srpm * Fri Aug 03 2018 tv 0:3.0.0-0.rc3.4.mga7 + Revision: 1247081 - ignore testsuite results on aarch64 too as %%arm do not include it * Thu Aug 02 2018 tv 0:3.0.0-0.rc3.3.mga7 + Revision: 1246916 - Rebase to qemu-3.0.0-rc3 - Only install modprobe kvm.conf on x86 (bz #1517989) * Tue Jun 19 2018 tv 0:2.12.0-3.mga7 + Revision: 1238133 - New CPU features for speculative store bypass (CVE-2018-3639) * Wed Jun 06 2018 tv 0:2.12.0-2.mga7 + Revision: 1234977 - Fix qxl memslot_get_virt crashes (rhbz#1565354) * Thu Apr 26 2018 tv 0:2.12.0-1.mga7 + Revision: 1222495 - 2.12.0 * Thu Apr 12 2018 tv 0:2.12.0-0.rc3.1.mga7 + Revision: 1218034 - 2.12 RC3 * Thu Apr 05 2018 tv 0:2.12.0-0.rc2.7.mga7 + Revision: 1215554 - Drop upstreamed riscv patch - new release * Wed Mar 28 2018 tv 0:2.12.0-0.rc1.7.mga7 + Revision: 1213204 - Update to qemu-2.12.0-rc1 - Enable missing tilegx, xtensa* qemu-user targets * Mon Mar 26 2018 tv 0:2.12.0-0.rc0.7.mga7 + Revision: 1212672 - BR qemu-sanity-check-nodeps - system-aarch64: requires instead of recommends edk2-aarch64 - system-x86: requires edk2-ovmf instead of edk2-ovmf-x64 - Generate binfmt configs with qemu-binfmt-conf.sh (simplify) * Sat Mar 24 2018 tv 0:2.12.0-0.rc0.6.mga7 + Revision: 1211929 - temporary ignore test results failures due to ascii 7 vs 8bits issues - temporary ignore test results failures due to ascii 7 vs 8bits issues - BR locales-en after "qapi: force a UTF-8 locale for running" - drop BR on valgrind - Sort system-* in alphabetical order - Remove repeated QEMU line in %%description - Rebase to qemu 2.11.1 bugfix release - Improve License tag - Honour CC/LD flags for ksmctl - Fix non-deterministic test failure - Use explicit "python2" binary to avoid "python" brokeness (rhbz#1550010) - Avoid breakage in TLS tests due to stricter crypto policies * Thu Mar 08 2018 tv 0:2.11.1-6.mga7 + Revision: 1207442 - Rebase to qemu 2.11.1 bugfix release - Improve License tag - Honour CC/LD flags for ksmctl - Fix non-deterministic test failure - Use explicit "python2" binary to avoid "python" brokeness (rhbz#1550010) - Avoid breakage in TLS tests due to stricter crypto policies * Mon Feb 05 2018 tv 0:2.11.0-6.mga7 + Revision: 1199001 - enable multi-path now that we've a newer mpath - switch to vte 2.91 * Sun Feb 04 2018 tv 0:2.11.0-5.mga7 + Revision: 1198884 - sync qemu guest agent with FC again - capstone is the preferred disassembler for TCG - there's no need for gperftools anymore * Sat Feb 03 2018 tv 0:2.11.0-4.mga7 + Revision: 1198705 - disable xen for now - rebuild for new xen * Sun Jan 28 2018 wally 0:2.11.0-1.mga7 + Revision: 1197767 - new version 2.11.0 - partially sync .spec with Fedora - sync patches with Fedora - disable multipath and vxhs support for now - rebuild for new libnfs + tv - new release - Fix endianness of e_type in the ppc64le binfmt * Fri Sep 08 2017 tv 0:2.10.0-3.mga7 + Revision: 1151949 - fix empty %%post - BR systemtap >= 3.2 in order to fix build with gcc7 [gcc#PR80115] - BR ncursesw-devel too for curses support - use new make macro - Fix incorrect byte order in e_machine field in ppc64le binfmt (rhbz#1486379) - new release - Fix binfmt dependencies and post scriptlets - Add binfmt for ppc64le - Fixes for compat with Xen 4.9 - Fix ucontext_t references with upcoming glibc * Tue Jul 18 2017 tv 0:2.9.0-1.mga7 + Revision: 1124796 - move rom into common subpkg - update file list - make ppc requires seavgabios-bin - add hppa - add nios2 - Create subpackages for modularized qemu block drivers (RHBZ#1393688) - move req on ipxe-roms-qemu into common subpkg - remove temporary cauldron obsoletes - rename or32->or1k - reenable PIE - sync patches with RH - new release * Fri Jul 07 2017 tmb 0:2.8.1.1-7.mga6 + Revision: 1109509 - disable CVE-2017-9524 fixes for now, since they cause regressions (mga#21192) * Fri Jun 30 2017 tmb 0:2.8.1.1-6.mga6 + Revision: 1108723 - qemu-nbd: Ignore SIGPIPE (CVE-2017-10664) * Sun Jun 25 2017 tmb 0:2.8.1.1-5.mga6 + Revision: 1108379 - nbd: segmentation fault due to client non-negotiation (CVE-2017-9524) * Thu Jun 08 2017 tmb 0:2.8.1.1-4.mga6 + Revision: 1107311 - Qemu: scsi: null pointer dereference while processing megasas commands (CVE-2017-9503) * Tue Jun 06 2017 tmb 0:2.8.1.1-3.mga6 + Revision: 1107128 - usb: ehci: fix memory leak in ehci (CVE-2017-9374) * Tue Jun 06 2017 tmb 0:2.8.1.1-2.mga6 + Revision: 1107111 - ide: core: add cleanup function - ide: ahci: call cleanup function in ahci unit (CVE-2017-9373) - xhci: guard xhci_kick_epctx against recursive calls (CVE-2017-9375) * Sun Jun 04 2017 tmb 0:2.8.1.1-1.mga6 + Revision: 1106740 - add several missing CVE fixes (mga#18489) - update to 2.8.1.1 * Wed May 03 2017 akien 0:2.8.0-5.mga6 + Revision: 1098915 - Disable glusterfs support, the package was dropped in mga6 as unmaintained * Wed Mar 01 2017 ghibo 0:2.8.0-4.mga6 + Revision: 1088302 - Rebuilt against pulseaudio 10 * Thu Dec 22 2016 tv 0:2.8.0-3.mga6 + Revision: 1076496 - add block subpkgs - new release * Wed Oct 19 2016 tv 0:2.7.0-2.mga6 + Revision: 1062192 - Fix interrupt endpoints not working with network/spice USB redirection on guest with an emulated xhci controller (rhbz#1382331) - CVE-2016-7155: pvscsi: OOB read and infinite loop (rhbz#1373463) - CVE-2016-7156: pvscsi: infinite loop when building SG list (rhbz#1373480) - CVE-2016-7156: pvscsi: infinite loop when processing IO requests (bz#1373480 - CVE-2016-7170: vmware_vga: OOB stack memory access (rhbz#1374709) - CVE-2016-7157: mptsas: invalid memory access (rhbz#1373505) - CVE-2016-7466: usb: xhci memory leakage during device unplug (rhbz#1377838) - CVE-2016-7423: scsi: mptsas: OOB access (rhbz#1376777) - CVE-2016-7422: virtio: null pointer dereference (rhbz#1376756) - CVE-2016-7908: net: Infinite loop in mcf_fec_do_tx (rhbz#1381193) - CVE-2016-8576: usb: xHCI: infinite loop vulnerability (rhbz#1382322) - CVE-2016-7995: usb: hcd-ehci: memory leak (rhbz#1382669) * Fri Oct 07 2016 tv 0:2.7.0-1.mga6 + Revision: 1059403 - new release - remove support for disabling systemtap support * Fri Oct 07 2016 tv 0:2.6.2-1.mga6 + Revision: 1059355 - new release * Fri Sep 30 2016 pterjan 0:2.6.1-4.mga6 + Revision: 1057781 - Fix file list - It seems we have_working_systemtap - We now have spice on arm + tv - only enable dtrace backend (faster) - cat config.log when configure fails during build * Thu Aug 25 2016 tv 0:2.6.1-3.mga6 + Revision: 1048934 - reenable debug - merge all static subpkgs in qemu-user-static like FC * Thu Aug 25 2016 tv 0:2.6.1-1.mga6 + Revision: 1048756 - new release - fix doble BR on pulseaudio-devel - explicitely BR alsa-devel * Thu Jun 23 2016 tmb 0:2.6.0-10.mga6 + Revision: 1037303 - dont require non-existant edk2-ovmf-aarch64 * Thu Jun 23 2016 tv 0:2.6.0-9.mga6 + Revision: 1037244 - fix & update OVMF deps: o make system-x86 requires edk2-ovmf-x64 & Recommends edk2-ovmf-ia32 o make system-aarch64 requires edk2-ovmf-aarch64 & Recommends edk2-ovmf-arm - CVE-2016-4002: net: buffer overflow in MIPSnet (rhbz#1326083) - CVE-2016-4952 scsi: pvscsi: out-of-bounds access issue - CVE-2016-4964: scsi: mptsas infinite loop (rhbz#1339157) - CVE-2016-5106: scsi: megasas: out-of-bounds write (rhbz#1339581) - CVE-2016-5105: scsi: megasas: stack information leakage (rhbz#1339585) - CVE-2016-5107: scsi: megasas: out-of-bounds read (rhbz#1339573) - CVE-2016-4454: display: vmsvga: out-of-bounds read (rhbz#1340740) - CVE-2016-4453: display: vmsvga: infinite loop (rhbz#1340744) - CVE-2016-5126: block: iscsi: buffer overflow (rhbz#1340925) - CVE-2016-5238: scsi: esp: OOB write (rhbz#1341932) - CVE-2016-5338: scsi: esp: OOB r/w access (rhbz#1343325) - CVE-2016-5337: scsi: megasas: information leakage (rhbz#1343910) - Fix crash with -nodefaults -sdl (rhbz#1340931) * Tue Jun 21 2016 tv 0:2.6.0-8.mga6 + Revision: 1037081 - do not use fixed GID/UIDs that can conflicts with existing users/groups * Fri Jun 17 2016 tv 0:2.6.0-7.mga6 + Revision: 1021976 - remove useless wrapper * Thu May 26 2016 tv 0:2.6.0-6.mga6 + Revision: 1018817 - CVE-2016-4020: memory leak in kvmvapic.c (bz #1326904) - CVE-2016-4439: scsi: esb: OOB write #1 (bz #1337503) - CVE-2016-4441: scsi: esb: OOB write #2 (bz #1337506) - Fix regression installing windows 7 with qxl/vga (bz #1339267) - Fix crash with aarch64 gic-version=host and accel=tcg (bz #1339977) * Sun May 22 2016 shlomif 0:2.6.0-5.mga6 + Revision: 1017796 - qemu-static based on proybind * Sat May 21 2016 tv 0:2.6.0-4.mga6 + Revision: 1017278 - Explicitly error if spice GL setup fails - Fix monitor resizing with virgl (rhbz#1337564) - Fix libvirt noise when introspecting qemu-kvm without hw virt * Tue May 17 2016 tv 0:2.6.0-3.mga6 + Revision: 1016396 - explain the issue with nonworking systemtap support - run testsuite - clean BRs thanks to latest usbredir - kvm provides has been moved to system-x86 subpkg * Mon May 16 2016 tv 0:2.6.0-2.mga6 + Revision: 1016088 - adjust BRs * Thu May 12 2016 tv 0:2.6.0-1.mga6 + Revision: 1014229 - 2.6.0 final release * Mon May 09 2016 tv 0:2.6.0-0.rc5.1.mga6 + Revision: 1011788 - 2.6.0 RC5 * Tue May 03 2016 tv 0:2.6.0-0.rc4.1.mga6 + Revision: 1008896 - 2.6.0 RC4 * Tue Apr 26 2016 tv 0:2.6.0-0.rc3.3.mga6 + Revision: 1006593 - rebuild with new libnfs + libiscsi - BR pkgconfig(libiscsi) instead of libiscsi-devel for iSCSI support - disable tcg interpreter - BR vte2.90-devel instead of vte3-devel for VTE support * Tue Apr 26 2016 tv 0:2.6.0-0.rc3.2.mga6 + Revision: 1006511 - systemstap support failed - remove rpath if needed - fix %%install - enable tcg interpreter - disable striping - disable xfsctl, fallocate works fine in newer kernels - add binfmt support - use systemd macros for new guest-agent sub pkg - introduce kvm meta-package - add support for ARM - add a sample kvm.conf for modules - distribute a sample /etc/qemu/bridge.conf file - add 80-kvm.rules - split emulators in sub packages b/c qemu is huge - build more arches - common pkg: add some groups in %%pre - drop obsolete kvm.modules - move qemu-nbd into img subpackage - BR systemtap - split guest-agent sub packages - split ivshmem-tools & ksm sub packages - BR numactl-devel * Sat Apr 23 2016 tv 2.6.0-0.rc3.1.mga6 + Revision: 1005476 - 2.6.0-rc3 - patch 0001: our spice has virgil support * Mon Apr 18 2016 tv 2.6.0-0.rc2.4.mga6 + Revision: 1003334 - also recommends edk2-ovmf-x64 and the like (still needs to fix nvram pathes in /etc/libvirt/qemu.conf before UEFI can be tested in virt-manager...) - requires ipxe, seabios, sgabios instead of shipping pre-build images - recommends openbios & slof for the same reasons * Sun Apr 17 2016 tv 2.6.0-0.rc2.3.mga6 + Revision: 1003270 - add qemu-kvm wrapper from FC) * Sat Apr 16 2016 tv 2.6.0-0.rc2.2.mga6 + Revision: 1003044 - do not load kvm modules on %%post (we've CPU-feature based kernel module auto-loading) - resync ksmtuned with FC - BR librdmacm-devel - BR lzo-devel * Fri Apr 15 2016 tv 2.6.0-0.rc2.1.mga6 + Revision: 1002134 - BR libiscsi-devel, libnfs-devel & snappy-devel - reenable tcmalloc now that we've gperftools - disable tcmalloc - enable tcmalloc - BR alsa-lib-devel - enable FDT suppotr - enable glusterfs support - enable SSH2 block driver - BR nss-devel + libjpeg-devel - BR ncurses-devel to enable '-curses' option - BR libseccomp-devel - BR libegl-devel - target aarch64 too - enable gtk+3 support - switch to SDL2 - simplify build: do only one like FC instead of 3: o kvm support is always enabled o xen support is automatically enabled on x86 only - 2.6.0 RC2 - BR bzip2-devel libepoxy-devel libtasn1-devel - BR mesal +virglrenderer for qemu 2.6 GL support * Mon Apr 11 2016 tv 2.6.0-0.rc0.1.mga6 + Revision: 1000190 - 2.6.0 RC1 * Sun Apr 03 2016 tv 2.5.0-8.mga6 + Revision: 997797 - rebuild for new xen - kill useless macro * Tue Jan 12 2016 tmb 2.5.0-7.mga6 + Revision: 922233 - net: rocker: fix an incorrect array bounds check (CVE-2015-8701) - net: ne2000: fix bounds check in ioport operations (CVE-2015-8743) - ide: ahci: reset ncq object to unused on error (CVE-2016-1568) * Mon Jan 11 2016 luigiwalser 2.5.0-6.mga6 + Revision: 921834 - rebuild for gnutls * Thu Jan 07 2016 blino 2.5.0-5.mga6 + Revision: 920217 - rebuild for spice-protocol * Wed Jan 06 2016 blino 2.5.0-4.mga6 + Revision: 919937 - enable spice on all archs (now available on ARM as well) * Tue Jan 05 2016 pterjan 2.5.0-3.mga6 + Revision: 919819 - Do not list xen and kvm files on arches where they are not built * Tue Jan 05 2016 pterjan 2.5.0-2.mga6 + Revision: 919807 - Do not BuildRequire dev86 and iasl on non x86 - Build on all arches * Thu Dec 24 2015 tmb 2.5.0-1.mga6 + Revision: 913915 - net: vmxnet3: memory leakage issue (CVE-2015-8567, CVE-2015-8568) - scsi: initialise info object with appropriate size (CVE-2015-8613) - hmp: avoid redundant null termination of buffer (CVE-2015-8619) - update to 2.5.0 * also fixes the following security issues: - net: pcnet: add check to validate receive data size (CVE-2015-7504) - net: pcnet: fix rx buffer overflow (CVE-2015-7512) - net: eepro100: Prevent two endless loops (CVE-2015-8345) - ui: vnc: avoid floating point exception (CVE-2015-8504) - pci: msix: implement pba write (but read-only) (CVE-2015-7549) - ehci: make idt processing more robust (CVE-2015-8558) * Tue Oct 13 2015 tmb 2.4.0.1-1.mga6 + Revision: 890502 - update to 2.4.0.1 * drop merged patches * Tue Oct 13 2015 tmb 2.1.3-7.mga6 + Revision: 890446 - net: avoid infinite loop when receiving packets (CVE-2015-5278) - net: add checks to validate ring buffer pointers (CVE-2015-5279) - virtio: introduce virtqueue_unmap_sg() - virtio: introduce virtqueue_discard() - virtio-net: correctly drop truncated packets (CVE-2015-7295) * Thu Sep 10 2015 luigiwalser 2.1.3-6.mga6 + Revision: 875766 - add upstream patch to fix divide by zero in ATAPI emulation * Fri Sep 04 2015 luigiwalser 2.1.3-5.mga6 + Revision: 872864 - add upstream patch to fix infinite loop in e1000 * Wed Sep 02 2015 luigiwalser 2.1.3-4.mga6 + Revision: 872318 - add missing portion of CVE-2015-3209 patch (from fedora) - add patches from fedora to fix CVE-2015-5165 and CVE-2015-5225 - add patch from fedora to fix spice segfault (rhbz#1255899) - do not use find_lang as it does not find anything - sync with mga5 (several CVE fixes, mga#16105) * Thu Jun 11 2015 luigiwalser 2.1.3-3.mga6 + Revision: 822996 - resync with f21, including a fix for CVE-2015-4037 * Wed May 13 2015 luigiwalser 2.1.3-2.mga5 + Revision: 822016 - add patch from fedora to fix rhbz#1200043 - add patch from redhat to fix CVE-2015-3456 * Thu Apr 09 2015 luigiwalser 2.1.3-1.mga5 + Revision: 819992 - resync with Fedora 21: - 2.1.3 - add several upstream patches including ones to fix CVE-2015-1779 * Tue Feb 03 2015 akien 2.1.2-5.mga5 + Revision: 813310 - Rebuild for new xen * Wed Dec 10 2014 luigiwalser 2.1.2-4.mga5 + Revision: 802606 - add upstream patches to fix CVE-2014-8106 * Thu Dec 04 2014 luigiwalser 2.1.2-3.mga5 + Revision: 801473 - add newest patches from fedora, including fix for CVE-2014-7840 * Thu Nov 06 2014 luigiwalser 2.1.2-2.mga5 + Revision: 795981 - add patches from fedora to fix CVE-2014-3689 and CVE-2014-7815 and other bugs * Mon Sep 29 2014 bcornec 2.1.2-1.mga5 + Revision: 731646 - Update sha file - Update to upstream 2.1.2 qemu * Fri Sep 12 2014 tv 2.1.1-1.mga5 + Revision: 674791 - new release * Sat Aug 02 2014 tv 2.1.0-1.mga5 + Revision: 659181 - adjust file list - new release * Mon May 12 2014 joequant 2.0.0-1.mga5 + Revision: 622069 - release 2.0.0 * Sun Apr 13 2014 joequant 2.0.0-0.3.rc2.2.mga5 + Revision: 613736 - fix usb devel - add build requires - enable usb and linux-aio * Thu Apr 10 2014 joequant 2.0.0-0.3.rc2.1.mga5 + Revision: 613178 - update to rc2 and workaround package numbering mistake * Sun Mar 30 2014 tv 2.0.0-0.3.rc0.mga5 + Revision: 610379 - rebuild for new xen * Mon Mar 24 2014 oden 2.0.0-0.2.rc0.mga5 + Revision: 607898 - rebuilt against usbredir-0.6 * Wed Mar 19 2014 joequant 2.0.0-0.1.rc0.mga5 + Revision: 605561 - upgrade to qemu 2.0 * Wed Feb 05 2014 luigiwalser 1.6.2-1.mga5 + Revision: 583762 - 1.6.2 - add patches from fedora to fix CVE-2013-4377 * Tue Oct 15 2013 dams 1.6.1-2.mga4 + Revision: 501216 - Rebuild for new libxen* * Thu Oct 10 2013 luigiwalser 1.6.1-1.mga4 + Revision: 494548 - 1.6.1 * Sat Aug 31 2013 fwang 1.6.0-3.mga4 + Revision: 473656 - rebuild for new sasl * Tue Aug 27 2013 luigiwalser 1.6.0-2.mga4 + Revision: 472088 - rebuild for cyrus-sasl * Mon Aug 19 2013 joequant 1.6.0-1.mga4 + Revision: 467681 - upgrade to 1.6.0 * Tue Jul 23 2013 luigiwalser 1.5.0-4.mga4 + Revision: 457471 - add patches from redhat to fix CVE-2013-2231 * Mon Jun 03 2013 fwang 1.5.0-3.mga4 + Revision: 436076 - rebuild for new libpng * Sat Jun 01 2013 sander85 1.5.0-2.mga4 + Revision: 434028 - Rebuild for new brltty * Tue May 28 2013 tv 1.5.0-1.mga4 + Revision: 429348 - new release - drop merged patches - drop obsolete obsoletes tag - do not use embedded libcacard * Thu Apr 25 2013 luigiwalser 1.2.0-8.mga3 + Revision: 411183 - add patch from fedora to fix CVE-2013-1922 * Wed Mar 06 2013 alien 1.2.0-7.mga3 + Revision: 401563 - Build native qemu-xen * Wed Jan 16 2013 luigiwalser 1.2.0-6.mga3 + Revision: 388815 - add patches from upstream via debian to fix CVE-2012-6075 * Wed Jan 09 2013 pterjan 1.2.0-5.mga3 + Revision: 343878 - Rebuild for new libxen* * Tue Dec 25 2012 cjw 1.2.0-4.mga3 + Revision: 334857 - patch1: fix crashes with vmvga graphics + spice - add BuildRequires: pkgconfig(libpng) xen-devel libaio-devel cap-ng-devel cap-devel attr-devel * Fri Sep 07 2012 guillomovitch 1.2.0-3.mga3 + Revision: 289178 - drop smartcard support (conflict with libcaca-tools) * Thu Sep 06 2012 guillomovitch 1.2.0-2.mga3 + Revision: 288853 - add smartcard NSS support - add systemd support - drop sysinit support * Wed Sep 05 2012 tv 1.2.0-1.mga3 + Revision: 288693 - further adjust file list - adjust file list - new release - drop merged patches + luigiwalser - add patch from RedHat to fix CVE-2012-3515 * Tue Jul 10 2012 luigiwalser 1.0-7.mga3 + Revision: 269332 - re-diff upstream patch to fix CVE-2012-2652 * Sat Apr 14 2012 kamil 1.0-6.mga2 + Revision: 230742 - add P0: upstream-support-for-udp-unicast-network-backend.patch * Mon Mar 05 2012 misc 1.0-5.mga2 + Revision: 219367 - rebuild for new vde * Fri Mar 02 2012 misc 1.0-4.mga2 + Revision: 216760 - enable mixer emulation ( for spice ) - fix the BuildRequires for usb-redir * Fri Mar 02 2012 misc 1.0-3.mga2 + Revision: 216752 - add xfs raw direct access support - also add support for uuid generation - add support for usb redirection * Fri Mar 02 2012 misc 1.0-2.mga2 + Revision: 216745 - add support for curl download - add support for bluetooth stack - as explained in the qemu changelog, the qemu binary is no more, and will be replaced in the future by a specific tool, so do not try to put specific symlink for that ( see http://wiki.qemu.org/ChangeLog/1.0 ) - fix build with Fedora patch - revert last change, as asked by coling on irc, to keep patching as minimal as possible - remove patch0 to add a fedora13 machine type ( not needed anymore ) - Update to 1.0 + colin - Fix build (upstream patch) - Fix pidfile to match LSB header in sysvinit script * Wed Jan 11 2012 ovitters 0.15.1-2.mga2 + Revision: 194839 - enable spice support (needed for gnome-boxes) + dmorgan - New version 0.15.1 * Wed Sep 28 2011 boklm 0.15.0-2.mga2 + Revision: 149704 - fix dependency on texi2html + tv - fix file list - new release - drop patch 1 (merged) + fwang - fix build with latest pulseaudio - add default-stop - rebuild for new gnutls * Sat Jun 18 2011 cjw 0.14.1-1.mga2 + Revision: 109334 - 0.14.1 - drop patch1 and patch3, included upstream * Tue May 03 2011 misc 0.14.0-5.mga1 + Revision: 94340 - add fix for CVE-2011-1750, patch from debian and upstream * Sat Apr 16 2011 blino 0.14.0-4.mga1 + Revision: 86505 - sync ksm initscripts with Fedora (to silence an error about missing max_kernel_pages with current kernels) * Tue Apr 05 2011 misc 0.14.0-3.mga1 + Revision: 80843 - rebuild - remove old comments and all trace of kvmtrace - add comments about obsoletes and trigger to remove - remove old commented part of the spec about kvmtrace ( tool deprecated upstream ) - remove hack around mtune, since this is the default flag it is supported by gcc or not specified, and as the remplacement is using pentiumpro, this is already highly x86 specific ) - qemu do not seems to use private symbol of glibc, so remove the hack to filter them * Tue Apr 05 2011 misc 0.14.0-2.mga1 + Revision: 80767 - reenable vde, Fedora not using it is not a reason for us to not use it - use single digit for patch, more readable - add comments on the 2 patchs - remove old patch not referenced in spec * Mon Mar 07 2011 saispo 0.14.0-1.mga1 + Revision: 65897 - Remove video.x file - Fix apply patch00 and patch01 - Add two patches come from Fedora - Disable vde-devel BuildRequires, don't need it - New release 0.14.0 + misc - fix License - enable vde support ( since we do not have main/contribs ) - clean overzealous requires - remove old conflicts against 2007.1 packages - imported package qemu * Sat Dec 04 2010 Lonyai Gergely 0.13.0-1mdv2011.0 + Revision: 608879 - Fix the sysconfdir param - Add some files to %%files - try the official doc/man install - Install manualy the man pages. - Install manualy qemu manpage - Does not run compile in the user dir - Disable the kvm_trace tool. - 0.13.0 + Funda Wang - br makeinfo + Thierry Vignaud - fix outdated URL * Wed Aug 25 2010 Guillaume Rousse 0.12.5-1mdv2011.0 + Revision: 573124 - new version * Fri Jul 16 2010 Funda Wang 0.12.4-1mdv2011.0 + Revision: 553901 - New version 0.12.4 * Mon Mar 01 2010 Frederic Crozat 0.12.3-2mdv2010.1 + Revision: 512912 - Ensure kvm modules autoload can be blacklisted (Fedora) * Sun Feb 28 2010 Frederik Himpe 0.12.3-1mdv2010.1 + Revision: 512672 - Update to new version 0.12.3 * Thu Jan 21 2010 Frederik Himpe 0.12.2-1mdv2010.1 + Revision: 494681 - Update to new version 0.12.2 * Fri Jan 01 2010 Frederik Himpe 0.12.1.2-1mdv2010.1 + Revision: 484859 - Update to new version 0.12.1.2 - Remove old patches * Tue Dec 15 2009 Frederik Himpe 0.11.1-1mdv2010.1 + Revision: 479125 - Update to new version 0.11.1 - Enable KSM support now that we have Linux 2.6.32 with KSM support (from Fedora) * Mon Nov 23 2009 Pascal Terjan 0.11.0-5mdv2010.1 + Revision: 469231 - Drop kqemu support, it is now broken so no reason to limit supported memory in kvm * Thu Nov 12 2009 Herton Ronaldo Krzesinski 0.11.0-4mdv2010.1 + Revision: 465471 - Rebuild with latest glibc-devel (fixed preadv/pwritev prototypes). * Wed Oct 14 2009 Frederik Himpe 0.11.0-3mdv2010.0 + Revision: 457437 - Add Fedora patch to Fix fs errors with virtio and qcow2 backing file (RH bug #524734) * Sun Oct 04 2009 Frederik Himpe 0.11.0-2mdv2010.0 + Revision: 453566 - Sync patches with Fedora * Thu Oct 01 2009 Frederik Himpe 0.11.0-1mdv2010.0 + Revision: 452301 - Update to new version 0.11.0 final * Mon Sep 14 2009 Frederik Himpe 0.11.0-0.rc2.2mdv2010.0 + Revision: 441019 - Update to new version 0.11.0-rc2 - Remove patched included upstream * Sat Aug 08 2009 Frederik Himpe 0.11.0-0.rc2.1mdv2010.0 + Revision: 411756 - Remove warning about permissions on KVM device, now udev only gives access to console users * Sat Aug 08 2009 Frederik Himpe 0.10.6-1mdv2010.0 + Revision: 411755 - Don't package udev rules, /lib/udev/rules.d/70-acl.rules from udev package now takes care of this - Update to new version 0.10.6 * Wed Jul 01 2009 Pascal Terjan 0.10.5-1mdv2010.0 + Revision: 391268 - Enable kqemu support - Update to 0.10.5 * Sun May 24 2009 Frederik Himpe 0.10.4-7mdv2010.0 + Revision: 379273 - Correct sasl BuildRequires - Add warning about security issue with /dev/kvm being accessible by non-root users - Add KVM udev rules to let normal users use KVM - Mark configuration files as %%config(noreplace) - Enable sasl authentication - Sync patches with Fedora 11 * Sat May 23 2009 Frederik Himpe 0.10.4-6mdv2010.0 + Revision: 379080 - Disable vde, it's not in main - Add some BuildRequires (build with vde, brlapi and VNC/TLS support) - Remove old qemu init script on upgrade - Use qemu-kvm 0.10.4 sources - Obsolete kvm - Remove kqemu: it is unmaintained and unreliable - Use /etc/sysconfig/modules/kvm.modules to load KVM kernel modules - Merge %%build section from Fedora's qemu package: build qemu-kvm twice: once with KVM support for x86* and once without kvm support - Add PPC patch from Fedora to fix build of PPC emulator - Add patch fixing kerneldir includes from upstream git to fix build of KVM * Tue May 12 2009 Frederik Himpe 0.10.4-5mdv2010.0 + Revision: 375044 - Update to new version 0.10.4 - Update to new version 0.10.3 - Prefer sdl over alsa because sound with alsa is choppy * Sun Mar 22 2009 Frederik Himpe 0.10.1-3mdv2009.1 + Revision: 360260 - Update to new version 0.10.1 * Fri Mar 06 2009 Pascal Terjan 0.10.0-2mdv2009.1 + Revision: 349652 - Update to 0.10.0 - Enable ppc again * Wed Feb 04 2009 Guillaume Rousse 0.9.1-0.r5137.2mdv2009.1 + Revision: 337395 - rediff vga patch - keep bash completion in its own package * Mon Sep 08 2008 Pascal Terjan 0.9.1-0.r5137.1mdv2009.0 + Revision: 282565 - Update to svn snapshot - Drop KVM support (to be packaged separatly) - Disable ppc for now * Tue Apr 01 2008 Pascal Terjan 0.9.0-18mdv2008.1 + Revision: 191380 - try SDL, alsa, oss instead of oss, alsa, SDL + Anssi Hannula - add a comment regarding _requires_exceptions + Olivier Blin - restore BuildRoot + Thierry Vignaud - kill re-definition of %%buildroot on Pixel's request * Sat Dec 08 2007 Per Øyvind Karlsen 0.9.0-17mdv2008.1 + Revision: 116405 - backport OHCI & UHCI iso transfer support from git (should make webcams usable :) - fix typo in bash completion (modified S3) * Mon Oct 01 2007 Pascal Terjan 0.9.0-16mdv2008.0 + Revision: 94272 - Add a link /usr/bin/qemu-kvm for compatibility with some other distros * Sat Sep 22 2007 Pascal Terjan 0.9.0-15mdv2008.0 + Revision: 92233 - Have the completion to add the common prefix (really handy to change iso during install) * Fri Sep 21 2007 Pascal Terjan 0.9.0-14mdv2008.0 + Revision: 91894 - Enable alsa support (and don't disable gcc version check twice) * Mon Sep 17 2007 Pascal Terjan 0.9.0-13mdv2008.0 + Revision: 89251 - Add mipsel system emulation * Thu Sep 06 2007 Olivier Blin 0.9.0-12mdv2008.0 + Revision: 80664 - fix "HSM violation" bug in ATAPI cdrom driver (from qemu CVS, Novell #291775, Ubuntu #120316) * Mon Aug 20 2007 Pascal Terjan 0.9.0-11mdv2008.0 + Revision: 67355 - Turn Requires dkms-kqemu into a Suggest * Mon Aug 20 2007 Pascal Terjan 0.9.0-10mdv2008.0 + Revision: 67187 - Drop cpu-vendor option from kvm patch for now, it breaks build on x86_64 - Update to kvm-35 - Add a patch from the ML to support USB devices with several interfaces * Fri Aug 10 2007 Pascal Terjan 0.9.0-9mdv2008.0 + Revision: 61527 - Adapt the PXE patches and apply them + Erwan Velu - Adding patches to make pxe working * Sat Jun 30 2007 Olivier Blin 0.9.0-8mdv2008.0 + Revision: 46094 - fix __find_requires macro override - really package bash_completion file (and thus fix build) - do not mark initscript as config file + Guillaume Rousse - bash completion * Fri Apr 20 2007 Gwenole Beauchesne 0.9.0-7mdv2008.0 + Revision: 16259 - rewrite patches for gcc4 support and use it everywhere * Wed Apr 18 2007 Gwenole Beauchesne 0.9.0-6mdv2008.0 + Revision: 14738 - fix pgtable calculation for 32-bit code under x86_64 (Bernhard Kauer) - fix qcow2 image corruption, refcount table (Juergen Keil) - fix build with gcc3.3 (Windows XP in i386-softmmu) * Tue Mar 27 2007 Gwenole Beauchesne 0.9.0-5mdv2007.1 + Revision: 149237 - fix x86 fprem, aka fix konqueror in x86{,_64} guests (Julian Seward) - propagate release to dkms config so that to handle upgrades gracefully - don't try to load kvm module in xen0 - increase max -kernel size to 8 MB with -initrd (x86_64 guest, in particular) * Thu Mar 15 2007 Gwenole Beauchesne 0.9.0-4mdv2007.1 + Revision: 144294 - kqemu 1.3.0pre11 (no change) - fix linux-user emulation on x86_64 - disable "no-nptl" patch for MDV >= 2007.0 - add should-start: dkms to initscript (blino) - add conflicts to ensure upgrades from MDV < 2007.1 * Wed Mar 14 2007 Gwenole Beauchesne 0.9.0-3mdv2007.1 + Revision: 143511 - split off qemu-img into another package - make "qemu" the accelerator-capable binary on x86_64 too - add KVM support (rev 4486) - add live migration support (Anthony Liguori + KVM SVN) - fix support for multi-threaded applications in linux-user * Wed Feb 14 2007 Gwenole Beauchesne 0.9.0-2mdv2007.1 + Revision: 120890 - add support for vga= option with -kernel (Pascal Terjan) - updates from CVS (2007/02/14): * fix SYSLINUX hang (reset rombios32 area) * fix floating point to integer conversion in sparc emulation * serial console improvements * increase USB table poll interval * more linux-user syscalls: prctl, syslog * Tue Feb 06 2007 Gwenole Beauchesne 0.9.0-1mdv2007.1 + Revision: 116853 - 0.9.0 - integrate kqemu * Sat Feb 03 2007 Gwenole Beauchesne 0.8.3-0.20070203.1mdv2007.1 + Revision: 116057 - 64-bit fixes (preserve host registers) - x86_64 host improvements (+15%% on nbench.flp) - remove qvm86 accelerator (obsolete and unmaintained) - updates from CVS (2007/02/03): * fix x86_64 syscalls, cwde and cdq * add sem*() and msg*() to linux-user emulation * add PIIX4 SMBus host support, EEPROM device emulation * Tue Jan 30 2007 Gwenole Beauchesne 0.8.3-0.20070118.1mdv2007.1 + Revision: 115559 - 0.8.3 snapshot (2007/01/18) * Mon Jul 24 2006 trem 0.8.2-1mdv2007.0 - 0.8.2 * Thu Jul 20 2006 trem 0.8.1-2mdv2007.0 - add Patch20 which fix a compile error - add arm-softmmu as target * Thu May 04 2006 trem 0.8.1-1mdk - 0.8.1 - remove useless patch * Mon Feb 13 2006 Gwenole Beauchesne 0.8.0-4mdk - fix gcc4 hacks for 0.8.0 - enforce 16-byte stack boundaries - try to enforce only one exit point per synthetic opcode - assorted fixes from cvs (2006/02/12): * fxsave/fxrstor fix * kqemu and SMP are currently not compatible * make target_mmap always return -1 on failure * correct DMA and transfer mode reporting (Jens Axboe) * Sun Feb 05 2006 Gwenole Beauchesne 0.8.0-3mdk - add rtl8139 nic emulation (Igor Kovalenko) - add support for nic card selection (-nic hw=ne2000|pcnet|rtl8139) - fix but remove x86_64 softmmu asm opts as sizeof(CPUTLBEntry) is no longer of the form 2^n and thus requiring one more instruction that renders the optimization worthless * Mon Jan 16 2006 trem 0.8.0-2mdk - Fix x86_64 compilation (disable patch x86_64-softmmu-asm) * Tue Dec 20 2005 Pascal Terjan 0.8.0-1mdk - 0.8.0 - rediffed P8, P16 - merged P13 into P2 - dropped P12 - updated P11 - don't apply sheep-net patch for now, gb will do :) - add patch by Paul Brook to speedup user-net (P19) * Fri Oct 28 2005 Gwenole Beauchesne 0.7.2-5mdk - more gcc4 patches, disabled for now because of x86_64-softmmu * Tue Oct 25 2005 Gwenole Beauchesne 0.7.2-4mdk - linux-user improvements: * add AT_PLATFORM & AT_HWCAP entries to auxiliary vector * forcibly disable use of NPTL for now since it's not emulated yet * Tue Oct 11 2005 Pascal Terjan 0.7.2-3mdk - Enable building kqemu/qvm86 support (P12) : * don't require the sources of current kernel * as we don't know the kernel, enforce 2.6 build style * Tue Oct 11 2005 Erwan Velu 0.7.2-2mdk - Oops, 0.7.2-1mdk wasn't good :( - importing newest kqemu.h - qvm86 updates from CVS (2005/10/10) * Mon Oct 10 2005 Erwan Velu 0.7.2-1mdk - 0.7.2 - Rediffing to 0.7.2 - patch13 is merged upstream * Thu Aug 11 2005 Gwenole Beauchesne 0.7.1-3mdk - IDE fix from CVS for FreeBSD/AMD64 support - run-time detect qvm86/kqemu and enable specific features accordingly - qvm86 updates from CVS (2005/08/01): * performance improvements * add support for pae enabled host kernels * Mon Jul 25 2005 Pascal Terjan 0.7.1-2mdk - use new kqemu.h from kqemu - enable kqemu support on x86_64 (P12) - don't break x86_64 in P8 when kqemu is enabled * Mon Jul 25 2005 Gwenole Beauchesne 0.7.1-1mdk - only use gcc3.3 in 2006+ and x86 - load initrd at a higher address in pc emulation - 0.7.1: * fixes to sparc64 and ppc system emulation * add initial support for mips system emulation * fixes to i386 emulation: fscale, add overflow exceptions in divisions * fix 64-bit virtual addressing * allow more than 4 GB of physical memory * add IO-APIC support for Windows 64 * add support for s390 hosts * linux-user improvements: more set/getsockopt values, [f]truncate64, * Thu Jul 21 2005 Pascal Terjan 0.7.0-8mdk - add AMD pcnet patch (faster NIC, add -nic-pcnet to use it) - fix qvm86 description (only runs on kernels without PAE) - enforce using gcc3.3 * Sat Jun 04 2005 Gwenole Beauchesne 0.7.0-7mdk - minor optimizations to x86-64 host: * support direct jumps * assembly optimizations to softmmu mode * Thu Jun 02 2005 Gwenole Beauchesne 0.7.0-6mdk - fix build with gcc4 (Paul Brook) - fix build with gcc4 on x86_64 and local dot symbols - fix x86-64 system emulation regression introduced from qvm86 patch * Wed Jun 01 2005 Gwenole Beauchesne 0.7.0-5mdk - refactor buildrequires - add support for -sheep-net network emulation * Tue May 17 2005 Gwenole Beauchesne 0.7.0-4mdk - remove double free in slirp code - 64-bit fixes to -user-net - cross-compilation fixes to mingw32 from 64-bit host - selected fixes from CVS (2005/05/17): * Windows 2000 install disk full hack (with -win2k-hack) * BMDMA interrupt fix (aka Solaris x86 IDE bug fix) * ne2000 reset fix (aka OS/2 Warp V4 fix) * handle the case where several PCI irqs share the same PIC irq * open fix in Linux/ARM user emulation * ARM saturating arithmetic fixes * ARM VFP dump fix * PPC dcbz fix * Fri May 13 2005 Pascal Terjan 0.7.0-3mdk - Support qvm86 instead * Wed May 11 2005 Pascal Terjan 0.7.0-2mdk - Enable kqemu support * Fri Apr 29 2005 Pascal Terjan 0.7.0-1mdk - 0.7.0 - regenerate P1 - add new targets * Sun Nov 14 2004 Per Øyvind Karlsen 0.6.1-1mdk - 0.6.1 - build sparc target - add initial sparc host cpu support - drop P0, P2 & P3 (merged upstream) - regenerate P1 * Wed Sep 29 2004 Michael Scherer 0.6.0-2mdk - fix memleak of userspace-net-stack, ( http://lists.gnu.org/archive/html/qemu-devel/2004-09/msg00244.html ) * Mon Sep 06 2004 Gwenole Beauchesne 0.6.0-1mdk - 0.6.0 - updates from CVS (2004/09/06): * fix x86 bound instruction * fix build on x86 with asm memory helpers * fix build on ppc