peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame qemu.spec

Paolo Bonzini 2803fc
%ifarch %{ix86}
Paolo Bonzini 2803fc
%global kvm_package   system-x86
b26fb5
# need_qemu_kvm should only ever be used by x86
Paolo Bonzini 2803fc
%global need_qemu_kvm 1
Paolo Bonzini 2803fc
%endif
Paolo Bonzini 2803fc
%ifarch x86_64
Paolo Bonzini 2803fc
%global kvm_package   system-x86
b26fb5
# need_qemu_kvm should only ever be used by x86
Paolo Bonzini 2803fc
%global need_qemu_kvm 1
Paolo Bonzini 2803fc
%endif
8dd6b5
%ifarch %{power64}
Paolo Bonzini 2803fc
%global kvm_package   system-ppc
Paolo Bonzini 2803fc
%endif
Paolo Bonzini 31c633
%ifarch s390x
Paolo Bonzini 31c633
%global kvm_package   system-s390x
Paolo Bonzini 31c633
%endif
Peter Robinson 441340
%ifarch armv7hl
Peter Robinson 441340
%global kvm_package   system-arm
Peter Robinson 441340
%endif
21cd6f
%ifarch aarch64
21cd6f
%global kvm_package   system-aarch64
d43799
%endif
Michal Toman 504e25
%ifarch %{mips}
Michal Toman 504e25
%global kvm_package   system-mips
Michal Toman 504e25
%endif
d43799
Daniel P. Berrange 083532
%global user_static 1
Daniel P. Berrange 083532
d43799
%global have_kvm 0
d43799
%if 0%{?kvm_package:1}
d43799
%global have_kvm 1
21cd6f
%endif
Paolo Bonzini 2803fc
3930e8
# Matches numactl ExcludeArch
3930e8
%global have_numactl 1
3930e8
%ifarch s390 %{arm}
3930e8
%global have_numactl 0
3930e8
%endif
3930e8
3930e8
# Upstream disables iasl for big endian and QEMU checks
3930e8
# for this. Fedora has re-enabled it on BE circumventing
3930e8
# the QEMU checks, but it fails none the less:
3930e8
#
3930e8
# https://bugzilla.redhat.com/show_bug.cgi?id=1332449
3930e8
%global have_iasl 1
3930e8
%ifnarch s390 s390x ppc ppc64
3930e8
%global have_iasl 0
3930e8
%endif
3930e8
3930e8
# Matches spice ExclusiveArch
7da5fc
%global have_spice 0
3930e8
%ifarch %{ix86} x86_64 %{arm} aarch64
7da5fc
%global have_spice 1
b26fb5
%endif
b26fb5
3930e8
# Matches xen ExclusiveArch
7da5fc
%global have_xen 0
3930e8
%ifarch %{ix86} x86_64 armv7hl aarch64
b26fb5
%global have_xen 1
b26fb5
%endif
b26fb5
57dbb7
# Matches edk2.spec ExclusiveArch
7da5fc
%global have_edk2 0
57dbb7
%ifarch %{ix86} x86_64 %{arm} aarch64
57dbb7
%global have_edk2 1
57dbb7
%endif
57dbb7
820948
# If we can run qemu-sanity-check, hostqemu gets defined.
820948
%ifarch %{arm}
820948
%global hostqemu arm-softmmu/qemu-system-arm
820948
%endif
820948
%ifarch aarch64
820948
%global hostqemu arm-softmmu/qemu-system-aarch64
820948
%endif
820948
%ifarch %{ix86}
820948
%global hostqemu i386-softmmu/qemu-system-i386
820948
%endif
820948
%ifarch x86_64
820948
%global hostqemu x86_64-softmmu/qemu-system-x86_64
820948
%endif
820948
3c6a0c
# All modules should be listed here.
Daniel P. Berrangé a4b3db
%ifarch %{ix86} %{arm}
Daniel P. Berrangé a4b3db
%define with_block_rbd 0
Daniel P. Berrangé a4b3db
%else
Daniel P. Berrangé a4b3db
%define with_block_rbd 1
Daniel P. Berrangé a4b3db
%endif
d3ff78
%global with_block_gluster 1
Daniel P. Berrangé e1923c
Daniel P. Berrangé e6e2c6
%ifarch %{arm}
Daniel P. Berrangé e6e2c6
%define with_rdma 0
Daniel P. Berrangé e6e2c6
%else
Daniel P. Berrangé e6e2c6
%define with_rdma 1
Daniel P. Berrangé e6e2c6
%endif
Daniel P. Berrangé e6e2c6
Daniel P. Berrangé f1fa58
%define evr %{epoch}:%{version}-%{release}
Daniel P. Berrangé f1fa58
Daniel P. Berrangé f1fa58
%define requires_block_curl Requires: %{name}-block-curl = %{evr}
Daniel P. Berrangé f1fa58
%define requires_block_dmg Requires: %{name}-block-dmg = %{evr}
Daniel P. Berrangé e1923c
%if %{with_block_gluster}
Daniel P. Berrangé f1fa58
%define requires_block_gluster Requires: %{name}-block-gluster = %{evr}
Daniel P. Berrangé e1923c
%define obsoletes_block_gluster %{nil}
Daniel P. Berrangé e1923c
%else
Daniel P. Berrangé e1923c
%define requires_block_gluster %{nil}
Daniel P. Berrangé e1923c
%define obsoletes_block_gluster Obsoletes: %{name}-block-gluster < %{evr}
Daniel P. Berrangé e1923c
%endif
Daniel P. Berrangé f1fa58
%define requires_block_iscsi Requires: %{name}-block-iscsi = %{evr}
Daniel P. Berrangé f1fa58
%define requires_block_nfs Requires: %{name}-block-nfs = %{evr}
Daniel P. Berrangé a4b3db
%if %{with_block_rbd}
Daniel P. Berrangé f1fa58
%define requires_block_rbd Requires: %{name}-block-rbd = %{evr}
Daniel P. Berrangé a60ad6
%define obsoletes_block_rbd %{nil}
Daniel P. Berrangé a4b3db
%else
Daniel P. Berrangé f1fa58
%define requires_block_rbd %{nil}
Daniel P. Berrangé a60ad6
%define obsoletes_block_rbd Obsoletes: %{name}-block-rbd < %{evr}
Daniel P. Berrangé f1fa58
%endif
Daniel P. Berrangé f1fa58
%define requires_block_ssh Requires: %{name}-block-ssh = %{evr}
Daniel P. Berrangé f1fa58
%define requires_audio_alsa Requires: %{name}-audio-alsa = %{evr}
Daniel P. Berrangé f1fa58
%define requires_audio_oss Requires: %{name}-audio-oss = %{evr}
Daniel P. Berrangé f1fa58
%define requires_audio_pa Requires: %{name}-audio-pa = %{evr}
Daniel P. Berrangé f1fa58
%define requires_audio_sdl Requires: %{name}-audio-sdl = %{evr}
Daniel P. Berrangé 941a4c
%define requires_ui_curses Requires: %{name}-ui-curses = %{evr}
Daniel P. Berrangé f1fa58
%define requires_ui_gtk Requires: %{name}-ui-gtk = %{evr}
Daniel P. Berrangé f1fa58
%define requires_ui_sdl Requires: %{name}-ui-sdl = %{evr}
993f41
993f41
%if %{have_spice}
fddfbd
%define requires_ui_spice_app Requires: %{name}-ui-spice-app = %{evr}
993f41
%else
ff9bb1
%define requires_ui_spice_app %{nil}
993f41
%endif
Daniel P. Berrangé f1fa58
Daniel P. Berrangé f1fa58
%global requires_all_modules \
Daniel P. Berrangé f1fa58
%{requires_block_curl} \
Daniel P. Berrangé f1fa58
%{requires_block_dmg} \
Daniel P. Berrangé f1fa58
%{requires_block_gluster} \
Daniel P. Berrangé f1fa58
%{requires_block_iscsi} \
Daniel P. Berrangé f1fa58
%{requires_block_nfs} \
Daniel P. Berrangé f1fa58
%{requires_block_rbd} \
Daniel P. Berrangé f1fa58
%{requires_block_ssh} \
Daniel P. Berrangé f1fa58
%{requires_audio_alsa} \
Daniel P. Berrangé f1fa58
%{requires_audio_oss} \
Daniel P. Berrangé f1fa58
%{requires_audio_pa} \
Daniel P. Berrangé f1fa58
%{requires_audio_sdl} \
Daniel P. Berrangé f1fa58
%{requires_ui_curses} \
Daniel P. Berrangé f1fa58
%{requires_ui_gtk} \
Thierry Vignaud 167698
%{requires_ui_sdl} \
fddfbd
%{requires_ui_spice_app}
ecbe00
Daniel P. Berrangé a60ad6
# Modules which can be conditionally built
Daniel P. Berrangé a60ad6
%global obsoletes_some_modules \
Daniel P. Berrangé e1923c
%{obsoletes_block_gluster} \
Daniel P. Berrangé a60ad6
%{obsoletes_block_rbd}
Daniel P. Berrangé a60ad6
409720
# Release candidate version tracking
57a323
#%%global rcver rc5
1a4355
%if 0%{?rcver:1}
1a4355
%global rcrel .%{rcver}
1a4355
%global rcstr -%{rcver}
1a4355
%endif
409720
3400e7
David Woodhouse 5c3734
Summary: QEMU is a FAST! processor emulator
David Woodhouse 5c3734
Name: qemu
0038f8
Version: 4.2.0
1d442b
Release: 4%{?rcrel}%{?dist}
Glauber Costa 9235f9
Epoch: 2
Daniel P. Berrangé 1d16c1
License: GPLv2 and BSD and MIT and CC-BY
Matthias Saou 67348d
URL: http://www.qemu.org/
Dan Horák 330491
1c7073
Source0: http://wiki.qemu-project.org/download/%{name}-%{version}%{?rcstr}.tar.xz
Justin M. Forbes 0c846b
c75224
# guest agent service
Daniel P. Berrange 1ad1f9
Source10: qemu-guest-agent.service
Paolo Bonzini bfe7b8
Source17: qemu-ga.sysconfig
c75224
# guest agent udev rules
Daniel P. Berrange 1ad1f9
Source11: 99-qemu-guest-agent.rules
c75224
# /etc/qemu/bridge.conf
Paolo Bonzini 773d5b
Source12: bridge.conf
c75224
# qemu-kvm back compat wrapper installed as /usr/bin/qemu-kvm
96a5f8
Source13: qemu-kvm.sh
Paolo Bonzini 0fb2b2
# PR manager service
Paolo Bonzini 0fb2b2
Source14: qemu-pr-helper.service
Paolo Bonzini 0fb2b2
Source15: qemu-pr-helper.socket
5bdb06
# /etc/modprobe.d/kvm.conf, for x86
5bdb06
Source20: kvm-x86.modprobe.conf
d19693
# /etc/security/limits.d/95-kvm-ppc64-memlock.conf
d4c450
Source21: 95-kvm-ppc64-memlock.conf
Daniel P. Berrangé b91dae
1d442b
# Fix a test suite error
1d442b
Patch0001: 0001-tests-fix-modules-test-duplicate-test-case-error.patch
1d442b
# Miscellaneous fixes for RISC-V
1d442b
Patch0002: 0002-riscv-sifive_u-fix-a-memory-leak-in-soc_realize.patch
1d442b
Patch0003: 0003-riscv-Set-xPIE-to-1-after-xRET.patch
1d442b
Patch0004: 0004-target-riscv-Fix-tb-flags-FS-status.patch
1d442b
Patch0005: 0005-target-riscv-fsd-fsw-doesn-t-dirty-FP-state.patch
1d442b
Patch0006: 0006-target-riscv-update-mstatus.SD-when-FS-is-set-dirty.patch
1d442b
# virtio-fs support
1d442b
Patch0007: 0007-virtio-fs-fix-MSI-X-nvectors-calculation.patch
1d442b
Patch0008: 0008-vhost-user-fs-remove-vhostfd-property.patch
1d442b
Patch0009: 0009-build-rename-CONFIG_LIBCAP-to-CONFIG_LIBCAP_NG.patch
1d442b
Patch0010: 0010-virtiofsd-Pull-in-upstream-headers.patch
1d442b
Patch0011: 0011-virtiofsd-Pull-in-kernel-s-fuse.h.patch
1d442b
Patch0012: 0012-virtiofsd-Add-auxiliary-.c-s.patch
1d442b
Patch0013: 0013-virtiofsd-Add-fuse_lowlevel.c.patch
1d442b
Patch0014: 0014-virtiofsd-Add-passthrough_ll.patch
1d442b
Patch0015: 0015-virtiofsd-Trim-down-imported-files.patch
1d442b
Patch0016: 0016-virtiofsd-Format-imported-files-to-qemu-style.patch
1d442b
Patch0017: 0017-virtiofsd-remove-mountpoint-dummy-argument.patch
1d442b
Patch0018: 0018-virtiofsd-remove-unused-notify-reply-support.patch
1d442b
Patch0019: 0019-virtiofsd-Remove-unused-enum-fuse_buf_copy_flags.patch
1d442b
Patch0020: 0020-virtiofsd-Fix-fuse_daemonize-ignored-return-values.patch
1d442b
Patch0021: 0021-virtiofsd-Fix-common-header-and-define-for-QEMU-buil.patch
1d442b
Patch0022: 0022-virtiofsd-Trim-out-compatibility-code.patch
1d442b
Patch0023: 0023-vitriofsd-passthrough_ll-fix-fallocate-ifdefs.patch
1d442b
Patch0024: 0024-virtiofsd-Make-fsync-work-even-if-only-inode-is-pass.patch
1d442b
Patch0025: 0025-virtiofsd-Add-options-for-virtio.patch
1d442b
Patch0026: 0026-virtiofsd-add-o-source-PATH-to-help-output.patch
1d442b
Patch0027: 0027-virtiofsd-Open-vhost-connection-instead-of-mounting.patch
1d442b
Patch0028: 0028-virtiofsd-Start-wiring-up-vhost-user.patch
1d442b
Patch0029: 0029-virtiofsd-Add-main-virtio-loop.patch
1d442b
Patch0030: 0030-virtiofsd-get-set-features-callbacks.patch
1d442b
Patch0031: 0031-virtiofsd-Start-queue-threads.patch
1d442b
Patch0032: 0032-virtiofsd-Poll-kick_fd-for-queue.patch
1d442b
Patch0033: 0033-virtiofsd-Start-reading-commands-from-queue.patch
1d442b
Patch0034: 0034-virtiofsd-Send-replies-to-messages.patch
1d442b
Patch0035: 0035-virtiofsd-Keep-track-of-replies.patch
1d442b
Patch0036: 0036-virtiofsd-Add-Makefile-wiring-for-virtiofsd-contrib.patch
1d442b
Patch0037: 0037-virtiofsd-Fast-path-for-virtio-read.patch
1d442b
Patch0038: 0038-virtiofsd-add-fd-FDNUM-fd-passing-option.patch
1d442b
Patch0039: 0039-virtiofsd-make-f-foreground-the-default.patch
1d442b
Patch0040: 0040-virtiofsd-add-vhost-user.json-file.patch
1d442b
Patch0041: 0041-virtiofsd-add-print-capabilities-option.patch
1d442b
Patch0042: 0042-virtiofs-Add-maintainers-entry.patch
1d442b
Patch0043: 0043-virtiofsd-passthrough_ll-create-new-files-in-caller-.patch
1d442b
Patch0044: 0044-virtiofsd-passthrough_ll-add-lo_map-for-ino-fh-indir.patch
1d442b
Patch0045: 0045-virtiofsd-passthrough_ll-add-ino_map-to-hide-lo_inod.patch
1d442b
Patch0046: 0046-virtiofsd-passthrough_ll-add-dirp_map-to-hide-lo_dir.patch
1d442b
Patch0047: 0047-virtiofsd-passthrough_ll-add-fd_map-to-hide-file-des.patch
1d442b
Patch0048: 0048-virtiofsd-passthrough_ll-add-fallback-for-racy-ops.patch
1d442b
Patch0049: 0049-virtiofsd-validate-path-components.patch
1d442b
Patch0050: 0050-virtiofsd-Plumb-fuse_bufvec-through-to-do_write_buf.patch
1d442b
Patch0051: 0051-virtiofsd-Pass-write-iov-s-all-the-way-through.patch
1d442b
Patch0052: 0052-virtiofsd-add-fuse_mbuf_iter-API.patch
1d442b
Patch0053: 0053-virtiofsd-validate-input-buffer-sizes-in-do_write_bu.patch
1d442b
Patch0054: 0054-virtiofsd-check-input-buffer-size-in-fuse_lowlevel.c.patch
1d442b
Patch0055: 0055-virtiofsd-prevent-.-escape-in-lo_do_lookup.patch
1d442b
Patch0056: 0056-virtiofsd-prevent-.-escape-in-lo_do_readdir.patch
1d442b
Patch0057: 0057-virtiofsd-use-proc-self-fd-O_PATH-file-descriptor.patch
1d442b
Patch0058: 0058-virtiofsd-sandbox-mount-namespace.patch
1d442b
Patch0059: 0059-virtiofsd-move-to-an-empty-network-namespace.patch
1d442b
Patch0060: 0060-virtiofsd-move-to-a-new-pid-namespace.patch
1d442b
Patch0061: 0061-virtiofsd-add-seccomp-whitelist.patch
1d442b
Patch0062: 0062-virtiofsd-Parse-flag-FUSE_WRITE_KILL_PRIV.patch
1d442b
Patch0063: 0063-virtiofsd-cap-ng-helpers.patch
1d442b
Patch0064: 0064-virtiofsd-Drop-CAP_FSETID-if-client-asked-for-it.patch
1d442b
Patch0065: 0065-virtiofsd-set-maximum-RLIMIT_NOFILE-limit.patch
1d442b
Patch0066: 0066-virtiofsd-fix-libfuse-information-leaks.patch
1d442b
Patch0067: 0067-virtiofsd-add-syslog-command-line-option.patch
1d442b
Patch0068: 0068-virtiofsd-print-log-only-when-priority-is-high-enoug.patch
1d442b
Patch0069: 0069-virtiofsd-Add-ID-to-the-log-with-FUSE_LOG_DEBUG-leve.patch
1d442b
Patch0070: 0070-virtiofsd-Add-timestamp-to-the-log-with-FUSE_LOG_DEB.patch
1d442b
Patch0071: 0071-virtiofsd-Handle-reinit.patch
1d442b
Patch0072: 0072-virtiofsd-Handle-hard-reboot.patch
1d442b
Patch0073: 0073-virtiofsd-Kill-threads-when-queues-are-stopped.patch
1d442b
Patch0074: 0074-vhost-user-Print-unexpected-slave-message-types.patch
1d442b
Patch0075: 0075-contrib-libvhost-user-Protect-slave-fd-with-mutex.patch
1d442b
Patch0076: 0076-virtiofsd-passthrough_ll-add-renameat2-support.patch
1d442b
Patch0077: 0077-virtiofsd-passthrough_ll-disable-readdirplus-on-cach.patch
1d442b
Patch0078: 0078-virtiofsd-passthrough_ll-control-readdirplus.patch
1d442b
Patch0079: 0079-virtiofsd-rename-unref_inode-to-unref_inode_lolocked.patch
1d442b
Patch0080: 0080-virtiofsd-fail-when-parent-inode-isn-t-known-in-lo_d.patch
1d442b
Patch0081: 0081-virtiofsd-extract-root-inode-init-into-setup_root.patch
1d442b
Patch0082: 0082-virtiofsd-passthrough_ll-clean-up-cache-related-opti.patch
1d442b
Patch0083: 0083-virtiofsd-passthrough_ll-use-hashtable.patch
1d442b
Patch0084: 0084-virtiofsd-Clean-up-inodes-on-destroy.patch
1d442b
Patch0085: 0085-virtiofsd-support-nanosecond-resolution-for-file-tim.patch
1d442b
Patch0086: 0086-virtiofsd-fix-error-handling-in-main.patch
1d442b
Patch0087: 0087-virtiofsd-cleanup-allocated-resource-in-se.patch
1d442b
Patch0088: 0088-virtiofsd-fix-memory-leak-on-lo.source.patch
1d442b
Patch0089: 0089-virtiofsd-add-helper-for-lo_data-cleanup.patch
1d442b
Patch0090: 0090-virtiofsd-Prevent-multiply-running-with-same-vhost_u.patch
1d442b
Patch0091: 0091-virtiofsd-enable-PARALLEL_DIROPS-during-INIT.patch
1d442b
Patch0092: 0092-virtiofsd-fix-incorrect-error-handling-in-lo_do_look.patch
1d442b
Patch0093: 0093-Virtiofsd-fix-memory-leak-on-fuse-queueinfo.patch
1d442b
Patch0094: 0094-virtiofsd-Support-remote-posix-locks.patch
1d442b
Patch0095: 0095-virtiofsd-use-fuse_lowlevel_is_virtio-in-fuse_sessio.patch
1d442b
Patch0096: 0096-virtiofsd-prevent-fv_queue_thread-vs-virtio_loop-rac.patch
1d442b
Patch0097: 0097-virtiofsd-make-lo_release-atomic.patch
1d442b
Patch0098: 0098-virtiofsd-prevent-races-with-lo_dirp_put.patch
1d442b
Patch0099: 0099-virtiofsd-rename-inode-refcount-to-inode-nlookup.patch
1d442b
Patch0100: 0100-libvhost-user-Fix-some-memtable-remap-cases.patch
1d442b
Patch0101: 0101-virtiofsd-passthrough_ll-fix-refcounting-on-remove-r.patch
1d442b
Patch0102: 0102-virtiofsd-introduce-inode-refcount-to-prevent-use-af.patch
1d442b
Patch0103: 0103-virtiofsd-do-not-always-set-FUSE_FLOCK_LOCKS.patch
1d442b
Patch0104: 0104-virtiofsd-convert-more-fprintf-and-perror-to-use-fus.patch
1d442b
Patch0105: 0105-virtiofsd-Reset-O_DIRECT-flag-during-file-open.patch
1d442b
Patch0106: 0106-virtiofsd-Fix-data-corruption-with-O_APPEND-write-in.patch
1d442b
Patch0107: 0107-virtiofsd-passthrough_ll-Use-cache_readdir-for-direc.patch
1d442b
Patch0108: 0108-virtiofsd-add-definition-of-fuse_buf_writev.patch
1d442b
Patch0109: 0109-virtiofsd-use-fuse_buf_writev-to-replace-fuse_buf_wr.patch
1d442b
Patch0110: 0110-virtiofsd-process-requests-in-a-thread-pool.patch
1d442b
Patch0111: 0111-virtiofsd-prevent-FUSE_INIT-FUSE_DESTROY-races.patch
1d442b
Patch0112: 0112-virtiofsd-fix-lo_destroy-resource-leaks.patch
1d442b
Patch0113: 0113-virtiofsd-add-thread-pool-size-NUM-option.patch
1d442b
Patch0114: 0114-virtiofsd-Convert-lo_destroy-to-take-the-lo-mutex-lo.patch
1d442b
Patch0115: 0115-virtiofsd-passthrough_ll-Pass-errno-to-fuse_reply_er.patch
1d442b
Patch0116: 0116-virtiofsd-stop-all-queue-threads-on-exit-in-virtio_l.patch
1d442b
Patch0117: 0117-virtiofsd-add-some-options-to-the-help-message.patch
1d442b
Daniel P. Berrangé 70ef32
837eb7
# documentation deps
837eb7
BuildRequires: texinfo
837eb7
# For /usr/bin/pod2man
837eb7
BuildRequires: perl-podlators
508443
%ifnarch %{ix86}
837eb7
# For sanity test
837eb7
BuildRequires: qemu-sanity-check-nodeps
837eb7
BuildRequires: kernel
70b667
%endif
3930e8
%if %{have_iasl}
837eb7
# For acpi compilation
837eb7
BuildRequires: iasl
Daniel P. Berrange ac5e33
%endif
837eb7
# For chrpath calls in specfile
837eb7
BuildRequires: chrpath
837eb7
837eb7
# -display sdl support
b44086
BuildRequires: SDL2-devel
837eb7
# used in various places for compression
b6dd5a
BuildRequires: zlib-devel
837eb7
# used in various places for crypto
b6dd5a
BuildRequires: gnutls-devel
837eb7
# VNC sasl auth support
b6dd5a
BuildRequires: cyrus-sasl-devel
837eb7
# aio implementation for block drivers
Justin M. Forbes 3a5505
BuildRequires: libaio-devel
837eb7
# pulseaudio audio output
Mark McLoughlin 6d887b
BuildRequires: pulseaudio-libs-devel
Daniel P. Berrange ecee1e
# alsa audio output
Daniel P. Berrange ecee1e
BuildRequires: alsa-lib-devel
Paolo Bonzini 0fb2b2
# qemu-pr-helper multipath support (requires libudev too)
Paolo Bonzini 0fb2b2
BuildRequires: device-mapper-multipath-devel
Paolo Bonzini 0fb2b2
BuildRequires: systemd-devel
837eb7
# iscsi drive support
Paolo Bonzini 625ba4
BuildRequires: libiscsi-devel
837eb7
# NFS drive support
409720
BuildRequires: libnfs-devel
837eb7
# snappy compression for memory dump
409720
BuildRequires: snappy-devel
837eb7
# lzo compression for memory dump
409720
BuildRequires: lzo-devel
837eb7
# needed for -display curses
Mark McLoughlin 62fb37
BuildRequires: ncurses-devel
837eb7
# used by 9pfs
2af28c
BuildRequires: libattr-devel
837eb7
BuildRequires: libcap-devel
Paolo Bonzini 0fb2b2
# used by qemu-bridge-helper and qemu-pr-helper
837eb7
BuildRequires: libcap-ng-devel
837eb7
# spice usb redirection support
Hans de Goede 5ba1a7
BuildRequires: usbredir-devel >= 0.5.2
7da5fc
%if %{have_spice}
837eb7
# spice graphics support
Hans de Goede ca70dc
BuildRequires: spice-protocol >= 0.12.2
Hans de Goede ca70dc
BuildRequires: spice-server-devel >= 0.12.0
Paolo Bonzini 2803fc
%endif
837eb7
# seccomp containment support
Peter Robinson 73731f
BuildRequires: libseccomp-devel >= 2.3.0
Daniel P. Berrange a93050
# For network block driver
Daniel P. Berrange 4a7239
BuildRequires: libcurl-devel
Daniel P. Berrangé a4b3db
%if %{with_block_rbd}
Daniel P. Berrange 25a35c
# For rbd block driver
Daniel P. Berrange a94974
BuildRequires: librados2-devel
Daniel P. Berrange a94974
BuildRequires: librbd1-devel
Daniel P. Berrangé a4b3db
%endif
Daniel P. Berrange 7b1d66
# We need both because the 'stap' binary is probed for by configure
Daniel P. Berrange 7b1d66
BuildRequires: systemtap
Daniel P. Berrange 7b1d66
BuildRequires: systemtap-sdt-devel
Daniel P. Berrange eaebe4
# For VNC JPEG support
Daniel P. Berrange eaebe4
BuildRequires: libjpeg-devel
Daniel P. Berrange eaebe4
# For VNC PNG support
Daniel P. Berrange eaebe4
BuildRequires: libpng-devel
Daniel P. Berrange eaebe4
# For BlueZ device support
Daniel P. Berrange eaebe4
BuildRequires: bluez-libs-devel
Daniel P. Berrange eaebe4
# For Braille device support
Daniel P. Berrange eaebe4
BuildRequires: brlapi-devel
Daniel P. Berrange eaebe4
# For FDT device tree support
Daniel P. Berrange eaebe4
BuildRequires: libfdt-devel
7e50c4
# Hard requirement for version >= 1.3
7e50c4
BuildRequires: pixman-devel
Daniel P. Berrangé e1923c
%if %{with_block_gluster}
af1488
# For gluster support
Daniel P. Berrangé e1923c
BuildRequires: glusterfs-devel >= 3.4.0
Daniel P. Berrangé e1923c
BuildRequires: glusterfs-api-devel >= 3.4.0
Daniel P. Berrangé e1923c
%endif
7fae7f
# Needed for usb passthrough for qemu >= 1.5
7fae7f
BuildRequires: libusbx-devel
7fae7f
# SSH block driver
160bf4
BuildRequires: libssh-devel
7fae7f
# GTK frontend
7fae7f
BuildRequires: gtk3-devel
6f5575
BuildRequires: vte291-devel
b9a8d0
# GTK translations
b9a8d0
BuildRequires: gettext
76dcac
# RDMA migration
Daniel P. Berrangé e6e2c6
%if %{with_rdma}
3930e8
BuildRequires: rdma-core-devel
Daniel P. Berrangé e6e2c6
%endif
7da5fc
%if %{have_xen}
837eb7
# Xen support
3400e7
BuildRequires: xen-devel
3400e7
%endif
3930e8
%if %{have_numactl}
837eb7
# qemu 2.1: needed for memdev hostmem backend
Daniel P. Berrange 145f8d
BuildRequires: numactl-devel
ad339a
%endif
837eb7
# qemu 2.3: reading bzip2 compressed dmg images
8055ee
BuildRequires: bzip2-devel
837eb7
# qemu 2.4: needed for opengl bits
1ae1f0
BuildRequires: libepoxy-devel
837eb7
# qemu 2.5: needed for TLS test suite
88b379
BuildRequires: libtasn1-devel
837eb7
# qemu 2.5: libcacard is it's own project now
88b379
BuildRequires: libcacard-devel >= 2.5.0
837eb7
# qemu 2.5: virgl 3d support
88b379
BuildRequires: virglrenderer-devel
160bf4
# qemu 2.6: Needed for gtk GL support, vhost-user-gpu
fa6cd1
BuildRequires: mesa-libgbm-devel
700f12
# qemu 2.11: preferred disassembler for TCG
700f12
BuildRequires: capstone-devel
3c6a0c
# qemu 2.12: parallels disk images require libxml2 now
3c6a0c
BuildRequires: libxml2-devel
0af132
%ifarch x86_64
007776
# qemu 3.1: Used for nvdimm
007776
BuildRequires: libpmem-devel
0af132
%endif
007776
# qemu 3.1: Used for qemu-ga
007776
BuildRequires: libudev-devel
d3ff78
# qemu 4.0: Use for qauth infrastructure
d3ff78
BuildRequires: pam-devel
17efd8
# qemu 4.0: user-mode networking
e5504b
%if 0%{?fedora} > 30
17efd8
BuildRequires: libslirp-devel
e5504b
%endif
d3ff78
# qemu 4.0: sphinx-build used for some docs
d3ff78
%if 0%{?fedora} > 30
d3ff78
BuildRequires: python3-sphinx
d3ff78
%else
d3ff78
BuildRequires: python2-sphinx
d3ff78
%endif
d3ff78
# qemu 4.0: Used by test suite ./scripts/tap-driver.pl
d3ff78
BuildRequires: perl-Test-Harness
f35188
# Required for making python shebangs versioned
f35188
BuildRequires: /usr/bin/pathfix.py
f35188
BuildRequires: python3-devel
8055ee
Daniel P. Berrange 083532
BuildRequires: glibc-static pcre-static glib2-static zlib-static
Daniel P. Berrange 083532
820948
%if 0%{?hostqemu:1}
820948
# For complicated reasons, this is required so that
820948
# /bin/kernel-install puts the kernel directly into /boot, instead of
820948
# into a /boot/<machine-id> subdirectory (in Fedora >= 23).  This is
820948
# so we can run qemu-sanity-check.  Read the kernel-install script to
820948
# understand why.
820948
BuildRequires: grubby
820948
%endif
7e50c4
c27704
Requires: %{name}-user = %{epoch}:%{version}-%{release}
3c6a0c
Requires: %{name}-system-aarch64 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-alpha = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-arm = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-cris = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-lm32 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-m68k = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-microblaze = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-mips = %{epoch}:%{version}-%{release}
3c6a0c
Requires: %{name}-system-moxie = %{epoch}:%{version}-%{release}
3c6a0c
Requires: %{name}-system-nios2 = %{epoch}:%{version}-%{release}
1c7073
Requires: %{name}-system-or1k = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-ppc = %{epoch}:%{version}-%{release}
3c6a0c
Requires: %{name}-system-riscv = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-s390x = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-sh4 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-sparc = %{epoch}:%{version}-%{release}
3c6a0c
Requires: %{name}-system-tricore = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-unicore32 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-x86 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-xtensa = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
Requires: %{name}-img = %{epoch}:%{version}-%{release}
Glauber Costa 8571d0
Glauber Costa 485711
David Woodhouse 5c3734
%description
Matthias Saou 67348d
QEMU is a generic and open source processor emulator which achieves a good
Matthias Saou 67348d
emulation speed by using dynamic translation. QEMU has two operating modes:
David Woodhouse 5c3734
Matthias Saou 67348d
 * Full system emulation. In this mode, QEMU emulates a full system (for
Matthias Saou 67348d
   example a PC), including a processor and various peripherials. It can be
Matthias Saou 67348d
   used to launch different Operating Systems without rebooting the PC or
Matthias Saou 67348d
   to debug system code.
David Woodhouse 5c3734
 * User mode emulation. In this mode, QEMU can launch Linux processes compiled
Matthias Saou 67348d
   for one CPU on another CPU.
David Woodhouse 5c3734
Matthias Saou 67348d
As QEMU requires no host kernel patches to run, it is safe and easy to use.
David Woodhouse 5c3734
c27704
Glauber Costa 9235f9
%package  common
Glauber Costa 9235f9
Summary: QEMU common files needed by all QEMU targets
514d6b
Requires: ipxe-roms-qemu
Mark McLoughlin 6d739f
Requires(post): /usr/bin/getent
Mark McLoughlin 6d739f
Requires(post): /usr/sbin/groupadd
Mark McLoughlin 6d739f
Requires(post): /usr/sbin/useradd
5439f9
Requires(post): systemd-units
5439f9
Requires(preun): systemd-units
5439f9
Requires(postun): systemd-units
Daniel P. Berrangé a60ad6
%{obsoletes_some_modules}
Glauber Costa 9235f9
%description common
Glauber Costa 9235f9
This package provides the common files needed by all QEMU targets
Glauber Costa 485711
c27704
Daniel P. Berrange 1ad1f9
%package guest-agent
Daniel P. Berrange 1ad1f9
Summary: QEMU guest agent
Daniel P. Berrange 1ad1f9
Requires(post): systemd-units
Daniel P. Berrange 1ad1f9
Requires(preun): systemd-units
Daniel P. Berrange 1ad1f9
Requires(postun): systemd-units
Daniel P. Berrange 1ad1f9
%description guest-agent
Daniel P. Berrange 1ad1f9
This package provides an agent to run inside guests, which communicates
Daniel P. Berrange 1ad1f9
with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
Daniel P. Berrange 1ad1f9
Daniel P. Berrange 1ad1f9
This package does not need to be installed on the host OS.
Daniel P. Berrange 1ad1f9
Daniel P. Berrange 1ad1f9
48e07c
%package  img
48e07c
Summary: QEMU command line tool for manipulating disk images
48e07c
%description img
48e07c
This package provides a command line tool for manipulating disk images
Daniel P. Berrange 1ad1f9
Daniel P. Berrange 1ad1f9
3758f8
%package -n ivshmem-tools
3758f8
Summary: Client and server for QEMU ivshmem device
3758f8
%description -n ivshmem-tools
3758f8
This package provides client and server tools for QEMU's ivshmem device.
3758f8
3758f8
ecbe00
%package  block-curl
ecbe00
Summary: QEMU CURL block driver
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-curl
ecbe00
This package provides the additional CURL block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to access remote disks over
ecbe00
http, https, ftp and other transports provided by the CURL library.
ecbe00
ecbe00
ecbe00
%package  block-dmg
ecbe00
Summary: QEMU block driver for DMG disk images
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-dmg
ecbe00
This package provides the additional DMG block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to open '.dmg' files.
ecbe00
ecbe00
Daniel P. Berrangé e1923c
%if %{with_block_gluster}
ecbe00
%package  block-gluster
ecbe00
Summary: QEMU Gluster block driver
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-gluster
ecbe00
This package provides the additional Gluster block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to access remote Gluster storage.
Daniel P. Berrangé e1923c
%endif
ecbe00
ecbe00
ecbe00
%package  block-iscsi
ecbe00
Summary: QEMU iSCSI block driver
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-iscsi
ecbe00
This package provides the additional iSCSI block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to access iSCSI volumes.
ecbe00
ecbe00
151958
%package  block-nfs
151958
Summary: QEMU NFS block driver
151958
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
151958
151958
%description block-nfs
151958
This package provides the additional NFS block driver for QEMU.
151958
151958
Install this package if you want to access remote NFS storage.
151958
3c6a0c
Daniel P. Berrangé a4b3db
%if %{with_block_rbd}
ecbe00
%package  block-rbd
ecbe00
Summary: QEMU Ceph/RBD block driver
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-rbd
ecbe00
This package provides the additional Ceph/RBD block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to access remote Ceph volumes
ecbe00
using the rbd protocol.
Daniel P. Berrangé a4b3db
%endif
ecbe00
ecbe00
%package  block-ssh
ecbe00
Summary: QEMU SSH block driver
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-ssh
ecbe00
This package provides the additional SSH block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to access remote disks using
ecbe00
the Secure Shell (SSH) protocol.
ecbe00
ecbe00
3c6a0c
%package  audio-alsa
3c6a0c
Summary: QEMU ALSA audio driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description audio-alsa
3c6a0c
This package provides the additional ALSA audio driver for QEMU.
3c6a0c
3c6a0c
%package  audio-oss
3c6a0c
Summary: QEMU OSS audio driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description audio-oss
3c6a0c
This package provides the additional OSS audio driver for QEMU.
3c6a0c
3c6a0c
%package  audio-pa
3c6a0c
Summary: QEMU PulseAudio audio driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description audio-pa
3c6a0c
This package provides the additional PulseAudi audio driver for QEMU.
3c6a0c
3c6a0c
%package  audio-sdl
3c6a0c
Summary: QEMU SDL audio driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description audio-sdl
3c6a0c
This package provides the additional SDL audio driver for QEMU.
3c6a0c
3c6a0c
3c6a0c
%package  ui-curses
3c6a0c
Summary: QEMU curses UI driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description ui-curses
3c6a0c
This package provides the additional curses UI for QEMU.
3c6a0c
3c6a0c
%package  ui-gtk
3c6a0c
Summary: QEMU GTK UI driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description ui-gtk
3c6a0c
This package provides the additional GTK UI for QEMU.
3c6a0c
3c6a0c
%package  ui-sdl
3c6a0c
Summary: QEMU SDL UI driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description ui-sdl
3c6a0c
This package provides the additional SDL UI for QEMU.
3c6a0c
993f41
%if %{have_spice}
0038f8
%package  ui-spice-app
0038f8
Summary: QEMU spice-app UI driver
0038f8
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
0038f8
%description ui-spice-app
0038f8
This package provides the additional spice-app UI for QEMU.
993f41
%endif
0038f8
3c6a0c
48e07c
%if %{have_kvm}
48e07c
%package kvm
48e07c
Summary: QEMU metapackage for KVM support
48e07c
Requires: qemu-%{kvm_package} = %{epoch}:%{version}-%{release}
48e07c
%description kvm
48e07c
This is a meta-package that provides a qemu-system-<arch> package for native
48e07c
architectures where kvm can be enabled. For example, in an x86 system, this
48e07c
will install qemu-system-x86
ecbe00
ecbe00
ecbe00
%package kvm-core
ecbe00
Summary: QEMU metapackage for KVM support
ecbe00
Requires: qemu-%{kvm_package}-core = %{epoch}:%{version}-%{release}
ecbe00
%description kvm-core
ecbe00
This is a meta-package that provides a qemu-system-<arch>-core package
ecbe00
for native architectures where kvm can be enabled. For example, in an
ecbe00
x86 system, this will install qemu-system-x86-core
48e07c
%endif
979ec1
979ec1
c27704
%package user
Glauber Costa 9235f9
Summary: QEMU user mode emulation of qemu targets
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Daniel P. Berrange 083532
# On upgrade, make qemu-user get replaced with qemu-user + qemu-user-binfmt
Daniel P. Berrange 9e7157
Obsoletes: %{name}-user < 2:2.6.0-5%{?dist}
c27704
%description user
Glauber Costa 9235f9
This package provides the user mode emulation of qemu targets
Glauber Costa 9235f9
c27704
Daniel P. Berrange 083532
%package user-binfmt
Daniel P. Berrange 083532
Summary: QEMU user mode emulation of qemu targets
Daniel P. Berrange 083532
Requires: %{name}-user = %{epoch}:%{version}-%{release}
Daniel P. Berrange 083532
Requires(post): systemd-units
Daniel P. Berrange 083532
Requires(postun): systemd-units
Daniel P. Berrange 083532
# qemu-user-binfmt + qemu-user-static both provide binfmt rules
Daniel P. Berrange 083532
Conflicts: %{name}-user-static
Daniel P. Berrange 083532
# On upgrade, make qemu-user get replaced with qemu-user + qemu-user-binfmt
Daniel P. Berrange 9e7157
Obsoletes: %{name}-user < 2:2.6.0-5%{?dist}
Daniel P. Berrange 083532
%description user-binfmt
Daniel P. Berrange 083532
This package provides the user mode emulation of qemu targets
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%if %{user_static}
Daniel P. Berrange 083532
%package user-static
Daniel P. Berrange 083532
Summary: QEMU user mode emulation of qemu targets static build
Daniel P. Berrange 083532
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Daniel P. Berrange 083532
Requires(post): systemd-units
Daniel P. Berrange 083532
Requires(postun): systemd-units
Daniel P. Berrange 083532
# qemu-user-binfmt + qemu-user-static both provide binfmt rules
Daniel P. Berrange 083532
Conflicts: %{name}-user-binfmt
Daniel P. Berrange 083532
Provides: %{name}-user-binfmt
Daniel P. Berrange 083532
%description user-static
Daniel P. Berrange 083532
This package provides the user mode emulation of qemu targets built as
Daniel P. Berrange 083532
static binaries
Daniel P. Berrange 083532
%endif
Daniel P. Berrange 083532
ecbe00
3758f8
%package system-aarch64
3758f8
Summary: QEMU system emulator for AArch64
3758f8
Requires: %{name}-system-aarch64-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
3758f8
%description system-aarch64
3758f8
This package provides the QEMU system emulator for AArch64.
ecbe00
3758f8
%package system-aarch64-core
3758f8
Summary: QEMU system emulator for AArch64
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
7da5fc
%if %{have_edk2}
3758f8
Requires: edk2-aarch64
57dbb7
%endif
3758f8
%description system-aarch64-core
3758f8
This package provides the QEMU system emulator for AArch64.
Glauber Costa 9235f9
c27704
c27704
%package system-alpha
Paolo Bonzini c32efe
Summary: QEMU system emulator for Alpha
ecbe00
Requires: %{name}-system-alpha-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-alpha
3758f8
This package provides the QEMU system emulator for Alpha systems.
Paolo Bonzini c32efe
ecbe00
%package system-alpha-core
ecbe00
Summary: QEMU system emulator for Alpha
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-alpha-core
3758f8
This package provides the QEMU system emulator for Alpha systems.
ecbe00
c27704
c27704
%package system-arm
Paolo Bonzini 40e61a
Summary: QEMU system emulator for ARM
ecbe00
Requires: %{name}-system-arm-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-arm
3758f8
This package provides the QEMU system emulator for ARM systems.
ecbe00
ecbe00
%package system-arm-core
ecbe00
Summary: QEMU system emulator for ARM
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-arm-core
3758f8
This package provides the QEMU system emulator for ARM boards.
Glauber Costa 485711
c27704
c27704
%package system-cris
Paolo Bonzini 40e61a
Summary: QEMU system emulator for CRIS
ecbe00
Requires: %{name}-system-cris-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-cris
ecbe00
This package provides the system emulator for CRIS systems.
ecbe00
ecbe00
%package system-cris-core
ecbe00
Summary: QEMU system emulator for CRIS
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-cris-core
Paolo Bonzini 40e61a
This package provides the system emulator for CRIS boards.
Paolo Bonzini 40e61a
c27704
3758f8
%package system-hppa
3758f8
Summary: QEMU system emulator for HPPA
3758f8
Requires: %{name}-system-hppa-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-hppa
3758f8
This package provides the QEMU system emulator for HPPA.
3758f8
3758f8
%package system-hppa-core
3758f8
Summary: QEMU system emulator for hppa
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-hppa-core
3758f8
This package provides the QEMU system emulator for HPPA.
3758f8
3758f8
c27704
%package system-lm32
Paolo Bonzini 40e61a
Summary: QEMU system emulator for LatticeMico32
ecbe00
Requires: %{name}-system-lm32-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-lm32
3758f8
This package provides the QEMU system emulator for LatticeMico32 boards.
ecbe00
ecbe00
%package system-lm32-core
3758f8
Summary: QEMU system emulator for LatticsMico32
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-lm32-core
3758f8
This package provides the QEMU system emulator for LatticeMico32 boards.
Glauber Costa 9235f9
c27704
c27704
%package system-m68k
Paolo Bonzini 40e61a
Summary: QEMU system emulator for ColdFire (m68k)
ecbe00
Requires: %{name}-system-m68k-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-m68k
3758f8
This package provides the QEMU system emulator for ColdFire boards.
Paolo Bonzini 40e61a
ecbe00
%package system-m68k-core
ecbe00
Summary: QEMU system emulator for ColdFire (m68k)
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-m68k-core
3758f8
This package provides the QEMU system emulator for ColdFire boards.
ecbe00
c27704
c27704
%package system-microblaze
Paolo Bonzini c32efe
Summary: QEMU system emulator for Microblaze
ecbe00
Requires: %{name}-system-microblaze-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-microblaze
3758f8
This package provides the QEMU system emulator for Microblaze boards.
Paolo Bonzini c32efe
ecbe00
%package system-microblaze-core
ecbe00
Summary: QEMU system emulator for Microblaze
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-microblaze-core
3758f8
This package provides the QEMU system emulator for Microblaze boards.
3758f8
3758f8
3758f8
%package system-mips
3758f8
Summary: QEMU system emulator for MIPS
3758f8
Requires: %{name}-system-mips-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-mips
3758f8
This package provides the QEMU system emulator for MIPS systems.
3758f8
3758f8
%package system-mips-core
3758f8
Summary: QEMU system emulator for MIPS
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-mips-core
3758f8
This package provides the QEMU system emulator for MIPS systems.
3758f8
3758f8
3758f8
%package system-moxie
3758f8
Summary: QEMU system emulator for Moxie
3758f8
Requires: %{name}-system-moxie-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-moxie
3758f8
This package provides the QEMU system emulator for Moxie boards.
3758f8
3758f8
%package system-moxie-core
3758f8
Summary: QEMU system emulator for Moxie
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-moxie-core
3758f8
This package provides the QEMU system emulator for Moxie boards.
3758f8
3758f8
3758f8
%package system-nios2
3758f8
Summary: QEMU system emulator for nios2
3758f8
Requires: %{name}-system-nios2-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-nios2
3758f8
This package provides the QEMU system emulator for NIOS2.
ecbe00
3758f8
%package system-nios2-core
3758f8
Summary: QEMU system emulator for nios2
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-nios2-core
3758f8
This package provides the QEMU system emulator for NIOS2.
ecbe00
c27704
1c7073
%package system-or1k
Paolo Bonzini 40e61a
Summary: QEMU system emulator for OpenRisc32
1c7073
Requires: %{name}-system-or1k-core = %{epoch}:%{version}-%{release}
0db325
Obsoletes: %{name}-system-or32 < 2:2.9.0
3c6a0c
%{requires_all_modules}
1c7073
%description system-or1k
3758f8
This package provides the QEMU system emulator for OpenRisc32 boards.
Daniel P. Berrange 36ffed
1c7073
%package system-or1k-core
ecbe00
Summary: QEMU system emulator for OpenRisc32
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
0db325
Obsoletes: %{name}-system-or32-core < 2:2.9.0
1c7073
%description system-or1k-core
3758f8
This package provides the QEMU system emulator for OpenRisc32 boards.
ecbe00
3758f8
3758f8
%package system-ppc
3758f8
Summary: QEMU system emulator for PPC
3758f8
Requires: %{name}-system-ppc-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-ppc
3758f8
This package provides the QEMU system emulator for PPC and PPC64 systems.
3758f8
3758f8
%package system-ppc-core
3758f8
Summary: QEMU system emulator for PPC
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
Requires: openbios
3758f8
Requires: SLOF
3758f8
Requires: seavgabios-bin
3758f8
%description system-ppc-core
3758f8
This package provides the QEMU system emulator for PPC and PPC64 systems.
ecbe00
c27704
3c6a0c
%package system-riscv
3c6a0c
Summary: QEMU system emulator for RISC-V
3c6a0c
Requires: %{name}-system-riscv-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
3c6a0c
%description system-riscv
3758f8
This package provides the QEMU system emulator for RISC-V systems.
3c6a0c
3c6a0c
%package system-riscv-core
3c6a0c
Summary: QEMU system emulator for RISC-V
3c6a0c
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3c6a0c
%description system-riscv-core
3758f8
This package provides the QEMU system emulator for RISC-V systems.
3c6a0c
3c6a0c
c27704
%package system-s390x
Paolo Bonzini c32efe
Summary: QEMU system emulator for S390
ecbe00
Requires: %{name}-system-s390x-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-s390x
3758f8
This package provides the QEMU system emulator for S390 systems.
Paolo Bonzini c32efe
ecbe00
%package system-s390x-core
ecbe00
Summary: QEMU system emulator for S390
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-s390x-core
3758f8
This package provides the QEMU system emulator for S390 systems.
ecbe00
c27704
c27704
%package system-sh4
Paolo Bonzini 40e61a
Summary: QEMU system emulator for SH4
ecbe00
Requires: %{name}-system-sh4-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-sh4
3758f8
This package provides the QEMU system emulator for SH4 boards.
57c57a
ecbe00
%package system-sh4-core
ecbe00
Summary: QEMU system emulator for SH4
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-sh4-core
3758f8
This package provides the QEMU system emulator for SH4 boards.
ecbe00
c27704
c27704
%package system-sparc
Paolo Bonzini 40e61a
Summary: QEMU system emulator for SPARC
ecbe00
Requires: %{name}-system-sparc-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
ecbe00
%description system-sparc
3758f8
This package provides the QEMU system emulator for SPARC and SPARC64 systems.
ecbe00
ecbe00
%package system-sparc-core
ecbe00
Summary: QEMU system emulator for SPARC
57c57a
Requires: %{name}-common = %{epoch}:%{version}-%{release}
57c57a
Requires: openbios
ecbe00
%description system-sparc-core
3758f8
This package provides the QEMU system emulator for SPARC and SPARC64 systems.
21cd6f
c27704
c27704
%package system-tricore
259393
Summary: QEMU system emulator for tricore
1c7073
Requires: %{name}-system-tricore-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-tricore
3758f8
This package provides the QEMU system emulator for Tricore.
259393
ecbe00
%package system-tricore-core
ecbe00
Summary: QEMU system emulator for tricore
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-tricore-core
3758f8
This package provides the QEMU system emulator for Tricore.
ecbe00
21cd6f
3758f8
%package system-unicore32
3758f8
Summary: QEMU system emulator for Unicore32
3758f8
Requires: %{name}-system-unicore32-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
3758f8
%description system-unicore32
3758f8
This package provides the QEMU system emulator for Unicore32 boards.
1c7073
3758f8
%package system-unicore32-core
3758f8
Summary: QEMU system emulator for Unicore32
1c7073
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-unicore32-core
3758f8
This package provides the QEMU system emulator for Unicore32 boards.
1c7073
1c7073
3758f8
%package system-x86
3758f8
Summary: QEMU system emulator for x86
3758f8
Requires: %{name}-system-x86-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
3758f8
%description system-x86
3758f8
This package provides the QEMU system emulator for x86. When being run in a x86
3758f8
machine that supports it, this package also provides the KVM virtualization
3758f8
platform.
3c6a0c
3758f8
%package system-x86-core
3758f8
Summary: QEMU system emulator for x86
3c6a0c
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
Requires: seabios-bin
3758f8
Requires: sgabios-bin
3758f8
Requires: seavgabios-bin
7da5fc
%if %{have_edk2}
3758f8
Requires: edk2-ovmf
3758f8
%endif
3758f8
%description system-x86-core
3758f8
This package provides the QEMU system emulator for x86. When being run in a x86
3758f8
machine that supports it, this package also provides the KVM virtualization
3758f8
platform.
3c6a0c
3c6a0c
3758f8
%package system-xtensa
3758f8
Summary: QEMU system emulator for Xtensa
3758f8
Requires: %{name}-system-xtensa-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-xtensa
3758f8
This package provides the QEMU system emulator for Xtensa boards.
3c6a0c
3758f8
%package system-xtensa-core
3758f8
Summary: QEMU system emulator for Xtensa
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-xtensa-core
3758f8
This package provides the QEMU system emulator for Xtensa boards.
3c6a0c
3c6a0c
c27704
419868
David Woodhouse 5c3734
%prep
409720
%setup -q -n qemu-%{version}%{?rcstr}
Paolo Bonzini af53ec
%autopatch -p1
355b03
f35188
# https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error
f35188
# Fix all Python shebangs recursively in .
f35188
# -p preserves timestamps
f35188
# -n prevents creating ~backup files
f35188
# -i specifies the interpreter for the shebang
f35188
# Need to list files that do not match ^[a-zA-Z0-9_]+\.py$ explicitly!
e3d6ad
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/qemu-trace-stap
f35188
Alon Levy c8a79a
419868
419868
David Woodhouse 5c3734
%build
c27704
c27704
# drop -g flag to prevent memory exhaustion by linker
c27704
%ifarch s390
c27704
%global optflags %(echo %{optflags} | sed 's/-g//')
c27704
sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
c27704
%endif
c27704
c27704
# OOM killer breaks builds with parallel make on s390(x)
c27704
%ifarch s390 s390x
e8a6e4
%global _smp_mflags %{nil}
c27704
%endif
c27704
c27704
# --build-id option is used for giving info to the debug packages.
c27704
extraldflags="-Wl,--build-id";
c27704
buildldflags="VL_LDFLAGS=-Wl,--build-id"
c27704
c27704
# As of qemu 2.1, --enable-trace-backends supports multiple backends,
c27704
# but there's a performance impact for non-dtrace so we don't use them
c27704
tracebackends="dtrace"
c27704
7da5fc
%if %{have_spice}
e8a6e4
    %global spiceflag --enable-spice
Daniel P. Berrange d4803f
%else
e8a6e4
    %global spiceflag --disable-spice
Daniel P. Berrange d4803f
%endif
Daniel P. Berrange 7bf315
419868
84eeb1
run_configure() {
419868
    # Base configure call with standard shared options
84eeb1
    ../configure \
84eeb1
        --prefix=%{_prefix} \
84eeb1
        --libdir=%{_libdir} \
84eeb1
        --sysconfdir=%{_sysconfdir} \
84eeb1
        --localstatedir=%{_localstatedir} \
84eeb1
        --libexecdir=%{_libexecdir} \
d4c450
        --interp-prefix=%{_prefix}/qemu-%%M \
84eeb1
        --with-pkgversion=%{name}-%{version}-%{release} \
419868
        --extra-ldflags="$extraldflags -Wl,-z,relro -Wl,-z,now" \
419868
        --extra-cflags="%{optflags}" \
419868
        --python=%{__python3} \
84eeb1
        --disable-strip \
84eeb1
        --disable-werror \
419868
        --tls-priority=@QEMU,SYSTEM \
84eeb1
        --enable-trace-backend=$tracebackends \
84eeb1
        "$@" || cat config.log
84eeb1
}
84eeb1
419868
run_configure_disable_everything() {
419868
    # Disable every qemu feature. Callers can --enable-X the bits they need
419868
    run_configure \
419868
        --audio-drv-list= \
419868
        --disable-attr \
419868
        --disable-auth-pam \
419868
        --disable-avx2 \
419868
        --disable-blobs \
419868
        --disable-bluez \
419868
        --disable-bochs \
419868
        --disable-brlapi \
419868
        --disable-bsd-user \
419868
        --disable-bzip2 \
419868
        --disable-cap-ng \
419868
        --disable-capstone \
419868
        --disable-cloop \
419868
        --disable-cocoa \
419868
        --disable-coroutine-pool \
419868
        --disable-crypto-afalg \
419868
        --disable-curl \
419868
        --disable-curses \
419868
        --disable-debug-info \
419868
        --disable-debug-mutex \
419868
        --disable-debug-tcg \
419868
        --disable-dmg \
419868
        --disable-docs \
419868
        --disable-fdt \
419868
        --disable-gcrypt \
419868
        --disable-glusterfs \
419868
        --disable-gnutls \
419868
        --disable-gtk \
419868
        --disable-guest-agent \
419868
        --disable-guest-agent-msi \
419868
        --disable-hax \
419868
        --disable-hvf \
419868
        --disable-iconv \
419868
        --disable-jemalloc \
419868
        --disable-kvm \
419868
        --disable-libiscsi \
419868
        --disable-libnfs \
419868
        --disable-libpmem \
160bf4
        --disable-libssh \
419868
        --disable-libusb \
419868
        --disable-libxml2 \
419868
        --disable-linux-aio \
419868
        --disable-linux-user \
419868
        --disable-live-block-migration \
419868
        --disable-lzfse \
419868
        --disable-lzo \
419868
        --disable-membarrier \
419868
        --disable-modules \
419868
        --disable-mpath \
419868
        --disable-netmap \
419868
        --disable-nettle \
419868
        --disable-numa \
419868
        --disable-opengl \
419868
        --disable-parallels \
419868
        --disable-pie \
419868
        --disable-pvrdma \
419868
        --disable-qcow1 \
419868
        --disable-qed \
419868
        --disable-qom-cast-debug \
419868
        --disable-rbd \
419868
        --disable-rdma \
419868
        --disable-replication \
419868
        --disable-sdl \
419868
        --disable-sdl-image \
419868
        --disable-seccomp \
419868
        --disable-sheepdog \
419868
        --disable-slirp \
419868
        --disable-smartcard \
419868
        --disable-snappy \
419868
        --disable-sparse \
419868
        --disable-spice \
419868
        --disable-system \
918c70
        --disable-tcg \
419868
        --disable-tcmalloc \
419868
        --disable-tools \
419868
        --disable-tpm \
419868
        --disable-usb-redir \
419868
        --disable-user \
419868
        --disable-vde \
419868
        --disable-vdi \
419868
        --disable-vhost-crypto \
419868
        --disable-vhost-kernel \
419868
        --disable-vhost-net \
419868
        --disable-vhost-scsi \
419868
        --disable-vhost-user \
419868
        --disable-vhost-vsock \
419868
        --disable-virglrenderer \
419868
        --disable-virtfs \
419868
        --disable-vnc \
419868
        --disable-vnc-jpeg \
419868
        --disable-vnc-png \
419868
        --disable-vnc-sasl \
419868
        --disable-vte \
419868
        --disable-vvfat \
419868
        --disable-vxhs \
419868
        --disable-whpx \
419868
        --disable-xen \
419868
        --disable-xen-pci-passthrough \
419868
        --disable-xfsctl \
419868
        --without-default-devices \
419868
        "$@"
419868
}
419868
419868
160bf4
160bf4
# Build for qemu-user-static
160bf4
%if %{user_static}
160bf4
mkdir build-static
160bf4
pushd build-static
160bf4
160bf4
run_configure_disable_everything \
160bf4
    --disable-pie \
bd5949
    --enable-attr \
160bf4
    --enable-linux-user \
fe24ec
    --enable-tcg \
160bf4
    --static
160bf4
160bf4
make V=1 %{?_smp_mflags} $buildldflags
160bf4
160bf4
popd
e4599b
%endif
160bf4
160bf4
160bf4
419868
# Build for non-static qemu-*
Daniel P. Berrange 083532
mkdir build-dynamic
Daniel P. Berrange 083532
pushd build-dynamic
Daniel P. Berrange 083532
84eeb1
run_configure \
419868
    --audio-drv-list=pa,sdl,alsa,oss \
419868
    --enable-kvm \
80404b
    --enable-system \
918c70
    --enable-tcg \
80404b
    --enable-linux-user \
84eeb1
    --enable-pie \
ecbe00
    --enable-modules \
Paolo Bonzini b0a774
    --enable-mpath \
419868
    %{spiceflag} \
419868
%ifarch s390 %{mips64}
419868
    --enable-tcg-interpreter \
419868
%endif
419868
%if 0%{?fedora} > 30
419868
    --enable-slirp=system \
419868
%endif
Glauber Costa 8571d0
ac843b
echo "config-host.mak contents:"
ac843b
echo "==="
ac843b
cat config-host.mak
ac843b
echo "==="
71430d
ac843b
make V=1 %{?_smp_mflags} $buildldflags
71430d
Daniel P. Berrange 083532
popd
Daniel P. Berrange 083532
419868
Daniel P. Berrange 083532
Justin M. Forbes 603dd6
David Woodhouse 5c3734
%install
David Woodhouse 5c3734
e8a6e4
%global _udevdir /lib/udev/rules.d
e8a6e4
%global qemudocdir %{_docdir}/%{name}
c27704
419868
419868
# Install rules to use the bridge helper with libvirt's virbr0
419868
install -D -m 0644 %{_sourcedir}/bridge.conf %{buildroot}%{_sysconfdir}/qemu/bridge.conf
419868
Daniel P. Berrange fbe43c
c27704
# Install qemu-guest-agent service and udev rules
419868
install -D -p -m 0644 %{_sourcedir}/qemu-guest-agent.service %{buildroot}%{_unitdir}/qemu-guest-agent.service
91efac
install -D -p -m 0644 %{_sourcedir}/qemu-ga.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
419868
install -D -m 0644 %{_sourcedir}/99-qemu-guest-agent.rules %{buildroot}%{_udevdir}/99-qemu-guest-agent.rules
419868
c27704
419868
# Install qemu-ga fsfreeze bits
Paolo Bonzini bfe7b8
mkdir -p %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook.d
Paolo Bonzini bfe7b8
install -p -m 0755 scripts/qemu-guest-agent/fsfreeze-hook %{buildroot}%{_sysconfdir}/qemu-ga
Paolo Bonzini bfe7b8
install -p -m 0644 scripts/qemu-guest-agent/fsfreeze-hook.d/*.sample %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook.d/
Paolo Bonzini e978b4
mkdir -p %{buildroot}%{_localstatedir}/log
Paolo Bonzini e978b4
touch %{buildroot}%{_localstatedir}/log/qga-fsfreeze-hook.log
Paolo Bonzini bfe7b8
419868
Paolo Bonzini 0fb2b2
# Install qemu-pr-helper service
Paolo Bonzini 0fb2b2
install -m 0644 %{_sourcedir}/qemu-pr-helper.service %{buildroot}%{_unitdir}
Paolo Bonzini 0fb2b2
install -m 0644 %{_sourcedir}/qemu-pr-helper.socket %{buildroot}%{_unitdir}
Paolo Bonzini 0fb2b2
419868
419868
# Install ppc64 memlock
d19693
%ifarch %{power64}
d19693
install -d %{buildroot}%{_sysconfdir}/security/limits.d
8a5886
install -m 0644 %{_sourcedir}/95-kvm-ppc64-memlock.conf %{buildroot}%{_sysconfdir}/security/limits.d
d19693
%endif
d19693
c75224
419868
# Install qemu-user-static tree
419868
mkdir -p %{buildroot}%{_bindir}
Daniel P. Berrange 083532
%if %{user_static}
Daniel P. Berrange 083532
pushd build-static
Daniel P. Berrange 083532
make DESTDIR=%{buildroot} install
Daniel P. Berrange 083532
419868
# Rename all QEMU user emulators to have a -static suffix
Daniel P. Berrange 083532
for src in %{buildroot}%{_bindir}/qemu-*
Daniel P. Berrange 083532
do
Daniel P. Berrange 083532
  mv $src $src-static
Daniel P. Berrange 083532
done
Daniel P. Berrange 083532
419868
# Rename trace files to match -static suffix
Daniel P. Berrange 083532
for src in %{buildroot}%{_datadir}/systemtap/tapset/qemu-*.stp
Daniel P. Berrange 083532
do
Daniel P. Berrange 083532
  dst=`echo $src | sed -e 's/.stp/-static.stp/'`
Daniel P. Berrange 083532
  mv $src $dst
Daniel P. Berrange 083532
  perl -i -p -e 's/(qemu-\w+)/$1-static/g; s/(qemu\.user\.\w+)/$1.static/g' $dst
Daniel P. Berrange 083532
done
Daniel P. Berrange 083532
Daniel P. Berrange 083532
popd
e4599b
%endif
419868
Daniel P. Berrange 083532
419868
# Install main qemu-system-* tree
Daniel P. Berrange 083532
pushd build-dynamic
c27704
make DESTDIR=%{buildroot} install
Daniel P. Berrange 083532
popd
7fae7f
%find_lang %{name}
7fae7f
419868
419868
# Copy some static data into place
0038f8
install -D -p -m 0644 -t %{buildroot}%{qemudocdir} Changelog README.rst COPYING COPYING.LIB LICENSE
419868
install -D -p -m 0644 qemu.sasl %{buildroot}%{_sysconfdir}/sasl2/qemu.conf
419868
419868
419868
# Generate qemu-system-* man pages
419868
chmod -x %{buildroot}%{_mandir}/man1/*
c27704
for emu in %{buildroot}%{_bindir}/qemu-system-*; do
c27704
    ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/$(basename $emu).1.gz
979ec1
done
b26fb5
419868
419868
# Install kvm specific source bits, and qemu-kvm manpage
Dan Horák f81e73
%if 0%{?need_qemu_kvm}
c27704
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/qemu-kvm.1.gz
419868
install -m 0755 %{_sourcedir}/qemu-kvm.sh %{buildroot}%{_bindir}/qemu-kvm
5bdb06
install -D -p -m 0644 %{_sourcedir}/kvm-x86.modprobe.conf %{buildroot}%{_sysconfdir}/modprobe.d/kvm.conf
Dan Horák f81e73
%endif
David Woodhouse 5c3734
419868
419868
# Install binfmt
419868
%global binfmt_dir %{buildroot}%{_exec_prefix}/lib/binfmt.d
419868
mkdir -p %{binfmt_dir}
419868
419868
./scripts/qemu-binfmt-conf.sh --systemd ALL --exportdir %{binfmt_dir} --qemu-path %{_bindir}
419868
for i in %{binfmt_dir}/*; do
419868
    mv $i $(echo $i | sed 's/.conf/-dynamic.conf/')
419868
done
419868
419868
%if %{user_static}
419868
for regularfmt in %{binfmt_dir}/*; do
419868
  staticfmt="$(echo $regularfmt | sed 's/-dynamic/-static/g')"
419868
  cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
419868
done
419868
%endif
419868
Daniel P. Berrange 42af21
700f12
# XXX With qemu 2.11 we can probably drop this symlinking with use of
700f12
# configure --firmwarepath, see qemu git 3d5eecab4
700f12
71430d
# Provided by package openbios
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-ppc
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc32
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc64
71430d
# Provided by package SLOF
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin
Paolo Bonzini 2803fc
# Provided by package ipxe
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/pxe*rom
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/efi*rom
d1a627
# Provided by package seavgabios
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/vgabios*bin
Paolo Bonzini 2803fc
# Provided by package seabios
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/bios.bin
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/bios-256k.bin
Paolo Bonzini 2803fc
# Provided by package sgabios
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/sgabios.bin
160bf4
# Provided by package edk2
160bf4
rm -rf %{buildroot}%{_datadir}/%{name}/edk2*
160bf4
rm -rf %{buildroot}%{_datadir}/%{name}/firmware/*edk2*.json
Glauber Costa f0365c
Glauber Costa f0365c
pxe_link() {
Daniel P. Berrange e907ae
  ln -s ../ipxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.rom
7fae7f
  ln -s ../ipxe.efi/$2.rom %{buildroot}%{_datadir}/%{name}/efi-$1.rom
Glauber Costa f0365c
}
Glauber Costa f0365c
Justin M. Forbes 990c3a
pxe_link e1000 8086100e
Daniel P. Berrange e907ae
pxe_link ne2k_pci 10ec8029
Daniel P. Berrange e907ae
pxe_link pcnet 10222000
Daniel P. Berrange e907ae
pxe_link rtl8139 10ec8139
Daniel P. Berrange e907ae
pxe_link virtio 1af41000
ef34be
pxe_link eepro100 80861209
ef34be
pxe_link e1000e 808610d3
ef34be
pxe_link vmxnet3 15ad07b0
71430d
71430d
rom_link() {
71430d
    ln -s $1 %{buildroot}%{_datadir}/%{name}/$2
71430d
}
71430d
d1a627
rom_link ../seavgabios/vgabios-isavga.bin vgabios.bin
d1a627
rom_link ../seavgabios/vgabios-cirrus.bin vgabios-cirrus.bin
d1a627
rom_link ../seavgabios/vgabios-qxl.bin vgabios-qxl.bin
d1a627
rom_link ../seavgabios/vgabios-stdvga.bin vgabios-stdvga.bin
d1a627
rom_link ../seavgabios/vgabios-vmware.bin vgabios-vmware.bin
de4550
rom_link ../seavgabios/vgabios-virtio.bin vgabios-virtio.bin
David Abdurachmanov 29c352
rom_link ../seavgabios/vgabios-ramfb.bin vgabios-ramfb.bin
David Abdurachmanov 29c352
rom_link ../seavgabios/vgabios-bochs-display.bin vgabios-bochs-display.bin
160bf4
rom_link ../seavgabios/vgabios-ati.bin vgabios-ati.bin
71430d
rom_link ../seabios/bios.bin bios.bin
ac843b
rom_link ../seabios/bios-256k.bin bios-256k.bin
71430d
rom_link ../sgabios/sgabios.bin sgabios.bin
Daniel P. Berrange 1ad1f9
c27704
cf5f9d
# When building using 'rpmbuild' or 'fedpkg local', RPATHs can be left in
dd16ba
# the binaries and libraries (although this doesn't occur when
cf5f9d
# building in Koji, for some unknown reason). Some discussion here:
cf5f9d
#
cf5f9d
# https://lists.fedoraproject.org/pipermail/devel/2013-November/192553.html
cf5f9d
#
cf5f9d
# In any case it should always be safe to remove RPATHs from
cf5f9d
# the final binaries:
c27704
for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \
c27704
         %{buildroot}%{_libexecdir}/*; do
Daniel P. Berrange 083532
  if file $f | grep -q ELF | grep -q -i shared; then chrpath --delete $f; fi
dd16ba
done
dd16ba
419868
626906
# We need to make the modules executable else
ecbe00
# RPM won't pick up their dependencies.
626906
chmod +x %{buildroot}%{_libdir}/qemu/*.so
ecbe00
c27704
c61e67
419868
%check
89aacd
# Tests are hanging on s390 as of 2.3.0
89aacd
#   https://bugzilla.redhat.com/show_bug.cgi?id=1206057
198e14
# Tests seem to be a recurring problem on s390, so I'd suggest just leaving
198e14
# it disabled.
Daniel P. Berrange aa972b
%global archs_skip_tests s390
c61e67
%global archs_ignore_test_failures 0
c61e67
4266c9
# Enable this temporarily if tests are broken
1d0e43
%global temp_skip_check 0
d3ff78
ef34be
pushd build-dynamic
c61e67
%ifnarch %{archs_skip_tests}
198e14
198e14
# Check the binary runs (see eg RHBZ#998722).
198e14
b="./x86_64-softmmu/qemu-system-x86_64"
198e14
if [ -x "$b" ]; then "$b" -help; fi
198e14
c61e67
%ifarch %{archs_ignore_test_failures}
c61e67
make check V=1 || :
Daniel P. Berrange 869973
%else
40fbd8
 %if %{temp_skip_check}
40fbd8
 make check V=1 || :
40fbd8
 %else
40fbd8
 make check V=1
40fbd8
 %endif
c61e67
%endif
Daniel P. Berrange 1ad1f9
820948
%if 0%{?hostqemu:1}
548919
# Sanity-check current kernel can boot on this qemu.
548919
# The results are advisory only.
820948
qemu-sanity-check --qemu=%{?hostqemu} ||:
548919
%endif
c27704
e4599b
%endif
ef34be
popd
198e14
548919
Mark McLoughlin cd8d5c
%post common
Mark McLoughlin cd8d5c
getent group kvm >/dev/null || groupadd -g 36 -r kvm
Mark McLoughlin cd8d5c
getent group qemu >/dev/null || groupadd -g 107 -r qemu
Mark McLoughlin cd8d5c
getent passwd qemu >/dev/null || \
Mark McLoughlin cd8d5c
  useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
Mark McLoughlin cd8d5c
    -c "qemu user" qemu
Mark McLoughlin cd8d5c
c27704
Nathaniel McCallum f73c47
%post user-binfmt
Nathaniel McCallum f73c47
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Nathaniel McCallum f73c47
%postun user-binfmt
Nathaniel McCallum f73c47
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Nathaniel McCallum f73c47
Nathaniel McCallum 22c290
%if %{user_static}
Nathaniel McCallum f73c47
%post user-static
Justin M. Forbes 603dd6
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Nathaniel McCallum f73c47
%postun user-static
Justin M. Forbes 603dd6
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Nathaniel McCallum 22c290
%endif
David Woodhouse 5c3734
48e07c
%post guest-agent
48e07c
%systemd_post qemu-guest-agent.service
48e07c
%preun guest-agent
48e07c
%systemd_preun qemu-guest-agent.service
48e07c
%postun guest-agent
48e07c
%systemd_postun_with_restart qemu-guest-agent.service
48e07c
48e07c
48e07c
Mark McLoughlin eec5cd
%files
48e07c
# Deliberately empty
Glauber Costa 485711
Mark McLoughlin f2160a
7fae7f
%files common -f %{name}.lang
Justin M. Forbes 73d3c2
%dir %{qemudocdir}
Glauber Costa 485711
%doc %{qemudocdir}/Changelog
1c7073
%doc %{qemudocdir}/qemu-doc.html
1c7073
%doc %{qemudocdir}/qemu-doc.txt
1c7073
%doc %{qemudocdir}/qemu-ga-ref.html
1c7073
%doc %{qemudocdir}/qemu-ga-ref.txt
1c7073
%doc %{qemudocdir}/qemu-qmp-ref.html
1c7073
%doc %{qemudocdir}/qemu-qmp-ref.txt
0038f8
%doc %{qemudocdir}/README.rst
d3ff78
%doc %{qemudocdir}/interop
160bf4
%doc %{qemudocdir}/specs
0038f8
%license %{qemudocdir}/COPYING
0038f8
%license %{qemudocdir}/COPYING.LIB
0038f8
%license %{qemudocdir}/LICENSE
Mark McLoughlin ccf76b
%dir %{_datadir}/%{name}/
d3ff78
%{_datadir}/applications/qemu.desktop
d3ff78
%{_datadir}/icons/hicolor/*/apps/*
28828d
%exclude %{_datadir}/%{name}/qemu-nsis.bmp
Mark McLoughlin ccf76b
%{_datadir}/%{name}/keymaps/
ef34be
%{_datadir}/%{name}/trace-events-all
996634
%{_datadir}/%{name}/vgabios.bin
996634
%{_datadir}/%{name}/vgabios-cirrus.bin
996634
%{_datadir}/%{name}/vgabios-qxl.bin
996634
%{_datadir}/%{name}/vgabios-stdvga.bin
996634
%{_datadir}/%{name}/vgabios-vmware.bin
996634
%{_datadir}/%{name}/vgabios-virtio.bin
David Abdurachmanov 29c352
%{_datadir}/%{name}/vgabios-ramfb.bin
David Abdurachmanov 29c352
%{_datadir}/%{name}/vgabios-bochs-display.bin
160bf4
%{_datadir}/%{name}/vgabios-ati.bin
996634
%{_datadir}/%{name}/pxe-e1000.rom
996634
%{_datadir}/%{name}/efi-e1000.rom
996634
%{_datadir}/%{name}/pxe-e1000e.rom
996634
%{_datadir}/%{name}/efi-e1000e.rom
996634
%{_datadir}/%{name}/pxe-eepro100.rom
996634
%{_datadir}/%{name}/efi-eepro100.rom
996634
%{_datadir}/%{name}/pxe-ne2k_pci.rom
996634
%{_datadir}/%{name}/efi-ne2k_pci.rom
996634
%{_datadir}/%{name}/pxe-pcnet.rom
996634
%{_datadir}/%{name}/efi-pcnet.rom
996634
%{_datadir}/%{name}/pxe-rtl8139.rom
996634
%{_datadir}/%{name}/efi-rtl8139.rom
996634
%{_datadir}/%{name}/pxe-virtio.rom
996634
%{_datadir}/%{name}/efi-virtio.rom
996634
%{_datadir}/%{name}/pxe-vmxnet3.rom
996634
%{_datadir}/%{name}/efi-vmxnet3.rom
160bf4
%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
1d442b
%{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json
Mark McLoughlin 666df9
%{_mandir}/man1/qemu.1*
d3ff78
%{_mandir}/man1/qemu-trace-stap.1*
852ee3
%{_mandir}/man1/virtfs-proxy-helper.1*
700f12
%{_mandir}/man7/qemu-block-drivers.7*
007776
%{_mandir}/man7/qemu-cpu-models.7*
1c7073
%{_mandir}/man7/qemu-ga-ref.7*
1c7073
%{_mandir}/man7/qemu-qmp-ref.7*
d3ff78
%{_bindir}/elf2dmp
007776
%{_bindir}/qemu-edid
700f12
%{_bindir}/qemu-keymap
Paolo Bonzini 0fb2b2
%{_bindir}/qemu-pr-helper
f35188
%{_bindir}/qemu-trace-stap
d3ff78
%{_bindir}/virtfs-proxy-helper
Paolo Bonzini 0fb2b2
%{_unitdir}/qemu-pr-helper.service
Paolo Bonzini 0fb2b2
%{_unitdir}/qemu-pr-helper.socket
acbc4a
%attr(4755, root, root) %{_libexecdir}/qemu-bridge-helper
160bf4
%{_libexecdir}/vhost-user-gpu
1d442b
%{_libexecdir}/virtiofsd
Paolo Bonzini 15489f
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
979ec1
%dir %{_sysconfdir}/qemu
979ec1
%config(noreplace) %{_sysconfdir}/qemu/bridge.conf
ecbe00
%dir %{_libdir}/qemu
979ec1
c27704
Daniel P. Berrange 1ad1f9
%files guest-agent
Daniel P. Berrange 1ad1f9
%{_bindir}/qemu-ga
88b379
%{_mandir}/man8/qemu-ga.8*
Daniel P. Berrange 1ad1f9
%{_unitdir}/qemu-guest-agent.service
Daniel P. Berrange fbe43c
%{_udevdir}/99-qemu-guest-agent.rules
Paolo Bonzini bfe7b8
%config(noreplace) %{_sysconfdir}/sysconfig/qemu-ga
Paolo Bonzini bfe7b8
%{_sysconfdir}/qemu-ga
Paolo Bonzini e978b4
%ghost %{_localstatedir}/log/qga-fsfreeze-hook.log
Daniel P. Berrange 1ad1f9
c27704
48e07c
%files img
48e07c
%{_bindir}/qemu-img
48e07c
%{_bindir}/qemu-io
48e07c
%{_bindir}/qemu-nbd
48e07c
%{_mandir}/man1/qemu-img.1*
48e07c
%{_mandir}/man8/qemu-nbd.8*
48e07c
48e07c
ecbe00
%files block-curl
ecbe00
%{_libdir}/qemu/block-curl.so
ecbe00
%files block-dmg
151958
%{_libdir}/qemu/block-dmg-bz2.so
Daniel P. Berrangé e1923c
%if %{with_block_gluster}
ecbe00
%files block-gluster
Daniel P. Berrangé e1923c
%{_libdir}/qemu/block-gluster.so
Daniel P. Berrangé e1923c
%endif
ecbe00
%files block-iscsi
ecbe00
%{_libdir}/qemu/block-iscsi.so
151958
%files block-nfs
151958
%{_libdir}/qemu/block-nfs.so
Daniel P. Berrangé a4b3db
%if %{with_block_rbd}
ecbe00
%files block-rbd
ecbe00
%{_libdir}/qemu/block-rbd.so
Daniel P. Berrangé a4b3db
%endif
ecbe00
%files block-ssh
ecbe00
%{_libdir}/qemu/block-ssh.so
ecbe00
ecbe00
3c6a0c
%files audio-alsa
3c6a0c
%{_libdir}/qemu/audio-alsa.so
3c6a0c
%files audio-oss
3c6a0c
%{_libdir}/qemu/audio-oss.so
3c6a0c
%files audio-pa
3c6a0c
%{_libdir}/qemu/audio-pa.so
3c6a0c
%files audio-sdl
3c6a0c
%{_libdir}/qemu/audio-sdl.so
3c6a0c
3c6a0c
3c6a0c
%files ui-curses
3c6a0c
%{_libdir}/qemu/ui-curses.so
3c6a0c
%files ui-gtk
3c6a0c
%{_libdir}/qemu/ui-gtk.so
3c6a0c
%files ui-sdl
3c6a0c
%{_libdir}/qemu/ui-sdl.so
993f41
%if %{have_spice}
0038f8
%files ui-spice-app
0038f8
%{_libdir}/qemu/ui-spice-app.so
993f41
%endif
3c6a0c
3c6a0c
48e07c
%files -n ivshmem-tools
48e07c
%{_bindir}/ivshmem-client
48e07c
%{_bindir}/ivshmem-server
48e07c
48e07c
48e07c
%if %{have_kvm}
48e07c
%files kvm
48e07c
# Deliberately empty
ecbe00
ecbe00
%files kvm-core
ecbe00
# Deliberately empty
48e07c
%endif
48e07c
48e07c
c27704
%files user
Justin M. Forbes 3a5505
%{_bindir}/qemu-i386
Justin M. Forbes 3a5505
%{_bindir}/qemu-x86_64
ac843b
%{_bindir}/qemu-aarch64
3c6a0c
%{_bindir}/qemu-aarch64_be
Daniel P. Berrange b4adff
%{_bindir}/qemu-alpha
Daniel P. Berrange 36ffed
%{_bindir}/qemu-arm
Daniel P. Berrange 36ffed
%{_bindir}/qemu-armeb
Daniel P. Berrange b4adff
%{_bindir}/qemu-cris
1c7073
%{_bindir}/qemu-hppa
Daniel P. Berrange 36ffed
%{_bindir}/qemu-m68k
Paolo Bonzini b7a1ff
%{_bindir}/qemu-microblaze
Paolo Bonzini b7a1ff
%{_bindir}/qemu-microblazeel
Daniel P. Berrange 36ffed
%{_bindir}/qemu-mips
Daniel P. Berrange 36ffed
%{_bindir}/qemu-mipsel
7fae7f
%{_bindir}/qemu-mips64
7fae7f
%{_bindir}/qemu-mips64el
7fae7f
%{_bindir}/qemu-mipsn32
7fae7f
%{_bindir}/qemu-mipsn32el
1c7073
%{_bindir}/qemu-nios2
1c7073
%{_bindir}/qemu-or1k
Paolo Bonzini ffa1cc
%{_bindir}/qemu-ppc
Paolo Bonzini ffa1cc
%{_bindir}/qemu-ppc64
Paolo Bonzini ffa1cc
%{_bindir}/qemu-ppc64abi32
ad339a
%{_bindir}/qemu-ppc64le
3c6a0c
%{_bindir}/qemu-riscv32
3c6a0c
%{_bindir}/qemu-riscv64
Paolo Bonzini b7a1ff
%{_bindir}/qemu-s390x
Daniel P. Berrange b4adff
%{_bindir}/qemu-sh4
Daniel P. Berrange b4adff
%{_bindir}/qemu-sh4eb
Paolo Bonzini ffa1cc
%{_bindir}/qemu-sparc
Paolo Bonzini ffa1cc
%{_bindir}/qemu-sparc32plus
Paolo Bonzini ffa1cc
%{_bindir}/qemu-sparc64
80404b
%{_bindir}/qemu-tilegx
80404b
%{_bindir}/qemu-xtensa
80404b
%{_bindir}/qemu-xtensaeb
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-i386.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-i386-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-i386-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-x86_64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-x86_64-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-x86_64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-aarch64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-aarch64-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-aarch64-simpletrace.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-aarch64_be.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-aarch64_be-log.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-aarch64_be-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-alpha.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-alpha-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-alpha-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-arm.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-arm-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-arm-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-armeb.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-armeb-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-armeb-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-cris.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-cris-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-cris-simpletrace.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-hppa.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-hppa-log.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-hppa-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-m68k.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-m68k-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-m68k-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblaze.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-microblaze-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblaze-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblazeel.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-microblazeel-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblazeel-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mips-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsel.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mipsel-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsel-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mips64-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64el.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mips64el-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64el-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mipsn32-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32el.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mipsn32el-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32el-simpletrace.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-nios2.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-nios2-log.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-nios2-simpletrace.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-or1k.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-or1k-log.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-or1k-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-ppc-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-ppc64-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64abi32.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-ppc64abi32-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64abi32-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64le.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-ppc64le-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64le-simpletrace.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-riscv32.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-riscv32-log.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-riscv32-simpletrace.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-riscv64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-riscv64-log.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-riscv64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-s390x.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-s390x-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-s390x-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-sh4-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4eb.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-sh4eb-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4eb-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-sparc-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc32plus.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-sparc32plus-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc32plus-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-sparc64-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc64-simpletrace.stp
80404b
%{_datadir}/systemtap/tapset/qemu-tilegx.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-tilegx-log.stp
80404b
%{_datadir}/systemtap/tapset/qemu-tilegx-simpletrace.stp
80404b
%{_datadir}/systemtap/tapset/qemu-xtensa.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-xtensa-log.stp
80404b
%{_datadir}/systemtap/tapset/qemu-xtensa-simpletrace.stp
80404b
%{_datadir}/systemtap/tapset/qemu-xtensaeb.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-xtensaeb-log.stp
80404b
%{_datadir}/systemtap/tapset/qemu-xtensaeb-simpletrace.stp
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%files user-binfmt
Daniel P. Berrange 083532
%{_exec_prefix}/lib/binfmt.d/qemu-*-dynamic.conf
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%if %{user_static}
Daniel P. Berrange 083532
%files user-static
80404b
# Just use wildcard matches here: we will catch any new/missing files
80404b
# in the qemu-user filelists
Daniel P. Berrange 083532
%{_exec_prefix}/lib/binfmt.d/qemu-*-static.conf
80404b
%{_bindir}/qemu-*-static
80404b
%{_datadir}/systemtap/tapset/qemu-*-static.stp
Daniel P. Berrange 083532
%endif
Daniel P. Berrange 35d458
c27704
3758f8
%files system-aarch64
3758f8
%files system-aarch64-core
3758f8
%{_bindir}/qemu-system-aarch64
3758f8
%{_datadir}/systemtap/tapset/qemu-system-aarch64*.stp
3758f8
%{_mandir}/man1/qemu-system-aarch64.1*
c27704
Daniel P. Berrange 35d458
c27704
%files system-alpha
ecbe00
%files system-alpha-core
Paolo Bonzini c32efe
%{_bindir}/qemu-system-alpha
259393
%{_datadir}/systemtap/tapset/qemu-system-alpha*.stp
979ec1
%{_mandir}/man1/qemu-system-alpha.1*
Paolo Bonzini c32efe
%{_datadir}/%{name}/palcode-clipper
Paolo Bonzini c32efe
c27704
c27704
%files system-arm
ecbe00
%files system-arm-core
Daniel P. Berrange 36ffed
%{_bindir}/qemu-system-arm
259393
%{_datadir}/systemtap/tapset/qemu-system-arm*.stp
979ec1
%{_mandir}/man1/qemu-system-arm.1*
Peter Robinson 09747c
Daniel P. Berrange 35d458
c27704
%files system-cris
ecbe00
%files system-cris-core
Justin M. Forbes bc9e71
%{_bindir}/qemu-system-cris
259393
%{_datadir}/systemtap/tapset/qemu-system-cris*.stp
979ec1
%{_mandir}/man1/qemu-system-cris.1*
Daniel P. Berrange 35d458
c27704
3758f8
%files system-hppa
3758f8
%files system-hppa-core
3758f8
%{_bindir}/qemu-system-hppa
3758f8
%{_datadir}/systemtap/tapset/qemu-system-hppa*.stp
3758f8
%{_mandir}/man1/qemu-system-hppa.1*
3758f8
%{_datadir}/%{name}/hppa-firmware.img
3758f8
ecbe00
3758f8
%files system-lm32
ecbe00
%files system-lm32-core
Paolo Bonzini 40e61a
%{_bindir}/qemu-system-lm32
259393
%{_datadir}/systemtap/tapset/qemu-system-lm32*.stp
979ec1
%{_mandir}/man1/qemu-system-lm32.1*
Paolo Bonzini 40e61a
c27704
c27704
%files system-m68k
ecbe00
%files system-m68k-core
Glauber Costa 485711
%{_bindir}/qemu-system-m68k
259393
%{_datadir}/systemtap/tapset/qemu-system-m68k*.stp
979ec1
%{_mandir}/man1/qemu-system-m68k.1*
Daniel P. Berrange 35d458
c27704
c27704
%files system-microblaze
ecbe00
%files system-microblaze-core
Paolo Bonzini c32efe
%{_bindir}/qemu-system-microblaze
Paolo Bonzini c32efe
%{_bindir}/qemu-system-microblazeel
259393
%{_datadir}/systemtap/tapset/qemu-system-microblaze*.stp
979ec1
%{_mandir}/man1/qemu-system-microblaze.1*
979ec1
%{_mandir}/man1/qemu-system-microblazeel.1*
Paolo Bonzini c32efe
%{_datadir}/%{name}/petalogix*.dtb
Paolo Bonzini c32efe
c27704
3758f8
%files system-mips
3758f8
%files system-mips-core
3758f8
%{_bindir}/qemu-system-mips
3758f8
%{_bindir}/qemu-system-mipsel
3758f8
%{_bindir}/qemu-system-mips64
3758f8
%{_bindir}/qemu-system-mips64el
3758f8
%{_datadir}/systemtap/tapset/qemu-system-mips*.stp
3758f8
%{_mandir}/man1/qemu-system-mips.1*
3758f8
%{_mandir}/man1/qemu-system-mipsel.1*
3758f8
%{_mandir}/man1/qemu-system-mips64el.1*
3758f8
%{_mandir}/man1/qemu-system-mips64.1*
ecbe00
3758f8
3758f8
%files system-moxie
3758f8
%files system-moxie-core
3758f8
%{_bindir}/qemu-system-moxie
3758f8
%{_datadir}/systemtap/tapset/qemu-system-moxie*.stp
3758f8
%{_mandir}/man1/qemu-system-moxie.1*
3758f8
3758f8
3758f8
%files system-nios2
3758f8
%files system-nios2-core
3758f8
%{_bindir}/qemu-system-nios2
3758f8
%{_datadir}/systemtap/tapset/qemu-system-nios2*.stp
3758f8
%{_mandir}/man1/qemu-system-nios2.1*
3758f8
3758f8
3758f8
%files system-or1k
1c7073
%files system-or1k-core
1c7073
%{_bindir}/qemu-system-or1k
1c7073
%{_datadir}/systemtap/tapset/qemu-system-or1k*.stp
1c7073
%{_mandir}/man1/qemu-system-or1k.1*
Paolo Bonzini 40e61a
c27704
3758f8
%files system-ppc
3758f8
%files system-ppc-core
3758f8
%{_bindir}/qemu-system-ppc
3758f8
%{_bindir}/qemu-system-ppc64
3758f8
%{_datadir}/systemtap/tapset/qemu-system-ppc*.stp
3758f8
%{_mandir}/man1/qemu-system-ppc.1*
3758f8
%{_mandir}/man1/qemu-system-ppc64.1*
3758f8
%{_datadir}/%{name}/bamboo.dtb
3758f8
%{_datadir}/%{name}/canyonlands.dtb
3758f8
%{_datadir}/%{name}/ppc_rom.bin
3758f8
%{_datadir}/%{name}/qemu_vga.ndrv
3758f8
%{_datadir}/%{name}/skiboot.lid
3758f8
%{_datadir}/%{name}/u-boot.e500
3758f8
%{_datadir}/%{name}/u-boot-sam460-20100605.bin
3758f8
%ifarch %{power64}
3758f8
%{_sysconfdir}/security/limits.d/95-kvm-ppc64-memlock.conf
3758f8
%endif
3c6a0c
3758f8
3758f8
%files system-riscv
3c6a0c
%files system-riscv-core
3c6a0c
%{_bindir}/qemu-system-riscv32
3c6a0c
%{_bindir}/qemu-system-riscv64
28828d
%{_datadir}/%{name}/opensbi-riscv*.bin
3c6a0c
%{_datadir}/systemtap/tapset/qemu-system-riscv*.stp
3c6a0c
%{_mandir}/man1/qemu-system-riscv*.1*
3c6a0c
3c6a0c
c27704
%files system-s390x
ecbe00
%files system-s390x-core
Paolo Bonzini c32efe
%{_bindir}/qemu-system-s390x
259393
%{_datadir}/systemtap/tapset/qemu-system-s390x*.stp
979ec1
%{_mandir}/man1/qemu-system-s390x.1*
7fae7f
%{_datadir}/%{name}/s390-ccw.img
1a4355
%{_datadir}/%{name}/s390-netboot.img
Paolo Bonzini c32efe
c27704
c27704
%files system-sh4
ecbe00
%files system-sh4-core
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-sh4
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-sh4eb
259393
%{_datadir}/systemtap/tapset/qemu-system-sh4*.stp
979ec1
%{_mandir}/man1/qemu-system-sh4.1*
979ec1
%{_mandir}/man1/qemu-system-sh4eb.1*
Daniel P. Berrange 35d458
c27704
c27704
%files system-sparc
ecbe00
%files system-sparc-core
57c57a
%{_bindir}/qemu-system-sparc
57c57a
%{_bindir}/qemu-system-sparc64
259393
%{_datadir}/systemtap/tapset/qemu-system-sparc*.stp
979ec1
%{_mandir}/man1/qemu-system-sparc.1*
979ec1
%{_mandir}/man1/qemu-system-sparc64.1*
bacd9b
%{_datadir}/%{name}/QEMU,tcx.bin
ac843b
%{_datadir}/%{name}/QEMU,cgthree.bin
57c57a
c27704
3758f8
%files system-tricore
3758f8
%files system-tricore-core
3758f8
%{_bindir}/qemu-system-tricore
3758f8
%{_datadir}/systemtap/tapset/qemu-system-tricore*.stp
3758f8
%{_mandir}/man1/qemu-system-tricore.1*
Daniel P. Berrange 36ffed
c27704
c27704
%files system-unicore32
ecbe00
%files system-unicore32-core
Paolo Bonzini 40e61a
%{_bindir}/qemu-system-unicore32
259393
%{_datadir}/systemtap/tapset/qemu-system-unicore32*.stp
979ec1
%{_mandir}/man1/qemu-system-unicore32.1*
Paolo Bonzini 40e61a
c27704
3758f8
%files system-x86
3758f8
%files system-x86-core
3758f8
%{_bindir}/qemu-system-i386
3758f8
%{_bindir}/qemu-system-x86_64
3758f8
%{_datadir}/systemtap/tapset/qemu-system-i386*.stp
3758f8
%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp
3758f8
%{_mandir}/man1/qemu-system-i386.1*
3758f8
%{_mandir}/man1/qemu-system-x86_64.1*
3758f8
%{_datadir}/%{name}/bios.bin
3758f8
%{_datadir}/%{name}/bios-256k.bin
41cffc
%{_datadir}/%{name}/bios-microvm.bin
d3ff78
%{_datadir}/%{name}/kvmvapic.bin
3758f8
%{_datadir}/%{name}/linuxboot.bin
3758f8
%{_datadir}/%{name}/linuxboot_dma.bin
3758f8
%{_datadir}/%{name}/multiboot.bin
d3ff78
%{_datadir}/%{name}/pvh.bin
d3ff78
%{_datadir}/%{name}/sgabios.bin
3758f8
%if 0%{?need_qemu_kvm}
3758f8
%{_bindir}/qemu-kvm
3758f8
%{_mandir}/man1/qemu-kvm.1*
5bdb06
%config(noreplace) %{_sysconfdir}/modprobe.d/kvm.conf
3758f8
%endif
ecbe00
3758f8
3758f8
%files system-xtensa
ecbe00
%files system-xtensa-core
Paolo Bonzini 40e61a
%{_bindir}/qemu-system-xtensa
Paolo Bonzini 40e61a
%{_bindir}/qemu-system-xtensaeb
259393
%{_datadir}/systemtap/tapset/qemu-system-xtensa*.stp
979ec1
%{_mandir}/man1/qemu-system-xtensa.1*
979ec1
%{_mandir}/man1/qemu-system-xtensaeb.1*
Paolo Bonzini 40e61a
c27704
David Woodhouse 5c3734
%changelog
1d442b
* Tue Jan 28 2020 Cole Robinson <crobinso@redhat.com> - 2:4.2.0-4
1d442b
- virtio-fs support
1d442b
1d442b
* Sat Jan 25 2020 Richard W.M. Jones <rjones@redhat.com> - 4.2.0-3
b98348
- Add miscellaneous fixes for RISC-V (RHBZ#1794902).
b98348
ba6f50
* Thu Dec 19 2019 Mohan Boddu <mboddu@bhujji.com> - 4.2.0-2
ba6f50
- Rebuild for xen 4.13
ba6f50
57a323
* Fri Dec 13 2019 Cole Robinson <aintdiscole@gmail.com> - 4.2.0-1
57a323
- Update to qemu-4.2.0 GA
57a323
46ea40
* Tue Dec 10 2019 Cole Robinson <aintdiscole@gmail.com> - 4.2.0-0.4.rc5
46ea40
- Update to qemu-4.2.0 rc5
46ea40
Daniel P. Berrangé e6e2c6
* Mon Dec  2 2019 Daniel P. Berrangé <berrange@redhat.com> - 2:4.2.0-0.3.rc2
Daniel P. Berrangé e6e2c6
- Disable RDMA on 32-bit arm (rhbz #1778517)
Daniel P. Berrangé e6e2c6
673256
* Wed Nov 20 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.2.0-0.2.rc2
673256
- Update to qemu-4.2.0 rc2
673256
0038f8
* Tue Nov 12 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.2.0-0.1.rc1
0038f8
- Update to qemu-4.2.0 rc1
0038f8
8e6758
* Mon Nov 11 2019 Cole Robinson <crobinso@redhat.com> - 2:4.1.0-6
8e6758
- Fix compressed qcow2 'qemu-img check' errors (bz #1768541)
8e6758
f4c127
* Thu Oct 24 2019 Cole Robinson <crobinso@redhat.com> - 2:4.1.0-5
f4c127
- Workaround for qcow2 triggered XFS corruption (bz #1763519)
f4c127
481596
* Thu Oct 03 2019 Cole Robinson <crobinso@redhat.com> - 2:4.1.0-4
481596
- Rebuild for new virglrenderer
481596
Leigh Scott c36918
* Wed Sep 11 2019 Leigh Scott <leigh123linux@googlemail.com> - 2:4.1.0-3
Leigh Scott c36918
- Rebuild for new libnfs version
Leigh Scott c36918
9db63c
* Wed Sep 04 2019 Cole Robinson <crobinso@redhat.com> - 2:4.1.0-2
9db63c
- gluster 4K block size fixes (bz #1737256)
9db63c
2a7146
* Mon Aug 19 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.1.0-1
2a7146
- Update to qemu-4.1.0 GA
2a7146
e4599b
* Wed Jul 17 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.1.0-0.1.rc2
e4599b
- Update to qemu-4.1.0-rc2
e4599b
- Re-add libattr for qemu-user-static (bz 1731756)
e4599b
6acd45
* Wed Jul 17 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.1.0-0.1.rc1
6acd45
- Update to qemu-4.1.0-rc1
6acd45
160bf4
* Thu Jul 11 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.1.0-0.1.rc0
160bf4
- Update to qemu-4.1.0-rc0
160bf4
Kevin Fenzi 8e85e5
* Fri Jun 28 2019 Kevin Fenzi <kevin@scrye.com> - 2:4.0.0-5
Kevin Fenzi 8e85e5
- Rebuild for new brltty.
Kevin Fenzi 8e85e5
8a7ac9
* Thu Jun 20 2019 Cole Robinson <crobinso@redhat.com> - 2:4.0.0-4
8a7ac9
- CVE-2019-12155: qxl: null pointer dereference while releasing spice
8a7ac9
  resources (bz #1712727, bz #1712670)
8a7ac9
- qemu-4.0.0-2.fc31 ppc64le: rpm hash calculation buggy (bz #1715017)
8a7ac9
- Fix rawhide build (bz #1718926)
8a7ac9
- Link against libslirp (bz #1712980)
8a7ac9
- Add vgabios-ramfb.bin and vgabios-bochs-display.bin (bz #1721445)
8a7ac9
Daniel P. Berrangé 70ef32
* Tue May 14 2019 Daniel P. Berrangé <berrange@redhat.com> - 2:4.0.0-2
Daniel P. Berrangé 70ef32
- Define md-clear CPUID bit
Daniel P. Berrangé 70ef32
- Resolves: rhbz #1710002 (CVE-2018-12126), rhbz #1710004 (CVE-2018-12127),
Daniel P. Berrangé 70ef32
  rhbz #1710003 (CVE-2018-12130), rhbz #1710006 (CVE-2019-11091)
Daniel P. Berrangé 70ef32
Daniel P. Berrangé 70ef32
* Wed Apr 24 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-1
c67ebc
- Update to qemu-4.0.0 GA
c67ebc
e14a8c
* Tue Apr 16 2019 Cole Robinson <crobinso@redhat.com> - 2:4.0.0-0.7.rc3
e14a8c
- Don't block migration with nested VMX (bz #1697997)
e14a8c
- Update to qemu-4.0.0-rc3
e14a8c
09f7c0
* Sat Apr 06 2019 Richard W.M. Jones <rjones@redhat.com> - 2:4.0.0-0.6.rc2
09f7c0
- Rebuild against xen 4.12.
09f7c0
4266c9
* Wed Apr 03 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.5.rc2
4266c9
- Update to 4.0.0-rc2
4266c9
c9654a
* Wed Mar 27 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.4.rc1
c9654a
- Update to 4.0.0-rc1
c9654a
Adam Williamson fd8638
* Mon Mar 25 2019 Adam Williamson <awilliam@redhat.com> - 2:4.0.0-0.3.rc0
Adam Williamson fd8638
- Backport patch to fix 3D crasher bug (bz #1692323)
Adam Williamson fd8638
f35188
* Thu Mar 21 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.2.rc0
f35188
- Fix python paths for qemu-trace-stap
f35188
f35188
* Wed Mar 20 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.2.rc0
d3ff78
- Update to 4.0.0-rc0
d3ff78
Daniel P. Berrangé e24cbb
* Wed Mar 20 2019 Daniel P. Berrangé <berrange@redhat.com> - 2:3.1.0-5
Daniel P. Berrangé e24cbb
- Fix compat with latest glibc which has gettid func
Daniel P. Berrangé e24cbb
de10d8
* Sun Mar 03 2019 Cole Robinson <aintdiscole@gmail.com> - 2:3.1.0-4.3
de10d8
- Temporarily disable glusterfs (bz #1684298)
de10d8
2679bc
* Thu Feb 28 2019 Cole Robinson <aintdiscole@gmail.com> - 2:3.1.0-4.2
2679bc
- Rebuild for brltty soname bump
2679bc
Fedora Release Engineering 8e22bb
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:3.1.0-4.1
Fedora Release Engineering 8e22bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Fedora Release Engineering 8e22bb
f1ea04
* Sat Jan 12 2019 Richard W.M. Jones <rjones@redhat.com> - 2:3.1.0-4
f1ea04
- Remove temporary patch and rebuild against fixed capstone.
f1ea04
843392
* Fri Jan 11 2019 Richard W.M. Jones <rjones@redhat.com> - 2:3.1.0-3
843392
- Rebuild for unannounced libcapstone soname bump from 3 to 4.
e0155f
- Add a temporary patch to fix capstone header location.
843392
Adam Williamson 61ad1f
* Tue Dec 18 2018 Adam Williamson <awilliam@redhat.com> - 2:3.1.0-1.1
Adam Williamson 61ad1f
- Restore patch to drop phantom 86 key from en-us keymap (bz #1658676)
Adam Williamson 61ad1f
570464
* Tue Dec 11 2018 Cole Robinson <crobinso@redhat.com> - 2:3.1.0-1
570464
- Rebase to qemu-3.1.0 GA
570464
Daniel P. Berrangé a4b3db
* Mon Dec 10 2018 Daniel P. Berrangé <berrange@redhat.com> - 2:3.1.0-0.2.rc1
Daniel P. Berrangé a4b3db
- Disable RBD on 32-bit arches
Daniel P. Berrangé a4b3db
007776
* Thu Nov 15 2018 Cole Robinson <crobinso@redhat.com> - 2:3.1.0-0.1.rc1
007776
- Rebase to qemu-3.1.0-rc1
007776
a6f688
* Wed Aug 15 2018 Cole Robinson <crobinso@redhat.com> - 2:3.0.0-1
a6f688
- Rebase to qemu-3.0.0 GA
a6f688
748bb2
* Mon Aug 13 2018 Cole Robinson <crobinso@redhat.com> - 2:3.0.0-0.2.rc3
748bb2
- Drop ksm package, moved to ksmtuned srpm
748bb2
d4c450
* Tue Jul 31 2018 Cole Robinson <crobinso@redhat.com> - 2:3.0.0-0.1.rc3
d4c450
- Rebase to qemu-3.0.0-rc3
d4c450
- Drop now unneeded s390x conf (bz #1609706)
5bdb06
- Only install modprobe kvm.conf on x86 (bz #1517989)
d4c450
Peter Robinson b12f5a
* Fri Jul 13 2018 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.12.0-4
Peter Robinson b12f5a
- Rebuild for Xen 4.11
Peter Robinson b12f5a
Daniel P. Berrangé b91dae
* Mon Jun 18 2018 Daniel P. Berrangé <berrange@redhat.com> - 2:2.12.0-3
Daniel P. Berrangé b91dae
- New CPU features for speculative store bypass (CVE-2018-3639)
Daniel P. Berrangé b91dae
330481
* Tue Jun 05 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-2
330481
- Fix qxl memslot_get_virt crashes (bz #1565354)
330481
97eed6
* Mon Apr 30 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-1
97eed6
- Update to qemu-2.12.0 GA
97eed6
6dab4a
* Mon Apr 16 2018 Richard W.M. Jones <rjones@redhat.com> - 2:2.12.0-0.7.rc3
6dab4a
- Update to qemu-2.12.0-rc3
6dab4a
- Remove upstream patch.
6dab4a
- Fixes issues with partition / LV minimum alignment (RHBZ#1565714).
6dab4a
7b9b67
* Thu Apr 05 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.6.rc2
7b9b67
- Update to qemu-2.12.0-rc2
7b9b67
0d2d5c
* Wed Mar 28 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.5.rc1
0d2d5c
- Update to qemu-2.12.0-rc1
0d2d5c
80404b
* Mon Mar 26 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.4.rc0
80404b
- Enable missing tilegx, xtensa* qemu-user targets
80404b
a28cfa
* Sun Mar 25 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.3.rc0
a28cfa
- Generate binfmt configs with qemu-binfmt-conf.sh
a28cfa
e9e03f
* Fri Mar 23 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.2.rc0
e9e03f
- Fix audio and ui module RPM deps
e9e03f
- Drop some arch restrictions for rdma, spice, xen, numactl
e9e03f
- Fix hppa firmware packaging
e9e03f
3c6a0c
* Thu Mar 22 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.1.rc0
3c6a0c
- Rebase to qemu-2.12.0-rc0
3c6a0c
- Add hppa and riscv32/64 targets
3c6a0c
- Add audio and ui modules
3c6a0c
Daniel P. Berrangé 55054b
* Mon Mar 19 2018 Daniel P. Berrangé <berrange@redhat.com> - 2:2.11.1-2
Daniel P. Berrangé 55054b
- Re-enable normal hardened build macros to fix ksmctl.c hardening
Daniel P. Berrangé 55054b
- Don't strip _FORTIFY_SOURCE from compiler flags
Daniel P. Berrangé 55054b
- Don't pass -pie as an extra ldflags when we use --enable-pie
Daniel P. Berrangé 55054b
a7e248
* Wed Feb 28 2018 Cole Robinson <crobinso@redhat.com> - 2:2.11.1-1
a7e248
- Rebase to qemu 2.11.1 bugfix release
a7e248
Daniel P. Berrangé 603dd9
* Tue Feb 27 2018 Daniel P. Berrange <berrange@redhat.com> - 2:2.11.0-5
Daniel P. Berrangé 603dd9
- Improve License tag
Daniel P. Berrangé 603dd9
- Honour CC/LD flags for ksmctl
Daniel P. Berrangé 603dd9
- Fix non-deterministic test failure
Daniel P. Berrangé 529040
- Use explicit "python2" binary to avoid "python" brokeness (rhbz#1550010)
Daniel P. Berrangé 29249a
- Avoid breakage in TLS tests due to stricter crypto policies
Daniel P. Berrangé 603dd9
Fedora Release Engineering 8253c0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.11.0-4.1
Fedora Release Engineering 8253c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Fedora Release Engineering 8253c0
Daniel P. Berrange ec520b
* Thu Dec 21 2017 Daniel P. Berrange <berrange@redhat.com> - 2:2.11.0-4
Daniel P. Berrange 167a6b
- Re-enable RBD on arm/ppc (rhbz #1528378)
Daniel P. Berrange 167a6b
Adam Williamson f81be8
* Wed Dec 20 2017 Adam Williamson <awilliam@redhat.com> - 2:2.11.0-3
Adam Williamson f81be8
- Fix problem with typing some characters via VNC (LP#1738283)
Adam Williamson f81be8
f95699
* Wed Dec 20 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-2
f95699
- Rebuild for xen 4.10
f95699
90a3c9
* Mon Dec 18 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-1
90a3c9
- Rebase to 2.11.0 GA
90a3c9
a76e08
* Mon Dec 04 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-0.3-rc3
a76e08
- Rebase to 2.11.0-rc3
a76e08
a76e08
* Tue Nov 28 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.11.0-0.2.rc2
Paolo Bonzini bfe7b8
- Fix compilation
Paolo Bonzini bfe7b8
- Upgrade qemu-ga packaging based on RHEL 7
Paolo Bonzini bfe7b8
Paolo Bonzini bfe7b8
* Mon Nov 20 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-0.1.rc1
Paolo Bonzini bfe7b8
- Rebase to 2.11.0-rc1
Paolo Bonzini bfe7b8
59eb7a
* Thu Oct 19 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.1-1
59eb7a
- Fix ppc64 KVM failure (bz #1501936)
59eb7a
- CVE-2017-15038: 9p: information disclosure when reading extended
59eb7a
  attributes (bz #1499111)
59eb7a
- CVE-2017-15268: potential memory exhaustion via websock connection to VNC
59eb7a
  (bz #1496882)
59eb7a
Paolo Bonzini b0a774
* Tue Oct 17 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-7
Paolo Bonzini b0a774
- Update patch 1014 for new libmultipath/libmpathpersist API
Paolo Bonzini b0a774
- Force build to fail if multipath is not available
Paolo Bonzini b0a774
- Tighten permissions on the qemu-pr-helper socket
Paolo Bonzini b0a774
Daniel P. Berrange 9acefb
* Mon Oct  9 2017 Daniel P. Berrange <berrange@redhat.com> - 2:2.10.0-6
Daniel P. Berrange 9acefb
- Rebuild for libiscsi changed soname again
Daniel P. Berrange 9acefb
Paolo Bonzini 4b7bd9
* Tue Oct 03 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-5
Paolo Bonzini 4b7bd9
- Rebuild with new libiscsi for iSER support
Paolo Bonzini 4b7bd9
Paolo Bonzini fd8ba3
* Thu Sep 28 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-4
Paolo Bonzini fd8ba3
- Stop using tcmalloc, glibc got faster
Paolo Bonzini fd8ba3
Paolo Bonzini 0fb2b2
* Fri Sep 22 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-3
Paolo Bonzini 0fb2b2
- Backport persistent reservation manager in preparation for SELinux work
Paolo Bonzini 0fb2b2
- Fix previous patch
Paolo Bonzini 0fb2b2
Nathaniel McCallum 98b428
* Mon Sep 18 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.10.0-2
Nathaniel McCallum 98b428
- Fix endianness of e_type in the ppc64le binfmt
Nathaniel McCallum 98b428
0b42e7
* Thu Sep 07 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-1
0b42e7
- Rebase to 2.10.0 GA
0b42e7
Nathaniel McCallum 3b6c81
* Tue Aug 29 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.10.0-0.5.rc4
Nathaniel McCallum 3b6c81
- Fix incorrect byte order in e_machine field in ppc64le binfmt (#1486379)
Nathaniel McCallum 3b6c81
45cb87
* Fri Aug 25 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-0.4.rc4
5264c6
- Rebase to 2.10.0-rc4
5264c6
Adam Williamson c2f33c
* Tue Aug 22 2017 Adam Williamson <awilliam@redhat.com> - 2:2.10.0-0.3.rc3
Adam Williamson c2f33c
- Don't build against rdma on 32-bit ARM (#1484155)
Adam Williamson c2f33c
Adam Williamson c2f33c
* Wed Aug 16 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-0.2.rc3
14cfc7
- Rebase to 2.10.0-rc3
14cfc7
Adam Williamson c2f33c
* Thu Aug 03 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-0.1.rc1
1a4355
- Rebase to 2.10.0-rc1
1a4355
26c1ce
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 2:2.9.0-9
26c1ce
- Rebuild with binutils fix for ppc64le (#1475636)
26c1ce
Daniel P. Berrange 20b227
* Tue Jul 25 2017 Daniel Berrange <berrange@redhat.com> - 2:2.9.0-8
Daniel P. Berrange 6e16c0
- Disabled RBD on arm & ppc64 (rhbz #1474743)
Daniel P. Berrange 20b227
Nathaniel McCallum f73c47
* Thu Jul 20 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.9.0-7
Nathaniel McCallum f73c47
- Fix binfmt dependencies and post scriptlets
Nathaniel McCallum f73c47
- Add binfmt for ppc64le
Nathaniel McCallum f73c47
Nathaniel McCallum f73c47
* Wed Jul 19 2017 Daniel Berrange <berrange@redhat.com> - 2:2.9.0-6
Daniel P. Berrange 1e96c6
- Fixes for compat with Xen 4.9
Daniel P. Berrange 1e96c6
Nathaniel McCallum cf6afb
* Tue Jul 18 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.9.0-5
Nathaniel McCallum cf6afb
- Fix ucontext_t references
Nathaniel McCallum cf6afb
Daniel P. Berrange 895ba8
* Tue Jul 18 2017 Daniel P. Berrange <berrange@redhat.com> - 2:2.9.0-4
Daniel P. Berrange 895ba8
- Rebuild for changed Xen sonames
Daniel P. Berrange 895ba8
335584
* Wed Jul 12 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-3
335584
- CVE-2017-8112: vmw_pvscsi: infinite loop in pvscsi_log2 (bz #1445622)
335584
- CVE-2017-8309: audio: host memory lekage via capture buffer (bz #1446520)
335584
- CVE-2017-8379: input: host memory lekage via keyboard events (bz #1446560)
335584
- CVE-2017-8380: scsi: megasas: out-of-bounds read in megasas_mmio_write (bz
335584
  #1446578)
335584
- CVE-2017-7493: 9pfs: guest privilege escalation in virtfs mapped-file mode
335584
  (bz #1451711)
335584
- CVE-2017-9503: megasas: null pointer dereference while processing megasas
335584
  command (bz #1459478)
335584
- CVE-2017-10806: usb-redirect: stack buffer overflow in debug logging (bz
335584
  #1468497)
335584
- CVE-2017-9524: nbd: segfault due to client non-negotiation (bz #1460172)
335584
- CVE-2017-10664: qemu-nbd: server breaks with SIGPIPE upon client abort (bz
335584
  #1466192)
335584
5eae33
* Mon May 22 2017 Richard W.M. Jones <rjones@redhat.com> - 2:2.9.0-2
5eae33
- Bump release and rebuild to try to fix _ZdlPvm symbol (see RHBZ#1452813).
5eae33
33f79e
* Tue Apr 25 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-1
33f79e
- Rebase to qemu-2.9.0 GA
33f79e
514d6b
* Thu Apr 13 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.2-rc4
514d6b
- Rebase to qemu-2.9.0-rc4
514d6b
- Fix ipxe rom links for aarch64
514d6b
5dd6a7
* Sat Apr 08 2017 Richard W.M. Jones <rjones@redhat.com> - 2:2.9.0-0.2-rc3
5dd6a7
- Backport upstream fix for assertion when copy-on-read=true (RHBZ#1439922).
5dd6a7
74c0a8
* Tue Apr 04 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc3
74c0a8
- Rebase to qemu-2.9.0-rc3
74c0a8
0db325
* Wed Mar 29 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc2
0db325
- Rebase to qemu-2.9.0-rc2
0db325
- Add Obsoletes for or32-or1k rename (bz 1435016)
0db325
- spec: Pull in vga and pxe roms for ppc64 (bz 1431403)
0db325
1db581
* Tue Mar 21 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc1
1db581
- Rebase to qemu-2.9.0-rc1
1db581
1c7073
* Wed Mar 15 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc0
1c7073
* Rebase to qemu-2.9.0-rc0
1c7073
Daniel P. Berrange 6a041e
* Mon Feb 20 2017 Daniel Berrange <berrange@redhat.com> - 2:2.8.0-2
Daniel P. Berrange 6a041e
- Drop texi2html BR, since QEMU switched to using makeinfo back in 2010
Daniel P. Berrange 6a041e
Fedora Release Engineering c1f9c0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.8.0-1.1
Fedora Release Engineering c1f9c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild