22c213
%global SLOF_gittagdate 20191022
22c213
%global SLOF_gittagcommit 899d9883
22c213
22c213
%global have_usbredir 1
22c213
%global have_spice    1
22c213
%global have_opengl   1
22c213
%global have_fdt      0
22c213
%global have_gluster  1
22c213
%global have_kvm_setup 0
22c213
%global have_memlock_limits 0
22c213
22c213
%ifnarch %{ix86} x86_64
22c213
    %global have_usbredir 0
22c213
%endif
22c213
22c213
%ifnarch s390x
22c213
    %global have_librdma 1
22c213
%else
22c213
    %global have_librdma 0
22c213
%endif
22c213
22c213
%ifarch %{ix86}
22c213
    %global kvm_target    i386
22c213
%endif
22c213
%ifarch x86_64
22c213
    %global kvm_target    x86_64
22c213
%else
22c213
    %global have_spice   0
22c213
    %global have_opengl  0
22c213
    %global have_gluster 0
22c213
%endif
22c213
%ifarch %{power64}
22c213
    %global kvm_target    ppc64
22c213
    %global have_fdt     1
22c213
    %global have_kvm_setup 1
22c213
    %global have_memlock_limits 1
22c213
%endif
22c213
%ifarch s390x
22c213
    %global kvm_target    s390x
22c213
    %global have_kvm_setup 1
22c213
%endif
22c213
%ifarch ppc
22c213
    %global kvm_target    ppc
22c213
    %global have_fdt     1
22c213
%endif
22c213
%ifarch aarch64
22c213
    %global kvm_target    aarch64
22c213
    %global have_fdt     1
22c213
%endif
22c213
22c213
#Versions of various parts:
22c213
22c213
%global requires_all_modules                                     \
22c213
Requires: %{name}-block-curl = %{epoch}:%{version}-%{release}    \
22c213
%if %{have_gluster}                                              \
22c213
Requires: %{name}-block-gluster = %{epoch}:%{version}-%{release} \
22c213
%endif                                                           \
22c213
Requires: %{name}-block-iscsi = %{epoch}:%{version}-%{release}   \
22c213
Requires: %{name}-block-rbd = %{epoch}:%{version}-%{release}     \
22c213
Requires: %{name}-block-ssh = %{epoch}:%{version}-%{release}
22c213
22c213
# Macro to properly setup RHEL/RHEV conflict handling
22c213
%define rhev_ma_conflicts()                                      \
22c213
Obsoletes: %1-ma                                                 \
22c213
Obsoletes: %1-rhev
22c213
22c213
Summary: QEMU is a machine emulator and virtualizer
22c213
Name: qemu-kvm
22c213
Version: 4.2.0
22c213
Release: 19%{?dist}
22c213
# Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped
22c213
Epoch: 15
22c213
License: GPLv2 and GPLv2+ and CC-BY
22c213
Group: Development/Tools
22c213
URL: http://www.qemu.org/
22c213
ExclusiveArch: x86_64 %{power64} aarch64 s390x
22c213
22c213
22c213
Source0: http://wiki.qemu.org/download/qemu-4.2.0.tar.xz
22c213
22c213
# KSM control scripts
22c213
Source4: ksm.service
22c213
Source5: ksm.sysconfig
22c213
Source6: ksmctl.c
22c213
Source7: ksmtuned.service
22c213
Source8: ksmtuned
22c213
Source9: ksmtuned.conf
22c213
Source10: qemu-guest-agent.service
22c213
Source11: 99-qemu-guest-agent.rules
22c213
Source12: bridge.conf
22c213
Source13: qemu-ga.sysconfig
22c213
Source21: kvm-setup
22c213
Source22: kvm-setup.service
22c213
Source23: 85-kvm.preset
22c213
Source26: vhost.conf
22c213
Source27: kvm.conf
22c213
Source28: 95-kvm-memlock.conf
22c213
Source30: kvm-s390x.conf
22c213
Source31: kvm-x86.conf
22c213
Source32: qemu-pr-helper.service
22c213
Source33: qemu-pr-helper.socket
22c213
Source34: 81-kvm-rhel.rules
22c213
Source35: udev-kvm-check.c
22c213
Source36: README.tests
22c213
22c213
22c213
Patch0005: 0005-Initial-redhat-build.patch
22c213
Patch0006: 0006-Enable-disable-devices-for-RHEL.patch
22c213
Patch0007: 0007-Machine-type-related-general-changes.patch
22c213
Patch0008: 0008-Add-aarch64-machine-types.patch
22c213
Patch0009: 0009-Add-ppc64-machine-types.patch
22c213
Patch0010: 0010-Add-s390x-machine-types.patch
22c213
Patch0011: 0011-Add-x86_64-machine-types.patch
22c213
Patch0012: 0012-Enable-make-check.patch
22c213
Patch0013: 0013-vfio-cap-number-of-devices-that-can-be-assigned.patch
22c213
Patch0014: 0014-Add-support-statement-to-help-output.patch
22c213
Patch0015: 0015-globally-limit-the-maximum-number-of-CPUs.patch
22c213
Patch0016: 0016-Add-support-for-simpletrace.patch
22c213
Patch0017: 0017-Use-qemu-kvm-in-documentation-instead-of-qemu-system.patch
22c213
Patch0018: 0018-usb-xhci-Fix-PCI-capability-order.patch
22c213
Patch0019: 0019-virtio-scsi-Reject-scsi-cd-if-data-plane-enabled-RHE.patch
22c213
Patch0020: 0020-BZ1653590-Require-at-least-64kiB-pages-for-downstrea.patch
22c213
Patch0021: 0021-Using-ip_deq-after-m_free-might-read-pointers-from-a.patch
22c213
# For bz#1741345 - Remove the "cpu64-rhel6" CPU from qemu-kvm
22c213
Patch22: kvm-i386-Remove-cpu64-rhel6-CPU-model.patch
22c213
# For bz#1772774 - qemu-kvm core dump during migration+reboot ( Assertion `mem->dirty_bmap' failed )
22c213
Patch23: kvm-Reallocate-dirty_bmap-when-we-change-a-slot.patch
22c213
# For bz#1733893 - Boot a guest with "-prom-env 'auto-boot?=false'", SLOF failed to enter the boot entry after input "boot" followed by "0 > " on VNC
22c213
Patch24: kvm-spapr-Don-t-trigger-a-CAS-reboot-for-XICS-XIVE-mode-.patch
22c213
# For bz#1782678 - qemu core dump after hot-unplugging the   XXV710/XL710 PF
22c213
Patch25: kvm-vfio-pci-Don-t-remove-irqchip-notifier-if-not-regist.patch
22c213
# For bz#1789301 - virtio-blk/scsi: fix notification suppression during AioContext polling
22c213
Patch26: kvm-virtio-don-t-enable-notifications-during-polling.patch
22c213
# For bz#1790844 - USB related fixes
22c213
Patch27: kvm-usbredir-Prevent-recursion-in-usbredir_write.patch
22c213
# For bz#1790844 - USB related fixes
22c213
Patch28: kvm-xhci-recheck-slot-status.patch
22c213
# For bz#1791568 - CVE-2020-7039 qemu-kvm: QEMU: slirp: OOB buffer access while emulating tcp protocols in tcp_emu() [rhel-av-8.2.0]
22c213
Patch29: kvm-tcp_emu-Fix-oob-access.patch
22c213
# For bz#1791568 - CVE-2020-7039 qemu-kvm: QEMU: slirp: OOB buffer access while emulating tcp protocols in tcp_emu() [rhel-av-8.2.0]
22c213
Patch30: kvm-slirp-use-correct-size-while-emulating-IRC-commands.patch
22c213
# For bz#1791568 - CVE-2020-7039 qemu-kvm: QEMU: slirp: OOB buffer access while emulating tcp protocols in tcp_emu() [rhel-av-8.2.0]
22c213
Patch31: kvm-slirp-use-correct-size-while-emulating-commands.patch
22c213
# For bz#1559846 - Nested KVM: limit VMX features according to CPU models - Fast Train
22c213
Patch32: kvm-RHEL-hw-i386-disable-nested-PERF_GLOBAL_CTRL-MSR-sup.patch
22c213
# For bz#1725084 - aarch64: support dumping SVE registers
22c213
Patch33: kvm-target-arm-arch_dump-Add-SVE-notes.patch
22c213
# For bz#1779041 - netkvm: no connectivity Windows guest with q35 + hugepages + vhost + hv_synic
22c213
Patch34: kvm-vhost-Add-names-to-section-rounded-warning.patch
22c213
# For bz#1779041 - netkvm: no connectivity Windows guest with q35 + hugepages + vhost + hv_synic
22c213
Patch35: kvm-vhost-Only-align-sections-for-vhost-user.patch
22c213
# For bz#1779041 - netkvm: no connectivity Windows guest with q35 + hugepages + vhost + hv_synic
22c213
Patch36: kvm-vhost-coding-style-fix.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch37: kvm-virtio-fs-fix-MSI-X-nvectors-calculation.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch38: kvm-vhost-user-fs-remove-vhostfd-property.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch39: kvm-build-rename-CONFIG_LIBCAP-to-CONFIG_LIBCAP_NG.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch40: kvm-virtiofsd-Pull-in-upstream-headers.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch41: kvm-virtiofsd-Pull-in-kernel-s-fuse.h.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch42: kvm-virtiofsd-Add-auxiliary-.c-s.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch43: kvm-virtiofsd-Add-fuse_lowlevel.c.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch44: kvm-virtiofsd-Add-passthrough_ll.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch45: kvm-virtiofsd-Trim-down-imported-files.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch46: kvm-virtiofsd-Format-imported-files-to-qemu-style.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch47: kvm-virtiofsd-remove-mountpoint-dummy-argument.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch48: kvm-virtiofsd-remove-unused-notify-reply-support.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch49: kvm-virtiofsd-Remove-unused-enum-fuse_buf_copy_flags.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch50: kvm-virtiofsd-Fix-fuse_daemonize-ignored-return-values.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch51: kvm-virtiofsd-Fix-common-header-and-define-for-QEMU-buil.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch52: kvm-virtiofsd-Trim-out-compatibility-code.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch53: kvm-vitriofsd-passthrough_ll-fix-fallocate-ifdefs.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch54: kvm-virtiofsd-Make-fsync-work-even-if-only-inode-is-pass.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch55: kvm-virtiofsd-Add-options-for-virtio.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch56: kvm-virtiofsd-add-o-source-PATH-to-help-output.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch57: kvm-virtiofsd-Open-vhost-connection-instead-of-mounting.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch58: kvm-virtiofsd-Start-wiring-up-vhost-user.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch59: kvm-virtiofsd-Add-main-virtio-loop.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch60: kvm-virtiofsd-get-set-features-callbacks.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch61: kvm-virtiofsd-Start-queue-threads.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch62: kvm-virtiofsd-Poll-kick_fd-for-queue.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch63: kvm-virtiofsd-Start-reading-commands-from-queue.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch64: kvm-virtiofsd-Send-replies-to-messages.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch65: kvm-virtiofsd-Keep-track-of-replies.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch66: kvm-virtiofsd-Add-Makefile-wiring-for-virtiofsd-contrib.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch67: kvm-virtiofsd-Fast-path-for-virtio-read.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch68: kvm-virtiofsd-add-fd-FDNUM-fd-passing-option.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch69: kvm-virtiofsd-make-f-foreground-the-default.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch70: kvm-virtiofsd-add-vhost-user.json-file.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch71: kvm-virtiofsd-add-print-capabilities-option.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch72: kvm-virtiofs-Add-maintainers-entry.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch73: kvm-virtiofsd-passthrough_ll-create-new-files-in-caller-.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch74: kvm-virtiofsd-passthrough_ll-add-lo_map-for-ino-fh-indir.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch75: kvm-virtiofsd-passthrough_ll-add-ino_map-to-hide-lo_inod.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch76: kvm-virtiofsd-passthrough_ll-add-dirp_map-to-hide-lo_dir.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch77: kvm-virtiofsd-passthrough_ll-add-fd_map-to-hide-file-des.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch78: kvm-virtiofsd-passthrough_ll-add-fallback-for-racy-ops.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch79: kvm-virtiofsd-validate-path-components.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch80: kvm-virtiofsd-Plumb-fuse_bufvec-through-to-do_write_buf.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch81: kvm-virtiofsd-Pass-write-iov-s-all-the-way-through.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch82: kvm-virtiofsd-add-fuse_mbuf_iter-API.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch83: kvm-virtiofsd-validate-input-buffer-sizes-in-do_write_bu.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch84: kvm-virtiofsd-check-input-buffer-size-in-fuse_lowlevel.c.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch85: kvm-virtiofsd-prevent-.-escape-in-lo_do_lookup.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch86: kvm-virtiofsd-prevent-.-escape-in-lo_do_readdir.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch87: kvm-virtiofsd-use-proc-self-fd-O_PATH-file-descriptor.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch88: kvm-virtiofsd-sandbox-mount-namespace.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch89: kvm-virtiofsd-move-to-an-empty-network-namespace.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch90: kvm-virtiofsd-move-to-a-new-pid-namespace.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch91: kvm-virtiofsd-add-seccomp-whitelist.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch92: kvm-virtiofsd-Parse-flag-FUSE_WRITE_KILL_PRIV.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch93: kvm-virtiofsd-cap-ng-helpers.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch94: kvm-virtiofsd-Drop-CAP_FSETID-if-client-asked-for-it.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch95: kvm-virtiofsd-set-maximum-RLIMIT_NOFILE-limit.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch96: kvm-virtiofsd-fix-libfuse-information-leaks.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch97: kvm-virtiofsd-add-syslog-command-line-option.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch98: kvm-virtiofsd-print-log-only-when-priority-is-high-enoug.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch99: kvm-virtiofsd-Add-ID-to-the-log-with-FUSE_LOG_DEBUG-leve.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch100: kvm-virtiofsd-Add-timestamp-to-the-log-with-FUSE_LOG_DEB.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch101: kvm-virtiofsd-Handle-reinit.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch102: kvm-virtiofsd-Handle-hard-reboot.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch103: kvm-virtiofsd-Kill-threads-when-queues-are-stopped.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch104: kvm-vhost-user-Print-unexpected-slave-message-types.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch105: kvm-contrib-libvhost-user-Protect-slave-fd-with-mutex.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch106: kvm-virtiofsd-passthrough_ll-add-renameat2-support.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch107: kvm-virtiofsd-passthrough_ll-disable-readdirplus-on-cach.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch108: kvm-virtiofsd-passthrough_ll-control-readdirplus.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch109: kvm-virtiofsd-rename-unref_inode-to-unref_inode_lolocked.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch110: kvm-virtiofsd-fail-when-parent-inode-isn-t-known-in-lo_d.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch111: kvm-virtiofsd-extract-root-inode-init-into-setup_root.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch112: kvm-virtiofsd-passthrough_ll-clean-up-cache-related-opti.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch113: kvm-virtiofsd-passthrough_ll-use-hashtable.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch114: kvm-virtiofsd-Clean-up-inodes-on-destroy.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch115: kvm-virtiofsd-support-nanosecond-resolution-for-file-tim.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch116: kvm-virtiofsd-fix-error-handling-in-main.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch117: kvm-virtiofsd-cleanup-allocated-resource-in-se.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch118: kvm-virtiofsd-fix-memory-leak-on-lo.source.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch119: kvm-virtiofsd-add-helper-for-lo_data-cleanup.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch120: kvm-virtiofsd-Prevent-multiply-running-with-same-vhost_u.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch121: kvm-virtiofsd-enable-PARALLEL_DIROPS-during-INIT.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch122: kvm-virtiofsd-fix-incorrect-error-handling-in-lo_do_look.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch123: kvm-Virtiofsd-fix-memory-leak-on-fuse-queueinfo.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch124: kvm-virtiofsd-Support-remote-posix-locks.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch125: kvm-virtiofsd-use-fuse_lowlevel_is_virtio-in-fuse_sessio.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch126: kvm-virtiofsd-prevent-fv_queue_thread-vs-virtio_loop-rac.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch127: kvm-virtiofsd-make-lo_release-atomic.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch128: kvm-virtiofsd-prevent-races-with-lo_dirp_put.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch129: kvm-virtiofsd-rename-inode-refcount-to-inode-nlookup.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch130: kvm-libvhost-user-Fix-some-memtable-remap-cases.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch131: kvm-virtiofsd-passthrough_ll-fix-refcounting-on-remove-r.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch132: kvm-virtiofsd-introduce-inode-refcount-to-prevent-use-af.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch133: kvm-virtiofsd-do-not-always-set-FUSE_FLOCK_LOCKS.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch134: kvm-virtiofsd-convert-more-fprintf-and-perror-to-use-fus.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch135: kvm-virtiofsd-Reset-O_DIRECT-flag-during-file-open.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch136: kvm-virtiofsd-Fix-data-corruption-with-O_APPEND-write-in.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch137: kvm-virtiofsd-passthrough_ll-Use-cache_readdir-for-direc.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch138: kvm-virtiofsd-add-definition-of-fuse_buf_writev.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch139: kvm-virtiofsd-use-fuse_buf_writev-to-replace-fuse_buf_wr.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch140: kvm-virtiofsd-process-requests-in-a-thread-pool.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch141: kvm-virtiofsd-prevent-FUSE_INIT-FUSE_DESTROY-races.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch142: kvm-virtiofsd-fix-lo_destroy-resource-leaks.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch143: kvm-virtiofsd-add-thread-pool-size-NUM-option.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch144: kvm-virtiofsd-Convert-lo_destroy-to-take-the-lo-mutex-lo.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch145: kvm-virtiofsd-passthrough_ll-Pass-errno-to-fuse_reply_er.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch146: kvm-virtiofsd-stop-all-queue-threads-on-exit-in-virtio_l.patch
22c213
# For bz#1694164 - virtio-fs: host<->guest shared file system (qemu)
22c213
Patch147: kvm-virtiofsd-add-some-options-to-the-help-message.patch
22c213
# For bz#1776638 - Guest failed to boot up after system_reset  20 times
22c213
Patch148: kvm-ppc-Deassert-the-external-interrupt-pin-in-KVM-on-re.patch
22c213
# For bz#1776638 - Guest failed to boot up after system_reset  20 times
22c213
Patch149: kvm-xics-Don-t-deassert-outputs.patch
22c213
# For bz#1776638 - Guest failed to boot up after system_reset  20 times
22c213
Patch150: kvm-ppc-Don-t-use-CPUPPCState-irq_input_state-with-moder.patch
22c213
# For bz#1787395 - qemu-trace-stap list : TypeError: startswith first arg must be bytes or a tuple of bytes, not str
22c213
Patch151: kvm-trace-update-qemu-trace-stap-to-Python-3.patch
22c213
# For bz#1794503 - CVE-2020-1711 qemu-kvm: QEMU: block: iscsi: OOB heap access via an unexpected response of iSCSI Server [rhel-av-8.2.0]
22c213
Patch153: kvm-iscsi-Cap-block-count-from-GET-LBA-STATUS-CVE-2020-1.patch
22c213
# For bz#1787444 - Broken postcopy migration with vTPM device
22c213
Patch154: kvm-tpm-ppi-page-align-PPI-RAM.patch
22c213
# For bz#1647366 - aarch64: Add support for the kvm-no-adjvtime ARM CPU feature
22c213
Patch155: kvm-target-arm-kvm-trivial-Clean-up-header-documentation.patch
22c213
# For bz#1647366 - aarch64: Add support for the kvm-no-adjvtime ARM CPU feature
22c213
Patch156: kvm-target-arm-kvm64-kvm64-cpus-have-timer-registers.patch
22c213
# For bz#1647366 - aarch64: Add support for the kvm-no-adjvtime ARM CPU feature
22c213
Patch157: kvm-tests-arm-cpu-features-Check-feature-default-values.patch
22c213
# For bz#1647366 - aarch64: Add support for the kvm-no-adjvtime ARM CPU feature
22c213
Patch158: kvm-target-arm-kvm-Implement-virtual-time-adjustment.patch
22c213
# For bz#1647366 - aarch64: Add support for the kvm-no-adjvtime ARM CPU feature
22c213
Patch159: kvm-target-arm-cpu-Add-the-kvm-no-adjvtime-CPU-property.patch
22c213
# For bz#1529231 - [q35] VM hangs after migration with 200 vCPUs
22c213
Patch160: kvm-migration-Define-VMSTATE_INSTANCE_ID_ANY.patch
22c213
# For bz#1529231 - [q35] VM hangs after migration with 200 vCPUs
22c213
Patch161: kvm-migration-Change-SaveStateEntry.instance_id-into-uin.patch
22c213
# For bz#1529231 - [q35] VM hangs after migration with 200 vCPUs
22c213
Patch162: kvm-apic-Use-32bit-APIC-ID-for-migration-instance-ID.patch
22c213
# For bz#1779078 - RHVH 4.4: Failed to run VM on 4.3/4.4 engine (Exit message: the CPU is incompatible with host CPU: Host CPU does not provide required features: hle, rtm)
22c213
# For bz#1787291 - RHVH 4.4: Failed to run VM on 4.3/4.4 engine (Exit message: the CPU is incompatible with host CPU: Host CPU does not provide required features: hle, rtm) [rhel-8.1.0.z]
22c213
# For bz#1779078 - RHVH 4.4: Failed to run VM on 4.3/4.4 engine (Exit message: the CPU is incompatible with host CPU: Host CPU does not provide required features: hle, rtm)
22c213
# For bz#1779078 - RHVH 4.4: Failed to run VM on 4.3/4.4 engine (Exit message: the CPU is incompatible with host CPU: Host CPU does not provide required features: hle, rtm)
22c213
Patch163: kvm-i386-Resolve-CPU-models-to-v1-by-default.patch
22c213
# For bz#1781637 - qemu crashed when do mem and disk snapshot
22c213
Patch164: kvm-iotests-Support-job-complete-in-run_job.patch
22c213
# For bz#1781637 - qemu crashed when do mem and disk snapshot
22c213
Patch165: kvm-iotests-Create-VM.blockdev_create.patch
22c213
# For bz#1781637 - qemu crashed when do mem and disk snapshot
22c213
Patch166: kvm-block-Activate-recursively-even-for-already-active-n.patch
22c213
# For bz#1781637 - qemu crashed when do mem and disk snapshot
22c213
Patch167: kvm-hmp-Allow-using-qdev-ID-for-qemu-io-command.patch
22c213
# For bz#1781637 - qemu crashed when do mem and disk snapshot
22c213
Patch168: kvm-iotests-Test-external-snapshot-with-VM-state.patch
22c213
# For bz#1781637 - qemu crashed when do mem and disk snapshot
22c213
Patch169: kvm-iotests.py-Let-wait_migration-wait-even-more.patch
22c213
# For bz#1745606 - Qemu hang when do incremental live backup in transaction mode without bitmap
22c213
# For bz#1746217 - Src qemu hang when do storage vm migration during guest installation
22c213
# For bz#1773517 - Src qemu hang when do storage vm migration with dataplane enable
22c213
# For bz#1779036 - Qemu coredump when do snapshot in transaction mode with one snapshot path not exist
22c213
# For bz#1782111 - Qemu hang when do full backup on multi-disks with one job's 'job-id' missed in transaction mode(data plane enable)
22c213
# For bz#1782175 - Qemu core dump when add persistent bitmap(data plane enable)
22c213
# For bz#1783965 - Qemu core dump when do backup with sync: bitmap and no bitmap provided
22c213
Patch170: kvm-blockdev-fix-coding-style-issues-in-drive_backup_pre.patch
22c213
# For bz#1745606 - Qemu hang when do incremental live backup in transaction mode without bitmap
22c213
# For bz#1746217 - Src qemu hang when do storage vm migration during guest installation
22c213
# For bz#1773517 - Src qemu hang when do storage vm migration with dataplane enable
22c213
# For bz#1779036 - Qemu coredump when do snapshot in transaction mode with one snapshot path not exist
22c213
# For bz#1782111 - Qemu hang when do full backup on multi-disks with one job's 'job-id' missed in transaction mode(data plane enable)
22c213
# For bz#1782175 - Qemu core dump when add persistent bitmap(data plane enable)
22c213
# For bz#1783965 - Qemu core dump when do backup with sync: bitmap and no bitmap provided
22c213
Patch171: kvm-blockdev-unify-qmp_drive_backup-and-drive-backup-tra.patch
22c213
# For bz#1745606 - Qemu hang when do incremental live backup in transaction mode without bitmap
22c213
# For bz#1746217 - Src qemu hang when do storage vm migration during guest installation
22c213
# For bz#1773517 - Src qemu hang when do storage vm migration with dataplane enable
22c213
# For bz#1779036 - Qemu coredump when do snapshot in transaction mode with one snapshot path not exist
22c213
# For bz#1782111 - Qemu hang when do full backup on multi-disks with one job's 'job-id' missed in transaction mode(data plane enable)
22c213
# For bz#1782175 - Qemu core dump when add persistent bitmap(data plane enable)
22c213
# For bz#1783965 - Qemu core dump when do backup with sync: bitmap and no bitmap provided
22c213
Patch172: kvm-blockdev-unify-qmp_blockdev_backup-and-blockdev-back.patch
22c213
# For bz#1745606 - Qemu hang when do incremental live backup in transaction mode without bitmap
22c213
# For bz#1746217 - Src qemu hang when do storage vm migration during guest installation
22c213
# For bz#1773517 - Src qemu hang when do storage vm migration with dataplane enable
22c213
# For bz#1779036 - Qemu coredump when do snapshot in transaction mode with one snapshot path not exist
22c213
# For bz#1782111 - Qemu hang when do full backup on multi-disks with one job's 'job-id' missed in transaction mode(data plane enable)
22c213
# For bz#1782175 - Qemu core dump when add persistent bitmap(data plane enable)
22c213
# For bz#1783965 - Qemu core dump when do backup with sync: bitmap and no bitmap provided
22c213
Patch173: kvm-blockdev-honor-bdrv_try_set_aio_context-context-requ.patch
22c213
# For bz#1745606 - Qemu hang when do incremental live backup in transaction mode without bitmap
22c213
# For bz#1746217 - Src qemu hang when do storage vm migration during guest installation
22c213
# For bz#1773517 - Src qemu hang when do storage vm migration with dataplane enable
22c213
# For bz#1779036 - Qemu coredump when do snapshot in transaction mode with one snapshot path not exist
22c213
# For bz#1782111 - Qemu hang when do full backup on multi-disks with one job's 'job-id' missed in transaction mode(data plane enable)
22c213
# For bz#1782175 - Qemu core dump when add persistent bitmap(data plane enable)
22c213
# For bz#1783965 - Qemu core dump when do backup with sync: bitmap and no bitmap provided
22c213
Patch174: kvm-backup-top-Begin-drain-earlier.patch
22c213
# For bz#1745606 - Qemu hang when do incremental live backup in transaction mode without bitmap
22c213
# For bz#1746217 - Src qemu hang when do storage vm migration during guest installation
22c213
# For bz#1773517 - Src qemu hang when do storage vm migration with dataplane enable
22c213
# For bz#1779036 - Qemu coredump when do snapshot in transaction mode with one snapshot path not exist
22c213
# For bz#1782111 - Qemu hang when do full backup on multi-disks with one job's 'job-id' missed in transaction mode(data plane enable)
22c213
# For bz#1782175 - Qemu core dump when add persistent bitmap(data plane enable)
22c213
# For bz#1783965 - Qemu core dump when do backup with sync: bitmap and no bitmap provided
22c213
Patch175: kvm-block-backup-top-Don-t-acquire-context-while-droppin.patch
22c213
# For bz#1745606 - Qemu hang when do incremental live backup in transaction mode without bitmap
22c213
# For bz#1746217 - Src qemu hang when do storage vm migration during guest installation
22c213
# For bz#1773517 - Src qemu hang when do storage vm migration with dataplane enable
22c213
# For bz#1779036 - Qemu coredump when do snapshot in transaction mode with one snapshot path not exist
22c213
# For bz#1782111 - Qemu hang when do full backup on multi-disks with one job's 'job-id' missed in transaction mode(data plane enable)
22c213
# For bz#1782175 - Qemu core dump when add persistent bitmap(data plane enable)
22c213
# For bz#1783965 - Qemu core dump when do backup with sync: bitmap and no bitmap provided
22c213
Patch176: kvm-blockdev-Acquire-AioContext-on-dirty-bitmap-function.patch
22c213
# For bz#1745606 - Qemu hang when do incremental live backup in transaction mode without bitmap
22c213
# For bz#1746217 - Src qemu hang when do storage vm migration during guest installation
22c213
# For bz#1773517 - Src qemu hang when do storage vm migration with dataplane enable
22c213
# For bz#1779036 - Qemu coredump when do snapshot in transaction mode with one snapshot path not exist
22c213
# For bz#1782111 - Qemu hang when do full backup on multi-disks with one job's 'job-id' missed in transaction mode(data plane enable)
22c213
# For bz#1782175 - Qemu core dump when add persistent bitmap(data plane enable)
22c213
# For bz#1783965 - Qemu core dump when do backup with sync: bitmap and no bitmap provided
22c213
Patch177: kvm-blockdev-Return-bs-to-the-proper-context-on-snapshot.patch
22c213
# For bz#1745606 - Qemu hang when do incremental live backup in transaction mode without bitmap
22c213
# For bz#1746217 - Src qemu hang when do storage vm migration during guest installation
22c213
# For bz#1773517 - Src qemu hang when do storage vm migration with dataplane enable
22c213
# For bz#1779036 - Qemu coredump when do snapshot in transaction mode with one snapshot path not exist
22c213
# For bz#1782111 - Qemu hang when do full backup on multi-disks with one job's 'job-id' missed in transaction mode(data plane enable)
22c213
# For bz#1782175 - Qemu core dump when add persistent bitmap(data plane enable)
22c213
# For bz#1783965 - Qemu core dump when do backup with sync: bitmap and no bitmap provided
22c213
Patch178: kvm-iotests-Test-handling-of-AioContexts-with-some-block.patch
22c213
# For bz#1801320 - aarch64: backport query-cpu-model-expansion and adjvtime document fixes
22c213
Patch179: kvm-target-arm-monitor-query-cpu-model-expansion-crashed.patch
22c213
# For bz#1801320 - aarch64: backport query-cpu-model-expansion and adjvtime document fixes
22c213
Patch180: kvm-docs-arm-cpu-features-Make-kvm-no-adjvtime-comment-c.patch
22c213
# For bz#1796240 - Enable hw accelerated cache-count-flush by default for POWER9 DD2.3 cpus
22c213
Patch181: kvm-spapr-Enable-DD2.3-accelerated-count-cache-flush-in-.patch
22c213
# For bz#1798994 - CVE-2020-8608 qemu-kvm: QEMU: Slirp: potential OOB access due to unsafe snprintf() usages [rhel-av-8.2.0]
22c213
Patch182: kvm-util-add-slirp_fmt-helpers.patch
22c213
# For bz#1798994 - CVE-2020-8608 qemu-kvm: QEMU: Slirp: potential OOB access due to unsafe snprintf() usages [rhel-av-8.2.0]
22c213
Patch183: kvm-tcp_emu-fix-unsafe-snprintf-usages.patch
22c213
# For bz#1791590 - [Q35] No "DEVICE_DELETED" event in qmp after unplug virtio-net-pci device
22c213
Patch184: kvm-virtio-add-ability-to-delete-vq-through-a-pointer.patch
22c213
# For bz#1791590 - [Q35] No "DEVICE_DELETED" event in qmp after unplug virtio-net-pci device
22c213
Patch185: kvm-virtio-make-virtio_delete_queue-idempotent.patch
22c213
# For bz#1791590 - [Q35] No "DEVICE_DELETED" event in qmp after unplug virtio-net-pci device
22c213
Patch186: kvm-virtio-reset-region-cache-when-on-queue-deletion.patch
22c213
# For bz#1791590 - [Q35] No "DEVICE_DELETED" event in qmp after unplug virtio-net-pci device
22c213
Patch187: kvm-virtio-net-delete-also-control-queue-when-TX-RX-dele.patch
22c213
# For bz#1805334 - vhost-user/50-qemu-gpu.json is not valid JSON
22c213
Patch188: kvm-vhost-user-gpu-Drop-trailing-json-comma.patch
22c213
# For bz#1791648 - [RFE] Passthrough host CPU microcode version to KVM guest if using CPU passthrough
22c213
Patch189: kvm-target-i386-kvm-initialize-feature-MSRs-very-early.patch
22c213
# For bz#1791648 - [RFE] Passthrough host CPU microcode version to KVM guest if using CPU passthrough
22c213
Patch190: kvm-target-i386-add-a-ucode-rev-property.patch
22c213
# For bz#1791648 - [RFE] Passthrough host CPU microcode version to KVM guest if using CPU passthrough
22c213
Patch191: kvm-target-i386-kvm-initialize-microcode-revision-from-K.patch
22c213
# For bz#1791648 - [RFE] Passthrough host CPU microcode version to KVM guest if using CPU passthrough
22c213
Patch192: kvm-target-i386-fix-TCG-UCODE_REV-access.patch
22c213
# For bz#1791648 - [RFE] Passthrough host CPU microcode version to KVM guest if using CPU passthrough
22c213
Patch193: kvm-target-i386-check-for-availability-of-MSR_IA32_UCODE.patch
22c213
# For bz#1791648 - [RFE] Passthrough host CPU microcode version to KVM guest if using CPU passthrough
22c213
Patch194: kvm-target-i386-enable-monitor-and-ucode-revision-with-c.patch
22c213
# For bz#1703907 - [upstream]QEMU coredump when converting to qcow2: external data file images on block devices with copy_offloading
22c213
Patch195: kvm-qcow2-Fix-qcow2_alloc_cluster_abort-for-external-dat.patch
22c213
# For bz#1794692 - Mirror block job stops making progress
22c213
Patch196: kvm-mirror-Store-MirrorOp.co-for-debuggability.patch
22c213
# For bz#1794692 - Mirror block job stops making progress
22c213
Patch197: kvm-mirror-Don-t-let-an-operation-wait-for-itself.patch
22c213
# For bz#1782529 - Windows Update Enablement with default smbios strings in qemu
22c213
Patch198: kvm-hw-smbios-set-new-default-SMBIOS-fields-for-Windows-.patch
22c213
# For bz#1738451 - qemu on src host core dump after set multifd-channels and do migration twice (first migration execute migrate_cancel)
22c213
Patch199: kvm-migration-multifd-clean-pages-after-filling-packet.patch
22c213
# For bz#1738451 - qemu on src host core dump after set multifd-channels and do migration twice (first migration execute migrate_cancel)
22c213
Patch200: kvm-migration-Make-sure-that-we-don-t-call-write-in-case.patch
22c213
# For bz#1738451 - qemu on src host core dump after set multifd-channels and do migration twice (first migration execute migrate_cancel)
22c213
Patch201: kvm-migration-multifd-fix-nullptr-access-in-terminating-.patch
22c213
# For bz#1738451 - qemu on src host core dump after set multifd-channels and do migration twice (first migration execute migrate_cancel)
22c213
Patch202: kvm-migration-multifd-fix-destroyed-mutex-access-in-term.patch
22c213
# For bz#1738451 - qemu on src host core dump after set multifd-channels and do migration twice (first migration execute migrate_cancel)
22c213
Patch203: kvm-multifd-Make-sure-that-we-don-t-do-any-IO-after-an-e.patch
22c213
# For bz#1738451 - qemu on src host core dump after set multifd-channels and do migration twice (first migration execute migrate_cancel)
22c213
Patch204: kvm-qemu-file-Don-t-do-IO-after-shutdown.patch
22c213
# For bz#1738451 - qemu on src host core dump after set multifd-channels and do migration twice (first migration execute migrate_cancel)
22c213
Patch205: kvm-migration-Don-t-send-data-if-we-have-stopped.patch
22c213
# For bz#1738451 - qemu on src host core dump after set multifd-channels and do migration twice (first migration execute migrate_cancel)
22c213
Patch206: kvm-migration-Create-migration_is_running.patch
22c213
# For bz#1738451 - qemu on src host core dump after set multifd-channels and do migration twice (first migration execute migrate_cancel)
22c213
Patch207: kvm-migration-multifd-fix-nullptr-access-in-multifd_send.patch
22c213
# For bz#1738451 - qemu on src host core dump after set multifd-channels and do migration twice (first migration execute migrate_cancel)
22c213
Patch208: kvm-migration-Maybe-VM-is-paused-when-migration-is-cance.patch
22c213
# For bz#1797064 - virtiofsd: Fixes
22c213
Patch209: kvm-virtiofsd-Remove-fuse_req_getgroups.patch
22c213
# For bz#1797064 - virtiofsd: Fixes
22c213
Patch210: kvm-virtiofsd-fv_create_listen_socket-error-path-socket-.patch
22c213
# For bz#1797064 - virtiofsd: Fixes
22c213
Patch211: kvm-virtiofsd-load_capng-missing-unlock.patch
22c213
# For bz#1797064 - virtiofsd: Fixes
22c213
Patch212: kvm-virtiofsd-do_read-missing-NULL-check.patch
22c213
# For bz#1797064 - virtiofsd: Fixes
22c213
Patch213: kvm-tools-virtiofsd-fuse_lowlevel-Fix-fuse_out_header-er.patch
22c213
# For bz#1797064 - virtiofsd: Fixes
22c213
Patch214: kvm-virtiofsd-passthrough_ll-cleanup-getxattr-listxattr.patch
22c213
# For bz#1797064 - virtiofsd: Fixes
22c213
Patch215: kvm-virtiofsd-Fix-xattr-operations.patch
22c213
# For bz#1640894 - Fix generic file creation fallback for qemu-img nvme:// image creation support
22c213
Patch216: kvm-block-nbd-Fix-hang-in-.bdrv_close.patch
22c213
# For bz#1640894 - Fix generic file creation fallback for qemu-img nvme:// image creation support
22c213
Patch217: kvm-block-Generic-file-creation-fallback.patch
22c213
# For bz#1640894 - Fix generic file creation fallback for qemu-img nvme:// image creation support
22c213
Patch218: kvm-file-posix-Drop-hdev_co_create_opts.patch
22c213
# For bz#1640894 - Fix generic file creation fallback for qemu-img nvme:// image creation support
22c213
Patch219: kvm-iscsi-Drop-iscsi_co_create_opts.patch
22c213
# For bz#1640894 - Fix generic file creation fallback for qemu-img nvme:// image creation support
22c213
Patch220: kvm-iotests-Add-test-for-image-creation-fallback.patch
22c213
# For bz#1640894 - Fix generic file creation fallback for qemu-img nvme:// image creation support
22c213
Patch221: kvm-block-Fix-leak-in-bdrv_create_file_fallback.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch222: kvm-iotests-Use-complete_and_wait-in-155.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch223: kvm-block-Introduce-bdrv_reopen_commit_post-step.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch224: kvm-block-qcow2-Move-bitmap-reopen-into-bdrv_reopen_comm.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch225: kvm-iotests-Refactor-blockdev-reopen-test-for-iothreads.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch226: kvm-block-bdrv_reopen-with-backing-file-in-different-Aio.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch227: kvm-block-Versioned-x-blockdev-reopen-API-with-feature-f.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch228: kvm-block-Make-bdrv_get_cumulative_perm-public.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch229: kvm-block-Relax-restrictions-for-blockdev-snapshot.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch230: kvm-iotests-Fix-run_job-with-use_log-False.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch231: kvm-iotests-Test-mirror-with-temporarily-disabled-target.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch232: kvm-block-Fix-cross-AioContext-blockdev-snapshot.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch233: kvm-iotests-Add-iothread-cases-to-155.patch
22c213
# For bz#1790482 - bitmaps in backing images can't be modified
22c213
# For bz#1805143 - allow late/lazy opening of backing chain for shallow blockdev-mirror
22c213
Patch234: kvm-qapi-Add-allow-write-only-overlay-feature-for-blockd.patch
22c213
# For bz#1809380 - guest hang during reboot process after migration from RHEl7.8 to RHEL8.2.0.
22c213
Patch235: kvm-exec-rom_reset-Free-rom-data-during-inmigrate-skip.patch
22c213
# For bz#1814336 - [POWER9] QEMU migration-test triggers a kernel warning
22c213
Patch236: kvm-migration-Rate-limit-inside-host-pages.patch
22c213
# For bz#1811670 - Unneeded qemu-guest-agent dependency on pixman
22c213
Patch237: kvm-build-sys-do-not-make-qemu-ga-link-with-pixman.patch
22c213
# For bz#1816007 - qemu-img convert failed to convert with block device as target
22c213
Patch238: kvm-block-pass-BlockDriver-reference-to-the-.bdrv_co_cre.patch
22c213
# For bz#1816007 - qemu-img convert failed to convert with block device as target
22c213
Patch239: kvm-block-trickle-down-the-fallback-image-creation-funct.patch
22c213
# For bz#1794692 - Mirror block job stops making progress
22c213
Patch240: kvm-Revert-mirror-Don-t-let-an-operation-wait-for-itself.patch
22c213
# For bz#1794692 - Mirror block job stops making progress
22c213
Patch241: kvm-mirror-Wait-only-for-in-flight-operations.patch
22c213
# For bz#1817621 - Crash and deadlock with block jobs when using io-threads
22c213
Patch242: kvm-job-take-each-job-s-lock-individually-in-job_txn_app.patch
22c213
# For bz#1817621 - Crash and deadlock with block jobs when using io-threads
22c213
Patch243: kvm-replication-assert-we-own-context-before-job_cancel_.patch
22c213
# For bz#1817621 - Crash and deadlock with block jobs when using io-threads
22c213
Patch244: kvm-backup-don-t-acquire-aio_context-in-backup_clean.patch
22c213
# For bz#1817621 - Crash and deadlock with block jobs when using io-threads
22c213
Patch245: kvm-block-backend-Reorder-flush-pdiscard-function-defini.patch
22c213
# For bz#1817621 - Crash and deadlock with block jobs when using io-threads
22c213
Patch246: kvm-block-Increase-BB.in_flight-for-coroutine-and-sync-i.patch
22c213
# For bz#1817621 - Crash and deadlock with block jobs when using io-threads
22c213
Patch247: kvm-block-Fix-blk-in_flight-during-blk_wait_while_draine.patch
22c213
# For bz#1822682 - QEMU-4.2 fails to start a VM on Azure
22c213
Patch248: kvm-target-i386-do-not-set-unsupported-VMX-secondary-exe.patch
22c213
22c213
BuildRequires: wget
22c213
BuildRequires: rpm-build
22c213
BuildRequires: zlib-devel
22c213
BuildRequires: glib2-devel
22c213
BuildRequires: which
22c213
BuildRequires: gnutls-devel
22c213
BuildRequires: cyrus-sasl-devel
22c213
BuildRequires: libtool
22c213
BuildRequires: libaio-devel
22c213
BuildRequires: rsync
22c213
BuildRequires: python3-devel
22c213
BuildRequires: pciutils-devel
22c213
BuildRequires: libiscsi-devel
22c213
BuildRequires: ncurses-devel
22c213
BuildRequires: libattr-devel
22c213
BuildRequires: libusbx-devel >= 1.0.22
22c213
%if %{have_usbredir}
22c213
BuildRequires: usbredir-devel >= 0.7.1
22c213
%endif
22c213
BuildRequires: texinfo
22c213
BuildRequires: python3-sphinx
22c213
%if %{have_spice}
22c213
BuildRequires: spice-protocol >= 0.12.12
22c213
BuildRequires: spice-server-devel >= 0.12.8
22c213
BuildRequires: libcacard-devel
22c213
# For smartcard NSS support
22c213
BuildRequires: nss-devel
22c213
%endif
22c213
BuildRequires: libseccomp-devel >= 2.4.0
22c213
# For network block driver
22c213
BuildRequires: libcurl-devel
22c213
BuildRequires: libssh-devel
22c213
BuildRequires: librados-devel
22c213
BuildRequires: librbd-devel
22c213
%if %{have_gluster}
22c213
# For gluster block driver
22c213
BuildRequires: glusterfs-api-devel >= 3.6.0
22c213
BuildRequires: glusterfs-devel
22c213
%endif
22c213
# We need both because the 'stap' binary is probed for by configure
22c213
BuildRequires: systemtap
22c213
BuildRequires: systemtap-sdt-devel
22c213
# For VNC PNG support
22c213
BuildRequires: libpng-devel
22c213
# For uuid generation
22c213
BuildRequires: libuuid-devel
22c213
# For BlueZ device support
22c213
BuildRequires: bluez-libs-devel
22c213
# For Braille device support
22c213
BuildRequires: brlapi-devel
22c213
# For test suite
22c213
BuildRequires: check-devel
22c213
# For virtiofs
22c213
BuildRequires: libcap-ng-devel
22c213
# Hard requirement for version >= 1.3
22c213
BuildRequires: pixman-devel
22c213
# Documentation requirement
22c213
BuildRequires: perl-podlators
22c213
BuildRequires: texinfo
22c213
BuildRequires: python3-sphinx
22c213
# For rdma
22c213
%if 0%{?have_librdma}
22c213
BuildRequires: rdma-core-devel
22c213
%endif
22c213
%if %{have_fdt}
22c213
BuildRequires: libfdt-devel >= 1.4.3
22c213
%endif
22c213
# iasl and cpp for acpi generation (not a hard requirement as we can use
22c213
# pre-compiled files, but it's better to use this)
22c213
%ifarch %{ix86} x86_64
22c213
BuildRequires: iasl
22c213
BuildRequires: cpp
22c213
%endif
22c213
# For compressed guest memory dumps
22c213
BuildRequires: lzo-devel snappy-devel
22c213
# For NUMA memory binding
22c213
%ifnarch s390x
22c213
BuildRequires: numactl-devel
22c213
%endif
22c213
BuildRequires: libgcrypt-devel
22c213
# qemu-pr-helper multipath support (requires libudev too)
22c213
BuildRequires: device-mapper-multipath-devel
22c213
BuildRequires: systemd-devel
22c213
# used by qemu-bridge-helper and qemu-pr-helper
22c213
BuildRequires: libcap-ng-devel
22c213
22c213
BuildRequires: diffutils
22c213
%ifarch x86_64
22c213
BuildRequires: libpmem-devel
22c213
Requires: libpmem
22c213
%endif
22c213
22c213
# qemu-keymap
22c213
BuildRequires: pkgconfig(xkbcommon)
22c213
22c213
# For s390-pgste flag
22c213
%ifarch s390x
22c213
BuildRequires: binutils >= 2.27-16
22c213
%endif
22c213
22c213
%if %{have_opengl}
22c213
BuildRequires: pkgconfig(epoxy)
22c213
BuildRequires: pkgconfig(libdrm)
22c213
BuildRequires: pkgconfig(gbm)
22c213
Requires:      mesa-libGL
22c213
Requires:      mesa-libEGL
22c213
Requires:      mesa-dri-drivers
22c213
%endif
22c213
22c213
BuildRequires: perl-Test-Harness
22c213
22c213
Requires: qemu-kvm-core = %{epoch}:%{version}-%{release}
22c213
%rhev_ma_conflicts qemu-kvm
22c213
22c213
%{requires_all_modules}
22c213
22c213
%define qemudocdir %{_docdir}/%{name}
22c213
22c213
%description
22c213
qemu-kvm is an open source virtualizer that provides hardware
22c213
emulation for the KVM hypervisor. qemu-kvm acts as a virtual
22c213
machine monitor together with the KVM kernel modules, and emulates the
22c213
hardware for a full system such as a PC and its associated peripherals.
22c213
22c213
22c213
%package -n qemu-kvm-core
22c213
Summary: qemu-kvm core components
22c213
Requires: qemu-img = %{epoch}:%{version}-%{release}
22c213
%ifarch %{ix86} x86_64
22c213
Requires: seabios-bin >= 1.10.2-1
22c213
Requires: sgabios-bin
22c213
Requires: edk2-ovmf
22c213
%endif
22c213
%ifarch aarch64
22c213
Requires: edk2-aarch64
22c213
%endif
22c213
22c213
%ifnarch aarch64 s390x
22c213
Requires: seavgabios-bin >= 1.12.0-3
22c213
Requires: ipxe-roms-qemu >= 20170123-1
22c213
%endif
22c213
%ifarch %{power64}
22c213
Requires: SLOF >= %{SLOF_gittagdate}-1.git%{SLOF_gittagcommit}
22c213
%endif
22c213
Requires: %{name}-common = %{epoch}:%{version}-%{release}
22c213
Requires: libseccomp >= 2.4.0
22c213
# For compressed guest memory dumps
22c213
Requires: lzo snappy
22c213
%if %{have_gluster}
22c213
Requires: glusterfs-api >= 3.6.0
22c213
%endif
22c213
%if %{have_kvm_setup}
22c213
Requires(post): systemd-units
22c213
Requires(preun): systemd-units
22c213
    %ifarch %{power64}
22c213
Requires: powerpc-utils
22c213
    %endif
22c213
%endif
22c213
Requires: libusbx >= 1.0.19
22c213
%if %{have_usbredir}
22c213
Requires: usbredir >= 0.7.1
22c213
%endif
22c213
22c213
%rhev_ma_conflicts qemu-kvm
22c213
22c213
%description -n qemu-kvm-core
22c213
qemu-kvm is an open source virtualizer that provides hardware
22c213
emulation for the KVM hypervisor. qemu-kvm acts as a virtual
22c213
machine monitor together with the KVM kernel modules, and emulates the
22c213
hardware for a full system such as a PC and its associated peripherals.
22c213
22c213
22c213
%package -n qemu-img
22c213
Summary: QEMU command line tool for manipulating disk images
22c213
Group: Development/Tools
22c213
22c213
%rhev_ma_conflicts qemu-img
22c213
22c213
%description -n qemu-img
22c213
This package provides a command line tool for manipulating disk images.
22c213
22c213
%package -n qemu-kvm-common
22c213
Summary: QEMU common files needed by all QEMU targets
22c213
Group: Development/Tools
22c213
Requires(post): /usr/bin/getent
22c213
Requires(post): /usr/sbin/groupadd
22c213
Requires(post): /usr/sbin/useradd
22c213
Requires(post): systemd-units
22c213
Requires(preun): systemd-units
22c213
Requires(postun): systemd-units
22c213
22c213
%rhev_ma_conflicts qemu-kvm-common
22c213
22c213
%description -n qemu-kvm-common
22c213
qemu-kvm is an open source virtualizer that provides hardware emulation for
22c213
the KVM hypervisor.
22c213
22c213
This package provides documentation and auxiliary programs used with qemu-kvm.
22c213
22c213
22c213
%package -n qemu-guest-agent
22c213
Summary: QEMU guest agent
22c213
Requires(post): systemd-units
22c213
Requires(preun): systemd-units
22c213
Requires(postun): systemd-units
22c213
22c213
%description -n qemu-guest-agent
22c213
qemu-kvm is an open source virtualizer that provides hardware emulation for
22c213
the KVM hypervisor.
22c213
22c213
This package provides an agent to run inside guests, which communicates
22c213
with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
22c213
22c213
This package does not need to be installed on the host OS.
22c213
22c213
%package tests
22c213
Summary: tests for the qemu-kvm package
22c213
Requires: %{name} = %{epoch}:%{version}-%{release}
22c213
22c213
%define testsdir %{_libdir}/%{name}/tests-src
22c213
22c213
%description tests
22c213
The qemu-kvm-tests rpm contains tests that can be used to verify
22c213
the functionality of the installed qemu-kvm package
22c213
22c213
Install this package if you want access to the avocado_qemu
22c213
tests, or qemu-iotests.
22c213
22c213
%package  block-curl
22c213
Summary: QEMU CURL block driver
22c213
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
22c213
22c213
%description block-curl
22c213
This package provides the additional CURL block driver for QEMU.
22c213
22c213
Install this package if you want to access remote disks over
22c213
http, https, ftp and other transports provided by the CURL library.
22c213
22c213
22c213
%if %{have_gluster}
22c213
%package  block-gluster
22c213
Summary: QEMU Gluster block driver
22c213
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
22c213
%description block-gluster
22c213
This package provides the additional Gluster block driver for QEMU.
22c213
22c213
Install this package if you want to access remote Gluster storage.
22c213
%endif
22c213
22c213
22c213
%package  block-iscsi
22c213
Summary: QEMU iSCSI block driver
22c213
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
22c213
22c213
%description block-iscsi
22c213
This package provides the additional iSCSI block driver for QEMU.
22c213
22c213
Install this package if you want to access iSCSI volumes.
22c213
22c213
22c213
%package  block-rbd
22c213
Summary: QEMU Ceph/RBD block driver
22c213
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
22c213
22c213
%description block-rbd
22c213
This package provides the additional Ceph/RBD block driver for QEMU.
22c213
22c213
Install this package if you want to access remote Ceph volumes
22c213
using the rbd protocol.
22c213
22c213
22c213
%package  block-ssh
22c213
Summary: QEMU SSH block driver
22c213
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
22c213
22c213
%description block-ssh
22c213
This package provides the additional SSH block driver for QEMU.
22c213
22c213
Install this package if you want to access remote disks using
22c213
the Secure Shell (SSH) protocol.
22c213
22c213
22c213
%prep
22c213
%setup -n qemu-%{version}
22c213
%autopatch -p1
22c213
22c213
%build
22c213
%global buildarch %{kvm_target}-softmmu
22c213
22c213
# --build-id option is used for giving info to the debug packages.
22c213
buildldflags="VL_LDFLAGS=-Wl,--build-id"
22c213
22c213
%global block_drivers_list qcow2,raw,file,host_device,nbd,iscsi,rbd,blkdebug,luks,null-co,nvme,copy-on-read,throttle
22c213
22c213
%if 0%{have_gluster}
22c213
    %global block_drivers_list %{block_drivers_list},gluster
22c213
%endif
22c213
22c213
./configure  \
22c213
 --prefix="%{_prefix}" \
22c213
 --libdir="%{_libdir}" \
22c213
 --sysconfdir="%{_sysconfdir}" \
22c213
 --interp-prefix=%{_prefix}/qemu-%M \
22c213
 --localstatedir="%{_localstatedir}" \
22c213
 --docdir="%{qemudocdir}" \
22c213
 --libexecdir="%{_libexecdir}" \
22c213
 --extra-ldflags="-Wl,--build-id -Wl,-z,relro -Wl,-z,now" \
22c213
 --extra-cflags="%{optflags}" \
22c213
 --with-pkgversion="%{name}-%{version}-%{release}" \
22c213
 --with-confsuffix=/"%{name}" \
22c213
 --firmwarepath=%{_prefix}/share/qemu-firmware \
22c213
%if 0%{have_fdt}
22c213
  --enable-fdt \
22c213
%else
22c213
  --disable-fdt \
22c213
 %endif
22c213
%if 0%{have_gluster}
22c213
  --enable-glusterfs \
22c213
%else
22c213
  --disable-glusterfs \
22c213
%endif
22c213
  --enable-guest-agent \
22c213
%ifnarch s390x
22c213
  --enable-numa \
22c213
%else
22c213
  --disable-numa \
22c213
%endif
22c213
  --enable-rbd \
22c213
%if 0%{have_librdma}
22c213
  --enable-rdma \
22c213
%else
22c213
  --disable-rdma \
22c213
%endif
22c213
  --disable-pvrdma \
22c213
  --enable-seccomp \
22c213
%if 0%{have_spice}
22c213
  --enable-spice \
22c213
  --enable-smartcard \
22c213
%else
22c213
  --disable-spice \
22c213
  --disable-smartcard \
22c213
%endif
22c213
%if 0%{have_opengl}
22c213
  --enable-opengl \
22c213
%else
22c213
  --disable-opengl \
22c213
%endif
22c213
%if 0%{have_usbredir}
22c213
  --enable-usb-redir \
22c213
%else
22c213
  --disable-usb-redir \
22c213
%endif
22c213
  --disable-tcmalloc \
22c213
%ifarch x86_64
22c213
  --enable-libpmem \
22c213
%else
22c213
  --disable-libpmem \
22c213
%endif
22c213
  --enable-vhost-user \
22c213
%ifarch %{ix86} x86_64
22c213
  --enable-avx2 \
22c213
%else
22c213
  --disable-avx2 \
22c213
%endif
22c213
  --python=%{__python3} \
22c213
  --target-list="%{buildarch}" \
22c213
  --block-drv-rw-whitelist=%{block_drivers_list} \
22c213
  --audio-drv-list= \
22c213
  --block-drv-ro-whitelist=vmdk,vhdx,vpc,https,ssh \
22c213
  --with-coroutine=ucontext \
22c213
  --tls-priority=NORMAL \
22c213
  --disable-bluez \
22c213
  --disable-brlapi \
22c213
  --enable-cap-ng \
22c213
  --enable-coroutine-pool \
22c213
  --enable-curl \
22c213
  --disable-curses \
22c213
  --disable-debug-tcg \
22c213
  --enable-docs \
22c213
  --disable-gtk \
22c213
  --enable-kvm \
22c213
  --enable-libiscsi \
22c213
  --disable-libnfs \
22c213
  --enable-libssh \
22c213
  --enable-libusb \
22c213
  --disable-bzip2 \
22c213
  --enable-linux-aio \
22c213
  --disable-live-block-migration \
22c213
  --enable-lzo \
22c213
  --enable-pie \
22c213
  --disable-qom-cast-debug \
22c213
  --disable-sdl \
22c213
  --enable-snappy \
22c213
  --disable-sparse \
22c213
  --disable-strip \
22c213
  --enable-tpm \
22c213
  --enable-trace-backend=dtrace \
22c213
  --disable-vde \
22c213
  --disable-vhost-scsi \
22c213
  --disable-vxhs \
22c213
  --disable-virtfs \
22c213
  --disable-vnc-jpeg \
22c213
  --disable-vte \
22c213
  --enable-vnc-png \
22c213
  --enable-vnc-sasl \
22c213
  --enable-werror \
22c213
  --disable-xen \
22c213
  --disable-xfsctl \
22c213
  --enable-gnutls \
22c213
  --enable-gcrypt \
22c213
  --disable-nettle \
22c213
  --enable-attr \
22c213
  --disable-bsd-user \
22c213
  --disable-cocoa \
22c213
  --enable-debug-info \
22c213
  --disable-guest-agent-msi \
22c213
  --disable-hax \
22c213
  --disable-jemalloc \
22c213
  --disable-linux-user \
22c213
  --enable-modules \
22c213
  --disable-netmap \
22c213
  --disable-replication \
22c213
  --enable-system \
22c213
  --enable-tools \
22c213
  --disable-user \
22c213
  --enable-vhost-net \
22c213
  --enable-vhost-vsock \
22c213
  --enable-vnc \
22c213
  --enable-mpath \
22c213
  --disable-xen-pci-passthrough \
22c213
  --enable-tcg \
22c213
  --with-git=git \
22c213
  --disable-sanitizers \
22c213
  --disable-hvf \
22c213
  --disable-whpx \
22c213
  --enable-malloc-trim \
22c213
  --disable-membarrier \
22c213
  --disable-vhost-crypto \
22c213
  --disable-libxml2 \
22c213
  --enable-capstone \
22c213
  --disable-git-update \
22c213
  --disable-crypto-afalg \
22c213
  --disable-debug-mutex \
22c213
  --disable-bochs \
22c213
  --disable-cloop \
22c213
  --disable-dmg \
22c213
  --disable-qcow1 \
22c213
  --disable-vdi \
22c213
  --disable-vvfat \
22c213
  --disable-qed \
22c213
  --disable-parallels \
22c213
  --disable-sheepdog \
22c213
  --disable-auth-pam \
22c213
  --enable-iconv \
22c213
  --disable-lzfse \
22c213
  --enable-vhost-kernel \
22c213
  --disable-virglrenderer \
22c213
  --without-default-devices
22c213
22c213
echo "config-host.mak contents:"
22c213
echo "==="
22c213
cat config-host.mak
22c213
echo "==="
22c213
22c213
make V=1 %{?_smp_mflags} $buildldflags
22c213
22c213
# Setup back compat qemu-kvm binary
22c213
%{__python3} scripts/tracetool.py --backend dtrace --format stap \
22c213
  --group=all --binary %{_libexecdir}/qemu-kvm --probe-prefix qemu.kvm \
22c213
  trace-events-all > qemu-kvm.stp
22c213
22c213
%{__python3} scripts/tracetool.py --backends=dtrace --format=log-stap \
22c213
  --group=all --binary %{_libexecdir}/qemu-kvm --probe-prefix qemu.kvm \
22c213
  trace-events-all > qemu-kvm-log.stp
22c213
22c213
%{__python3} scripts/tracetool.py --backend dtrace --format simpletrace-stap \
22c213
  --group=all --binary %{_libexecdir}/qemu-kvm --probe-prefix qemu.kvm \
22c213
  trace-events-all > qemu-kvm-simpletrace.stp
22c213
22c213
cp -a %{kvm_target}-softmmu/qemu-system-%{kvm_target} qemu-kvm
22c213
22c213
gcc %{SOURCE6} $RPM_OPT_FLAGS $RPM_LD_FLAGS -o ksmctl
22c213
gcc %{SOURCE35} $RPM_OPT_FLAGS $RPM_LD_FLAGS -o udev-kvm-check
22c213
22c213
%install
22c213
%define _udevdir %(pkg-config --variable=udevdir udev)
22c213
%define _udevrulesdir %{_udevdir}/rules.d
22c213
22c213
install -D -p -m 0644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/ksm.service
22c213
install -D -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ksm
22c213
install -D -p -m 0755 ksmctl $RPM_BUILD_ROOT%{_libexecdir}/ksmctl
22c213
22c213
install -D -p -m 0644 %{SOURCE7} $RPM_BUILD_ROOT%{_unitdir}/ksmtuned.service
22c213
install -D -p -m 0755 %{SOURCE8} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
22c213
install -D -p -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
22c213
install -D -p -m 0644 %{SOURCE26} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/vhost.conf
22c213
%ifarch s390x
22c213
    install -D -p -m 0644 %{SOURCE30} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/kvm.conf
22c213
%else
22c213
%ifarch %{ix86} x86_64
22c213
    install -D -p -m 0644 %{SOURCE31} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/kvm.conf
22c213
%else
22c213
    install -D -p -m 0644 %{SOURCE27} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/kvm.conf
22c213
%endif
22c213
%endif
22c213
22c213
mkdir -p $RPM_BUILD_ROOT%{_bindir}/
22c213
mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir}/
22c213
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
22c213
22c213
# Create new directories and put them all under tests-src
22c213
mkdir -p $RPM_BUILD_ROOT%{testsdir}/python
22c213
mkdir -p $RPM_BUILD_ROOT%{testsdir}/tests
22c213
mkdir -p $RPM_BUILD_ROOT%{testsdir}/tests/acceptance
22c213
mkdir -p $RPM_BUILD_ROOT%{testsdir}/tests/qemu-iotests
22c213
mkdir -p $RPM_BUILD_ROOT%{testsdir}/scripts/qmp
22c213
22c213
install -p -m 0755 udev-kvm-check $RPM_BUILD_ROOT%{_udevdir}
22c213
install -p -m 0644 %{SOURCE34} $RPM_BUILD_ROOT%{_udevrulesdir}
22c213
22c213
install -m 0644 scripts/dump-guest-memory.py \
22c213
                $RPM_BUILD_ROOT%{_datadir}/%{name}
22c213
22c213
# Install avocado_qemu tests
22c213
cp -R tests/acceptance/* $RPM_BUILD_ROOT%{testsdir}/tests/acceptance/
22c213
22c213
# Install qemu.py and qmp/ scripts required to run avocado_qemu tests
22c213
cp -R python/qemu $RPM_BUILD_ROOT%{testsdir}/python
22c213
cp -R scripts/qmp/* $RPM_BUILD_ROOT%{testsdir}/scripts/qmp
22c213
install -p -m 0755 tests/Makefile.include $RPM_BUILD_ROOT%{testsdir}/tests/
22c213
22c213
# Install qemu-iotests
22c213
cp -R tests/qemu-iotests/* $RPM_BUILD_ROOT%{testsdir}/tests/qemu-iotests/
22c213
# Avoid ambiguous 'python' interpreter name
22c213
find $RPM_BUILD_ROOT%{testsdir}/tests/qemu-iotests/* -maxdepth 1 -type f -exec sed -i -e '1 s+/usr/bin/env python+%{__python3}+' {} \;
22c213
find $RPM_BUILD_ROOT%{testsdir}/scripts/qmp/* -maxdepth 1 -type f -exec sed -i -e '1 s+/usr/bin/env python+%{__python3}+' {} \;
22c213
find $RPM_BUILD_ROOT%{testsdir}/scripts/qmp/* -maxdepth 1 -type f -exec sed -i -e '1 s+/usr/bin/python+%{__python3}+' {} \;
22c213
22c213
install -p -m 0644 %{SOURCE36} $RPM_BUILD_ROOT%{testsdir}/README
22c213
22c213
make DESTDIR=$RPM_BUILD_ROOT \
22c213
    sharedir="%{_datadir}/%{name}" \
22c213
    datadir="%{_datadir}/%{name}" \
22c213
    install
22c213
22c213
mkdir -p $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset
22c213
22c213
# Install qemu-guest-agent service and udev rules
22c213
install -m 0644 %{_sourcedir}/qemu-guest-agent.service %{buildroot}%{_unitdir}
22c213
install -m 0644 %{_sourcedir}/qemu-ga.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
22c213
install -m 0644 %{_sourcedir}/99-qemu-guest-agent.rules %{buildroot}%{_udevrulesdir}
22c213
22c213
# - the fsfreeze hook script:
22c213
install -D --preserve-timestamps \
22c213
            scripts/qemu-guest-agent/fsfreeze-hook \
22c213
            $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ga/fsfreeze-hook
22c213
22c213
# - the directory for user scripts:
22c213
mkdir $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ga/fsfreeze-hook.d
22c213
22c213
# - and the fsfreeze script samples:
22c213
mkdir --parents $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-ga/fsfreeze-hook.d/
22c213
install --preserve-timestamps --mode=0644 \
22c213
             scripts/qemu-guest-agent/fsfreeze-hook.d/*.sample \
22c213
             $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-ga/fsfreeze-hook.d/
22c213
22c213
# - Install dedicated log directory:
22c213
mkdir -p -v $RPM_BUILD_ROOT%{_localstatedir}/log/qemu-ga/
22c213
22c213
mkdir -p $RPM_BUILD_ROOT%{_bindir}
22c213
install -c -m 0755  qemu-ga ${RPM_BUILD_ROOT}%{_bindir}/qemu-ga
22c213
22c213
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
22c213
22c213
install -m 0755 qemu-kvm $RPM_BUILD_ROOT%{_libexecdir}/
22c213
install -m 0644 qemu-kvm.stp $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/
22c213
install -m 0644 qemu-kvm-log.stp $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/
22c213
install -m 0644 qemu-kvm-simpletrace.stp $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/
22c213
22c213
rm $RPM_BUILD_ROOT/%{_datadir}/applications/qemu.desktop
22c213
rm $RPM_BUILD_ROOT%{_bindir}/qemu-system-%{kvm_target}
22c213
rm $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/qemu-system-%{kvm_target}.stp
22c213
rm $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/qemu-system-%{kvm_target}-simpletrace.stp
22c213
rm $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/qemu-system-%{kvm_target}-log.stp
22c213
rm $RPM_BUILD_ROOT%{_bindir}/elf2dmp
22c213
22c213
# Install simpletrace
22c213
install -m 0755 scripts/simpletrace.py $RPM_BUILD_ROOT%{_datadir}/%{name}/simpletrace.py
22c213
# Avoid ambiguous 'python' interpreter name
22c213
sed -i -e '1 s/python/python3/' $RPM_BUILD_ROOT%{_datadir}/%{name}/simpletrace.py
22c213
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/tracetool
22c213
install -m 0644 -t $RPM_BUILD_ROOT%{_datadir}/%{name}/tracetool scripts/tracetool/*.py
22c213
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/tracetool/backend
22c213
install -m 0644 -t $RPM_BUILD_ROOT%{_datadir}/%{name}/tracetool/backend scripts/tracetool/backend/*.py
22c213
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/tracetool/format
22c213
install -m 0644 -t $RPM_BUILD_ROOT%{_datadir}/%{name}/tracetool/format scripts/tracetool/format/*.py
22c213
22c213
mkdir -p $RPM_BUILD_ROOT%{qemudocdir}
22c213
install -p -m 0644 -t ${RPM_BUILD_ROOT}%{qemudocdir} Changelog README.rst README.systemtap COPYING COPYING.LIB LICENSE docs/interop/qmp-spec.txt
22c213
chmod -x ${RPM_BUILD_ROOT}%{_mandir}/man1/*
22c213
chmod -x ${RPM_BUILD_ROOT}%{_mandir}/man8/*
22c213
22c213
install -D -p -m 0644 qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl2/%{name}.conf
22c213
22c213
# Provided by package openbios
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-ppc
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc32
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc64
22c213
# Provided by package SLOF
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/slof.bin
22c213
22c213
# Remove unpackaged files.
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/palcode-clipper
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/petalogix*.dtb
22c213
rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bamboo.dtb
22c213
rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/ppc_rom.bin
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/s390-zipl.rom
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/u-boot.e500
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/qemu_vga.ndrv
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/skiboot.lid
22c213
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/s390-ccw.img
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/hppa-firmware.img
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/canyonlands.dtb
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/u-boot-sam460-20100605.bin
22c213
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/firmware
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/edk2-*.fd
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/edk2-licenses.txt
22c213
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/opensbi-riscv32-virt-fw_jump.bin
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/opensbi-riscv64-sifive_u-fw_jump.bin
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/opensbi-riscv64-virt-fw_jump.bin
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/qemu-nsis.bmp
22c213
22c213
rm -rf ${RPM_BUILD_ROOT}%{_libdir}/qemu-kvm/ui-spice-app.so
22c213
22c213
%ifarch s390x
22c213
    # Use the s390-ccw.img that we've just built, not the pre-built one
22c213
    install -m 0644 pc-bios/s390-ccw/s390-ccw.img $RPM_BUILD_ROOT%{_datadir}/%{name}/
22c213
%else
22c213
    rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/s390-netboot.img
22c213
%endif
22c213
22c213
%ifnarch x86_64
22c213
    rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/kvmvapic.bin
22c213
    rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/linuxboot.bin
22c213
    rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/multiboot.bin
22c213
    rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pvh.bin
22c213
%endif
22c213
22c213
# Remove sparc files
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/QEMU,tcx.bin
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/QEMU,cgthree.bin
22c213
22c213
# Remove ivshmem example programs
22c213
rm -rf ${RPM_BUILD_ROOT}%{_bindir}/ivshmem-client
22c213
rm -rf ${RPM_BUILD_ROOT}%{_bindir}/ivshmem-server
22c213
22c213
# Remove efi roms
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/efi*.rom
22c213
22c213
# Provided by package ipxe
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe*rom
22c213
# Provided by package vgabios
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/vgabios*bin
22c213
# Provided by package seabios
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bios*.bin
22c213
# Provided by package sgabios
22c213
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/sgabios.bin
22c213
22c213
# the pxe gpxe images will be symlinks to the images on
22c213
# /usr/share/ipxe, as QEMU doesn't know how to look
22c213
# for other paths, yet.
22c213
pxe_link() {
22c213
    ln -s ../ipxe.efi/$2.rom %{buildroot}%{_datadir}/%{name}/efi-$1.rom
22c213
}
22c213
22c213
%ifnarch aarch64 s390x
22c213
pxe_link e1000 8086100e
22c213
pxe_link ne2k_pci 10ec8029
22c213
pxe_link pcnet 10222000
22c213
pxe_link rtl8139 10ec8139
22c213
pxe_link virtio 1af41000
22c213
pxe_link e1000e 808610d3
22c213
%endif
22c213
22c213
rom_link() {
22c213
    ln -s $1 %{buildroot}%{_datadir}/%{name}/$2
22c213
}
22c213
22c213
%ifnarch aarch64 s390x
22c213
  rom_link ../seavgabios/vgabios-isavga.bin vgabios.bin
22c213
  rom_link ../seavgabios/vgabios-cirrus.bin vgabios-cirrus.bin
22c213
  rom_link ../seavgabios/vgabios-qxl.bin vgabios-qxl.bin
22c213
  rom_link ../seavgabios/vgabios-stdvga.bin vgabios-stdvga.bin
22c213
  rom_link ../seavgabios/vgabios-vmware.bin vgabios-vmware.bin
22c213
  rom_link ../seavgabios/vgabios-virtio.bin vgabios-virtio.bin
22c213
  rom_link ../seavgabios/vgabios-ramfb.bin vgabios-ramfb.bin
22c213
  rom_link ../seavgabios/vgabios-bochs-display.bin vgabios-bochs-display.bin
22c213
%endif
22c213
%ifarch x86_64
22c213
  rom_link ../seabios/bios.bin bios.bin
22c213
  rom_link ../seabios/bios-256k.bin bios-256k.bin
22c213
  rom_link ../sgabios/sgabios.bin sgabios.bin
22c213
%endif
22c213
22c213
%if 0%{have_kvm_setup}
22c213
    install -D -p -m 755 %{SOURCE21} $RPM_BUILD_ROOT%{_prefix}/lib/systemd/kvm-setup
22c213
    install -D -p -m 644 %{SOURCE22} $RPM_BUILD_ROOT%{_unitdir}/kvm-setup.service
22c213
    install -D -p -m 644 %{SOURCE23} $RPM_BUILD_ROOT%{_presetdir}/85-kvm.preset
22c213
%endif
22c213
22c213
%if 0%{have_memlock_limits}
22c213
    install -D -p -m 644 %{SOURCE28} $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d/95-kvm-memlock.conf
22c213
%endif
22c213
22c213
# Install rules to use the bridge helper with libvirt's virbr0
22c213
install -D -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/bridge.conf
22c213
22c213
# Install qemu-pr-helper service
22c213
install -m 0644 %{_sourcedir}/qemu-pr-helper.service %{buildroot}%{_unitdir}
22c213
install -m 0644 %{_sourcedir}/qemu-pr-helper.socket %{buildroot}%{_unitdir}
22c213
22c213
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
22c213
22c213
# We need to make the block device modules executable else
22c213
# RPM won't pick up their dependencies.
22c213
chmod +x $RPM_BUILD_ROOT%{_libdir}/qemu-kvm/block-*.so
22c213
22c213
# Remove buildinfo
22c213
rm -rf $RPM_BUILD_ROOT%{qemudocdir}/interop/.buildinfo
22c213
22c213
# Remove spec
22c213
rm -rf $RPM_BUILD_ROOT%{qemudocdir}/specs
22c213
22c213
%check
22c213
export DIFF=diff; make check V=1
22c213
22c213
%post -n qemu-kvm-core
22c213
# load kvm modules now, so we can make sure no reboot is needed.
22c213
# If there's already a kvm module installed, we don't mess with it
22c213
%udev_rules_update
22c213
sh %{_sysconfdir}/sysconfig/modules/kvm.modules &> /dev/null || :
22c213
    udevadm trigger --subsystem-match=misc --sysname-match=kvm --action=add || :
22c213
%if %{have_kvm_setup}
22c213
    systemctl daemon-reload # Make sure it sees the new presets and unitfile
22c213
    %systemd_post kvm-setup.service
22c213
    if systemctl is-enabled kvm-setup.service > /dev/null; then
22c213
        systemctl start kvm-setup.service
22c213
    fi
22c213
%endif
22c213
22c213
%if %{have_kvm_setup}
22c213
%preun -n qemu-kvm-core
22c213
%systemd_preun kvm-setup.service
22c213
%endif
22c213
22c213
%post -n qemu-kvm-common
22c213
%systemd_post ksm.service
22c213
%systemd_post ksmtuned.service
22c213
22c213
getent group kvm >/dev/null || groupadd -g 36 -r kvm
22c213
getent group qemu >/dev/null || groupadd -g 107 -r qemu
22c213
getent passwd qemu >/dev/null || \
22c213
useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
22c213
  -c "qemu user" qemu
22c213
22c213
%preun -n qemu-kvm-common
22c213
%systemd_preun ksm.service
22c213
%systemd_preun ksmtuned.service
22c213
22c213
%postun -n qemu-kvm-common
22c213
%systemd_postun_with_restart ksm.service
22c213
%systemd_postun_with_restart ksmtuned.service
22c213
22c213
%files
22c213
# Deliberately empty
22c213
22c213
22c213
%files -n qemu-kvm-common
22c213
%defattr(-,root,root)
22c213
%dir %{qemudocdir}
22c213
%doc %{qemudocdir}/Changelog
22c213
%doc %{qemudocdir}/README.rst
22c213
%doc %{qemudocdir}/qemu-doc.html
22c213
%doc %{qemudocdir}/COPYING
22c213
%doc %{qemudocdir}/COPYING.LIB
22c213
%doc %{qemudocdir}/LICENSE
22c213
%doc %{qemudocdir}/README.systemtap
22c213
%doc %{qemudocdir}/qmp-spec.txt
22c213
%doc %{qemudocdir}/qemu-doc.txt
22c213
%doc %{qemudocdir}/qemu-ga-ref.html
22c213
%doc %{qemudocdir}/qemu-ga-ref.txt
22c213
%doc %{qemudocdir}/qemu-qmp-ref.html
22c213
%doc %{qemudocdir}/qemu-qmp-ref.txt
22c213
%doc %{qemudocdir}/interop/*
22c213
%{_mandir}/man7/qemu-qmp-ref.7*
22c213
%{_mandir}/man7/qemu-cpu-models.7*
22c213
%{_bindir}/qemu-keymap
22c213
%{_bindir}/qemu-pr-helper
22c213
%{_bindir}/qemu-edid
22c213
%{_bindir}/qemu-trace-stap
22c213
%{_unitdir}/qemu-pr-helper.service
22c213
%{_unitdir}/qemu-pr-helper.socket
22c213
%{_mandir}/man7/qemu-ga-ref.7*
22c213
22c213
%dir %{_datadir}/%{name}/
22c213
%{_datadir}/%{name}/keymaps/
22c213
%{_mandir}/man1/%{name}.1*
22c213
%{_mandir}/man1/qemu-trace-stap.1*
22c213
%{_mandir}/man7/qemu-block-drivers.7*
22c213
%attr(4755, -, -) %{_libexecdir}/qemu-bridge-helper
22c213
%config(noreplace) %{_sysconfdir}/sasl2/%{name}.conf
22c213
%{_unitdir}/ksm.service
22c213
%{_libexecdir}/ksmctl
22c213
%config(noreplace) %{_sysconfdir}/sysconfig/ksm
22c213
%{_unitdir}/ksmtuned.service
22c213
%{_sbindir}/ksmtuned
22c213
%{_udevdir}/udev-kvm-check
22c213
%{_udevrulesdir}/81-kvm-rhel.rules
22c213
%ghost %{_sysconfdir}/kvm
22c213
%config(noreplace) %{_sysconfdir}/ksmtuned.conf
22c213
%dir %{_sysconfdir}/%{name}
22c213
%config(noreplace) %{_sysconfdir}/%{name}/bridge.conf
22c213
%config(noreplace) %{_sysconfdir}/modprobe.d/vhost.conf
22c213
%config(noreplace) %{_sysconfdir}/modprobe.d/kvm.conf
22c213
%{_datadir}/%{name}/simpletrace.py*
22c213
%{_datadir}/%{name}/tracetool/*.py*
22c213
%{_datadir}/%{name}/tracetool/backend/*.py*
22c213
%{_datadir}/%{name}/tracetool/format/*.py*
22c213
22c213
%files -n qemu-kvm-core
22c213
%defattr(-,root,root)
22c213
%ifarch x86_64
22c213
    %{_datadir}/%{name}/bios.bin
22c213
    %{_datadir}/%{name}/bios-256k.bin
22c213
    %{_datadir}/%{name}/linuxboot.bin
22c213
    %{_datadir}/%{name}/multiboot.bin
22c213
    %{_datadir}/%{name}/kvmvapic.bin
22c213
    %{_datadir}/%{name}/sgabios.bin
22c213
    %{_datadir}/%{name}/pvh.bin
22c213
%endif
22c213
%ifarch s390x
22c213
    %{_datadir}/%{name}/s390-ccw.img
22c213
    %{_datadir}/%{name}/s390-netboot.img
22c213
%endif
22c213
%ifnarch aarch64 s390x
22c213
    %{_datadir}/%{name}/vgabios.bin
22c213
    %{_datadir}/%{name}/vgabios-cirrus.bin
22c213
    %{_datadir}/%{name}/vgabios-qxl.bin
22c213
    %{_datadir}/%{name}/vgabios-stdvga.bin
22c213
    %{_datadir}/%{name}/vgabios-vmware.bin
22c213
    %{_datadir}/%{name}/vgabios-virtio.bin
22c213
    %{_datadir}/%{name}/vgabios-ramfb.bin
22c213
    %{_datadir}/%{name}/vgabios-bochs-display.bin
22c213
    %{_datadir}/%{name}/efi-e1000.rom
22c213
    %{_datadir}/%{name}/efi-e1000e.rom
22c213
    %{_datadir}/%{name}/efi-virtio.rom
22c213
    %{_datadir}/%{name}/efi-pcnet.rom
22c213
    %{_datadir}/%{name}/efi-rtl8139.rom
22c213
    %{_datadir}/%{name}/efi-ne2k_pci.rom
22c213
%endif
22c213
%{_datadir}/icons/*
22c213
%{_datadir}/%{name}/linuxboot_dma.bin
22c213
%{_datadir}/%{name}/dump-guest-memory.py*
22c213
%{_libexecdir}/qemu-kvm
22c213
%{_datadir}/systemtap/tapset/qemu-kvm.stp
22c213
%{_datadir}/systemtap/tapset/qemu-kvm-log.stp
22c213
%{_datadir}/%{name}/trace-events-all
22c213
%{_datadir}/systemtap/tapset/qemu-kvm-simpletrace.stp
22c213
%{_datadir}/%{name}/systemtap/script.d/qemu_kvm.stp
22c213
%{_datadir}/%{name}/systemtap/conf.d/qemu_kvm.conf
22c213
%if 0%{have_kvm_setup}
22c213
    %{_prefix}/lib/systemd/kvm-setup
22c213
    %{_unitdir}/kvm-setup.service
22c213
    %{_presetdir}/85-kvm.preset
22c213
%endif
22c213
%if 0%{have_memlock_limits}
22c213
    %{_sysconfdir}/security/limits.d/95-kvm-memlock.conf
22c213
%endif
22c213
%{_libexecdir}/virtiofsd
22c213
%{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json
22c213
22c213
%files -n qemu-img
22c213
%defattr(-,root,root)
22c213
%{_bindir}/qemu-img
22c213
%{_bindir}/qemu-io
22c213
%{_bindir}/qemu-nbd
22c213
%{_mandir}/man1/qemu-img.1*
22c213
%{_mandir}/man8/qemu-nbd.8*
22c213
22c213
%files -n qemu-guest-agent
22c213
%defattr(-,root,root,-)
22c213
%doc COPYING README.rst
22c213
%{_bindir}/qemu-ga
22c213
%{_mandir}/man8/qemu-ga.8*
22c213
%{_unitdir}/qemu-guest-agent.service
22c213
%{_udevrulesdir}/99-qemu-guest-agent.rules
22c213
%config(noreplace) %{_sysconfdir}/sysconfig/qemu-ga
22c213
%{_sysconfdir}/qemu-ga
22c213
%{_datadir}/%{name}/qemu-ga
22c213
%dir %{_localstatedir}/log/qemu-ga
22c213
22c213
%files tests
22c213
%{testsdir}
22c213
22c213
%files block-curl
22c213
%{_libdir}/qemu-kvm/block-curl.so
22c213
22c213
%if %{have_gluster}
22c213
%files block-gluster
22c213
%{_libdir}/qemu-kvm/block-gluster.so
22c213
%endif
22c213
22c213
%files block-iscsi
22c213
%{_libdir}/qemu-kvm/block-iscsi.so
22c213
22c213
%files block-rbd
22c213
%{_libdir}/qemu-kvm/block-rbd.so
22c213
22c213
%files block-ssh
22c213
%{_libdir}/qemu-kvm/block-ssh.so
22c213
22c213
22c213
%changelog
22c213
* Mon Apr 27 2020 Danilo C. L. de Paula <ddepaula@redhat.com> - 4.2.0
22c213
- Resolves: bz#1810193
22c213
  (Upgrade components in virt:rhel module:stream for RHEL-8.3 release)
22c213
22c213
* Fri Feb 21 2020 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-99.el8
22c213
- kvm-slirp-disable-tcp_emu.patch [bz#1791677]
22c213
- kvm-target-i386-kvm-initialize-feature-MSRs-very-early.patch [bz#1790308]
22c213
- Resolves: bz#1790308
22c213
  (qemu-kvm core dump when do L1 guest live migration with L2 guest running)
22c213
- Resolves: bz#1791677
22c213
  (QEMU: Slirp: disable emulation of tcp programs like ftp IRC etc. [rhel-8])
22c213
22c213
* Mon Feb 10 2020 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-98.el8
22c213
- kvm-iscsi-Avoid-potential-for-get_status-overflow.patch [bz#1794501]
22c213
- kvm-iscsi-Cap-block-count-from-GET-LBA-STATUS-CVE-2020-1.patch [bz#1794501]
22c213
- kvm-clean-up-callback-when-del-virtqueue.patch [bz#1708480]
22c213
- kvm-virtio-add-ability-to-delete-vq-through-a-pointer.patch [bz#1708480]
22c213
- kvm-virtio-reset-region-cache-when-on-queue-deletion.patch [bz#1708480]
22c213
- kvm-virtio-net-delete-also-control-queue-when-TX-RX-dele.patch [bz#1708480]
22c213
- Resolves: bz#1708480
22c213
  ([Q35] No "DEVICE_DELETED" event in qmp after unplug virtio-net-pci device)
22c213
- Resolves: bz#1794501
22c213
  (CVE-2020-1711 qemu-kvm: QEMU: block: iscsi: OOB heap access via an unexpected response of iSCSI Server [rhel-8.2.0])
22c213
22c213
* Fri Jan 24 2020 Miroslav Rezanina <mrezanin@redhat.com> - 2.12.0-97.el8
22c213
- kvm-exec-Fix-MAP_RAM-for-cached-access.patch [bz#1769613]
22c213
- kvm-virtio-Return-true-from-virtio_queue_empty-if-broken.patch [bz#1769613]
22c213
- kvm-usbredir-Prevent-recursion-in-usbredir_write.patch [bz#1752320]
22c213
- kvm-xhci-recheck-slot-status.patch [bz#1752320]
22c213
- kvm-tcp_emu-Fix-oob-access.patch [bz#1791566]
22c213
- kvm-slirp-use-correct-size-while-emulating-IRC-commands.patch [bz#1791566]
22c213
- kvm-slirp-use-correct-size-while-emulating-commands.patch [bz#1791566]
22c213
- Resolves: bz#1752320
22c213
  (vm gets stuck when migrate vm back and forth with remote-viewer trying to connect)
22c213
- Resolves: bz#1769613
22c213
  ([SEV] kexec mays hang at "[sda] Synchronizing SCSI cache " before switching to new kernel)
22c213
- Resolves: bz#1791566
22c213
  (CVE-2020-7039 virt:rhel/qemu-kvm: QEMU: slirp: OOB buffer access while emulating tcp protocols in tcp_emu() [rhel-8.2.0])
22c213
22c213
* Tue Jan 07 2020 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-96.el8
22c213
- kvm-i386-Remove-cpu64-rhel6-CPU-model.patch [bz#1741346]
22c213
- Resolves: bz#1741346
22c213
  (Remove the "cpu64-rhel6" CPU from qemu-kvm)
22c213
22c213
* Thu Jan 02 2020 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-95.el8
22c213
- kvm-virtio-gpu-block-both-2d-and-3d-rendering.patch [bz#1674324]
22c213
- kvm-x86-Intel-AVX512_BF16-feature-enabling.patch [bz#1642541]
22c213
- Resolves: bz#1642541
22c213
  ([Intel 8.2 Feature] qemu-kvm Enable BFloat16 data type support)
22c213
- Resolves: bz#1674324
22c213
  (With <graphics type="spice"><gl enable="on"/>, qemu either refuses to start completely or spice-server crashes afterwards)
22c213
22c213
* Wed Dec 18 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-94.el8
22c213
- kvm-util-mmap-alloc-Add-a-is_pmem-parameter-to-qemu_ram_.patch [bz#1539282]
22c213
- kvm-mmap-alloc-unfold-qemu_ram_mmap.patch [bz#1539282]
22c213
- kvm-mmap-alloc-fix-hugetlbfs-misaligned-length-in-ppc64.patch [bz#1539282]
22c213
- kvm-util-mmap-alloc-support-MAP_SYNC-in-qemu_ram_mmap.patch [bz#1539282]
22c213
- kvm-x86-cpu-Enable-MOVDIRI-cpu-feature.patch [bz#1634827]
22c213
- kvm-x86-cpu-Enable-MOVDIR64B-cpu-feature.patch [bz#1634827]
22c213
- kvm-add-call-to-qemu_add_opts-for-overcommit-option.patch [bz#1634827]
22c213
- kvm-support-overcommit-cpu-pm-on-off.patch [bz#1634827]
22c213
- kvm-i386-cpu-make-cpu-host-support-monitor-mwait.patch []
22c213
- kvm-x86-cpu-Add-support-for-UMONITOR-UMWAIT-TPAUSE.patch [bz#1634827]
22c213
- kvm-target-i386-Add-support-for-save-load-IA32_UMWAIT_CO.patch [bz#1634827]
22c213
- Resolves: bz#1539282
22c213
  ([Intel 8.2 Feature][Crystal Ridge] Support MAP_SYNC  - qemu-kvm)
22c213
- Resolves: bz#1634827
22c213
  ([Intel 8.2 Feat] KVM Enable SnowRidge Accelerator Interface Architecture (AIA) - qemu)
22c213
22c213
* Wed Dec 11 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-93.el8
22c213
- kvm-target-i386-Export-TAA_NO-bit-to-guests.patch [bz#1771971]
22c213
- kvm-target-i386-add-support-for-MSR_IA32_TSX_CTRL.patch [bz#1771971]
22c213
- Resolves: bz#1771971
22c213
  (CVE-2019-11135 virt:rhel/qemu-kvm: hw: TSX Transaction Asynchronous Abort (TAA) [rhel-8.2.0])
22c213
22c213
* Mon Dec 02 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-92.el8
22c213
- kvm-x86-cpu-use-FeatureWordArray-to-define-filtered_feat.patch [bz#1689270]
22c213
- kvm-i386-Add-x-force-features-option-for-testing.patch [bz#1689270]
22c213
- kvm-target-i386-define-a-new-MSR-based-feature-word-FEAT.patch [bz#1689270]
22c213
- kvm-i386-display-known-CPUID-features-linewrapped-in-alp.patch [bz#1689270]
22c213
- kvm-target-i386-kvm-kvm_get_supported_msrs-cleanup.patch [bz#1689270]
22c213
- kvm-target-i386-handle-filtered_features-in-a-new-functi.patch [bz#1689270]
22c213
- kvm-target-i386-introduce-generic-feature-dependency-mec.patch [bz#1689270]
22c213
- kvm-target-i386-expand-feature-words-to-64-bits.patch [bz#1689270]
22c213
- kvm-target-i386-add-VMX-definitions.patch [bz#1689270]
22c213
- kvm-vmxcap-correct-the-name-of-the-variables.patch [bz#1689270]
22c213
- kvm-target-i386-add-VMX-features.patch [bz#1689270]
22c213
- kvm-target-i386-work-around-KVM_GET_MSRS-bug-for-seconda.patch [bz#1689270]
22c213
- kvm-target-i386-adjust-for-missing-VMX-features.patch [bz#1689270]
22c213
- kvm-target-i386-add-VMX-features-to-named-CPU-models.patch [bz#1689270]
22c213
- kvm-target-i386-add-VMX-features-to-named-CPU-models-RHE.patch [bz#1689270]
22c213
- kvm-vhost-fix-vhost_log-size-overflow-during-migration.patch [bz#1776808]
22c213
- Resolves: bz#1689270
22c213
  (Nested KVM: limit VMX features according to CPU models - Slow Train)
22c213
- Resolves: bz#1776808
22c213
  (qemu-kvm crashes when Windows VM is migrated with multiqueue)
22c213
22c213
* Wed Nov 27 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-91.el8
22c213
- kvm-qapi-fill-in-CpuInfoFast.arch-in-query-cpus-fast.patch [bz#1730969]
22c213
- kvm-curl-Keep-pointer-to-the-CURLState-in-CURLSocket.patch [bz#1744602]
22c213
- kvm-curl-Keep-socket-until-the-end-of-curl_sock_cb.patch [bz#1744602]
22c213
- kvm-curl-Check-completion-in-curl_multi_do.patch [bz#1744602]
22c213
- kvm-curl-Pass-CURLSocket-to-curl_multi_do.patch [bz#1744602]
22c213
- kvm-curl-Report-only-ready-sockets.patch [bz#1744602]
22c213
- kvm-curl-Handle-success-in-multi_check_completion.patch [bz#1744602]
22c213
- kvm-curl-Check-curl_multi_add_handle-s-return-code.patch [bz#1744602]
22c213
- Resolves: bz#1730969
22c213
  ([ppc] qmp: The 'arch' value returned by the command 'query-cpus-fast' does not match)
22c213
- Resolves: bz#1744602
22c213
  (qemu-img gets stuck when stream-converting from http)
22c213
22c213
* Tue Nov 12 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-90.el8
22c213
- kvm-i386-Don-t-print-warning-if-phys-bits-was-set-automa.patch [bz#1719127]
22c213
- kvm-Disable-CONFIG_I2C-and-CONFIG_IOH3420.patch [bz#1693140]
22c213
- kvm-usb-drop-unnecessary-usb_device_post_load-checks.patch [bz#1757482]
22c213
- kvm-pc-bios-s390-ccw-define-loadparm-length.patch [bz#1664376]
22c213
- kvm-pc-bios-s390-ccw-net-Use-diag308-to-reset-machine-be.patch [bz#1664376]
22c213
- kvm-s390-bios-decouple-cio-setup-from-virtio.patch [bz#1664376]
22c213
- kvm-s390-bios-decouple-common-boot-logic-from-virtio.patch [bz#1664376]
22c213
- kvm-s390-bios-Clean-up-cio.h.patch [bz#1664376]
22c213
- kvm-s390-bios-Decouple-channel-i-o-logic-from-virtio.patch [bz#1664376]
22c213
- kvm-s390-bios-Map-low-core-memory.patch [bz#1664376]
22c213
- kvm-s390-bios-ptr2u32-and-u32toptr.patch [bz#1664376]
22c213
- kvm-s390-bios-Support-for-running-format-0-1-channel-pro.patch [bz#1664376]
22c213
- kvm-s390-bios-cio-error-handling.patch [bz#1664376]
22c213
- kvm-s390-bios-Extend-find_dev-for-non-virtio-devices.patch [bz#1664376]
22c213
- kvm-s390-bios-Factor-finding-boot-device-out-of-virtio-c.patch [bz#1664376]
22c213
- kvm-s390-bios-Refactor-virtio-to-run-channel-programs-vi.patch [bz#1664376]
22c213
- kvm-s390-bios-Use-control-unit-type-to-determine-boot-me.patch [bz#1664376]
22c213
- kvm-s390-bios-Add-channel-command-codes-structs-needed-f.patch [bz#1664376]
22c213
- kvm-s390-bios-Support-booting-from-real-dasd-device.patch [bz#1664376]
22c213
- kvm-s390-bios-Use-control-unit-type-to-find-bootable-dev.patch [bz#1664376]
22c213
- kvm-s390x-vfio-ap-Implement-hot-plug-unplug-of-vfio-ap-d.patch [bz#1660906]
22c213
- Resolves: bz#1660906
22c213
  ([IBM 8.2 FEAT] KVM s390x: Crypto Passthrough Hotplug - qemu part)
22c213
- Resolves: bz#1664376
22c213
  ([IBM 8.2 FEAT] CCW IPL Support (kvm) - qemu part)
22c213
- Resolves: bz#1693140
22c213
  (aarch64: qemu: remove smbus_eeprom and i2c from config)
22c213
- Resolves: bz#1719127
22c213
  ([Intel 8.2 Bug] warning shown when boot VM with “–cpu host” or “–cpu other mode” on ICX platform (physical))
22c213
- Resolves: bz#1757482
22c213
  (Fail to migrate a rhel6.10-mt7.6 guest with dimm device)
22c213
22c213
* Mon Oct 14 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-89.el8
22c213
- kvm-accel-use-g_strsplit-for-parsing-accelerator-names.patch [bz#1749022]
22c213
- kvm-opts-don-t-silently-truncate-long-parameter-keys.patch [bz#1749022]
22c213
- kvm-opts-don-t-silently-truncate-long-option-values.patch [bz#1749022]
22c213
- kvm-i386-fix-regression-parsing-multiboot-initrd-modules.patch [bz#1749022]
22c213
- kvm-i386-only-parse-the-initrd_filename-once-for-multibo.patch [bz#1749022]
22c213
- kvm-opts-remove-redundant-check-for-NULL-parameter.patch [bz#1749022]
22c213
- kvm-Using-ip_deq-after-m_free-might-read-pointers-from-a.patch [bz#1749724]
22c213
- kvm-virtio-blk-Cancel-the-pending-BH-when-the-dataplane-.patch [bz#1708459]
22c213
- kvm-s390x-cpumodel-Rework-CPU-feature-definition.patch [bz#1660909]
22c213
- kvm-s390x-cpumodel-Set-up-CPU-model-for-AQIC-interceptio.patch [bz#1660909]
22c213
- kvm-ccid-Fix-dwProtocols-advertisement-of-T-0.patch [bz#1746361]
22c213
- kvm-s390-PCI-fix-IOMMU-region-init.patch [bz#1754643]
22c213
- kvm-fw_cfg-Improve-error-message-when-can-t-load-splash-.patch [bz#1607367]
22c213
- kvm-fw_cfg-Fix-boot-bootsplash-error-checking.patch [bz#1607367]
22c213
- kvm-fw_cfg-Fix-boot-reboot-timeout-error-checking.patch [bz#1607367]
22c213
- kvm-hw-nvram-fw_cfg-Store-reboot-timeout-as-little-endia.patch [bz#1607367]
22c213
- kvm-intel_iommu-Correct-caching-mode-error-message.patch [bz#1738440]
22c213
- kvm-intel_iommu-Sanity-check-vfio-pci-config-on-machine-.patch [bz#1738440]
22c213
- kvm-qdev-machine-Introduce-hotplug_allowed-hook.patch [bz#1738440]
22c213
- kvm-pc-q35-Disallow-vfio-pci-hotplug-without-VT-d-cachin.patch [bz#1738440]
22c213
- kvm-intel_iommu-Remove-the-caching-mode-check-during-fla.patch [bz#1738440]
22c213
- kvm-pseries-do-not-allow-memory-less-cpu-less-NUMA-node.patch [bz#1651474]
22c213
- Resolves: bz#1607367
22c213
  (After boot failed, guest should not reboot when set reboot-timeout < -1)
22c213
- Resolves: bz#1651474
22c213
  (RHEL8.0 Beta - [4.18.0-32.el8.ppc64le] Guest VM crashes during vcpu hotplug with specific numa configuration (kvm))
22c213
- Resolves: bz#1660909
22c213
  ([IBM 8.2 FEAT] KVM s390x: Crypto Passthrough Interrupt Support - qemu part)
22c213
- Resolves: bz#1708459
22c213
  (qemu-kvm core dumped when repeat "system_reset" multiple times during guest boot)
22c213
- Resolves: bz#1738440
22c213
  (For intel-iommu, qemu shows conflict behaviors between booting a guest with vfio and hot plugging vfio device)
22c213
- Resolves: bz#1746361
22c213
  (ccid: Fix incorrect dwProtocol advertisement of T=0)
22c213
- Resolves: bz#1749022
22c213
  (Please backport 950c4e6c94b1 ("opts: don't silently truncate long option values", 2018-05-09))
22c213
- Resolves: bz#1749724
22c213
  (CVE-2019-15890 qemu-kvm: QEMU: Slirp: use-after-free during packet reassembly [rhel-8])
22c213
- Resolves: bz#1754643
22c213
  (RHEL8.1 Snapshot3 - Passthrough PCI card goes into error state if used in domain (kvm))
22c213
22c213
* Fri Sep 13 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-88.el8
22c213
- Revert fix for bz#1749724 - this got delayed to 8.2
22c213
  (CVE-2019-15890 qemu-kvm: QEMU: Slirp: use-after-free during packet reassembly [rhel-8])
22c213
22c213
* Tue Sep 03 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-86.el8
22c213
- kvm-Do-not-run-iotests-on-brew-build.patch [bz#1742819]
22c213
- kvm-target-ppc-spapr-Add-workaround-option-to-SPAPR_CAP_.patch [bz#1744415]
22c213
- kvm-target-ppc-spapr-Add-SPAPR_CAP_CCF_ASSIST.patch [bz#1744415]
22c213
- kvm-i386-x86_cpu_list_feature_names-function.patch [bz#1747185]
22c213
- kvm-i386-unavailable-features-QOM-property.patch [bz#1747185]
22c213
- kvm-file-posix-Handle-undetectable-alignment.patch [bz#1738839]
22c213
- kvm-iotests-Tweak-221-sizing-for-different-hole-granular.patch [bz#1738839]
22c213
- kvm-iotests-Filter-175-s-allocation-information.patch [bz#1738839]
22c213
- kvm-block-posix-Always-allocate-the-first-block.patch [bz#1738839]
22c213
- kvm-iotests-Test-allocate_first_block-with-O_DIRECT.patch [bz#1738839]
22c213
- Resolves: bz#1738839
22c213
  (I/O error when virtio-blk disk is backed by a raw image on 4k disk)
22c213
- Resolves: bz#1742819
22c213
  (Remove iotests from qemu-kvm builds [RHEL 8.1.0])
22c213
- Resolves: bz#1744415
22c213
  (Backport support for count cache flush Spectre v2 mitigation [slow train])
22c213
- Resolves: bz#1747185
22c213
  ("filtered-features" QOM property is not available)
22c213
22c213
* Mon Aug 19 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-85.el8
22c213
- kvm-console-Avoid-segfault-in-screendump.patch [bz#1684383]
22c213
- kvm-usb-hub-clear-suspend-on-detach.patch [bz#1619661]
22c213
- kvm-qemu-img-fix-regression-copying-secrets-during-conve.patch [bz#1727821]
22c213
- Resolves: bz#1619661
22c213
  (the attach hub on one hub still exits in device manager after unhotplug)
22c213
- Resolves: bz#1684383
22c213
  (qemu crashed when take screenshot for 2nd head of virtio video device if the display not opened by virt-viewer)
22c213
- Resolves: bz#1727821
22c213
  (Failed to convert a source image to the qcow2 image encrypted by luks)
22c213
22c213
* Fri Aug 16 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-84.el8
22c213
- kvm-vnc-detect-and-optimize-pageflips.patch [bz#1727033]
22c213
- kvm-block-backend-Make-blk_inc-dec_in_flight-public.patch [bz#1716349]
22c213
- kvm-virtio-blk-Increase-in_flight-for-request-restart-BH.patch [bz#1716349]
22c213
- kvm-block-Fix-AioContext-switch-for-drained-node.patch [bz#1716349]
22c213
- kvm-test-bdrv-drain-AioContext-switch-in-drained-section.patch [bz#1716349]
22c213
- kvm-block-Use-normal-drain-for-bdrv_set_aio_context.patch [bz#1716349]
22c213
- kvm-block-Fix-AioContext-switch-for-bs-drv-NULL.patch [bz#1716347]
22c213
- kvm-iothread-fix-crash-with-invalid-properties.patch [bz#1687541]
22c213
- kvm-iothread-replace-init_done_cond-with-a-semaphore.patch [bz#1687541]
22c213
- kvm-RHEL-disable-hostmem-memfd.patch [bz#1740797]
22c213
- Resolves: bz#1687541
22c213
  (qemu aborted when start guest with a big iothreads)
22c213
- Resolves: bz#1716347
22c213
  (Qemu Core dump when quit vm that's in status "paused(io-error)" with data plane enabled)
22c213
- Resolves: bz#1716349
22c213
  (qemu with iothreads enabled crashes on resume after enospc pause for disk extension)
22c213
- Resolves: bz#1727033
22c213
  (vnc server should detect page-flips and avoid sending fullscreen updates then.)
22c213
- Resolves: bz#1740797
22c213
  (Disable memfd in QEMU)
22c213
22c213
* Thu Aug 01 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-83.el8
22c213
- kvm-hw-block-pflash_cfi01-Add-missing-DeviceReset-handle.patch [bz#1707192]
22c213
- kvm-block-file-posix-Unaligned-O_DIRECT-block-status.patch [bz#1678979]
22c213
- kvm-iotests-Test-unaligned-raw-images-with-O_DIRECT.patch [bz#1678979]
22c213
- kvm-nbd-client-Lower-min_block-for-block-status-unaligne.patch [bz#1678979]
22c213
- kvm-nbd-client-Reject-inaccessible-tail-of-inconsistent-.patch [bz#1678979]
22c213
- kvm-nbd-client-Support-qemu-img-convert-from-unaligned-s.patch [bz#1678979]
22c213
- kvm-block-Add-bdrv_get_request_alignment.patch [bz#1678979]
22c213
- kvm-nbd-server-Advertise-actual-minimum-block-size.patch [bz#1678979]
22c213
- kvm-slirp-check-sscanf-result-when-emulating-ident.patch [bz#1727642]
22c213
- kvm-slirp-fix-big-little-endian-conversion-in-ident-prot.patch [bz#1727642]
22c213
- kvm-slirp-ensure-there-is-enough-space-in-mbuf-to-null-t.patch [bz#1727642]
22c213
- kvm-slirp-don-t-manipulate-so_rcv-in-tcp_emu.patch [bz#1727642]
22c213
- kvm-tap-set-vhostfd-passed-from-qemu-cli-to-non-blocking.patch [bz#1732642]
22c213
- kvm-Fix-heap-overflow-in-ip_reass-on-big-packet-input.patch [bz#1734751]
22c213
- Resolves: bz#1678979
22c213
  (qemu-img convert abort when converting image with unaligned size (qemu-img: block/io.c:2134: bdrv_co_block_status: Assertion `*pnum && (((*pnum) % (align)) == 0) && align > offset - aligned_offset\' failed))
22c213
- Resolves: bz#1707192
22c213
  (implement missing reset handler for cfi.pflash01 - slow train)
22c213
- Resolves: bz#1727642
22c213
  (CVE-2019-6778 qemu-kvm: QEMU: slirp: heap buffer overflow in tcp_emu())
22c213
- Resolves: bz#1732642
22c213
  (enable the virtio-net frontend to work with the vhost-net backend in SEV guests)
22c213
- Resolves: bz#1734751
22c213
  (CVE-2019-14378 qemu-kvm: QEMU: slirp: heap buffer overflow during packet reassembly [rhel-8.1.0])
22c213
22c213
* Tue Jul 23 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-82.el8
22c213
- kvm-i386-Add-new-model-of-Cascadelake-Server.patch [bz#1629906]
22c213
- kvm-i386-Update-stepping-of-Cascadelake-Server.patch [bz#1629906]
22c213
- kvm-target-i386-Disable-MPX-support-on-named-CPU-models.patch [bz#1629906]
22c213
- kvm-i386-remove-the-INTEL_PT-CPUID-bit-from-named-CPU-NEW.patch [bz#1629906]
22c213
- kvm-i386-Disable-OSPKE-on-CPU-model-definitions-NEW.patch [bz#1629906]
22c213
- kvm-block-ssh-Convert-from-DPRINTF-macro-to-trace-events.patch [bz#1513367]
22c213
- kvm-block-ssh-Do-not-report-read-write-flush-errors-to-t.patch [bz#1513367]
22c213
- kvm-qemu-iotests-Fix-paths-for-NFS.patch [bz#1513367]
22c213
- kvm-qemu-iotests-Filter-NFS-paths.patch [bz#1513367]
22c213
- kvm-iotests-Filter-SSH-paths.patch [bz#1513367]
22c213
- kvm-block-ssh-Implement-.bdrv_refresh_filename.patch [bz#1513367]
22c213
- kvm-iotests-Use-Python-byte-strings-where-appropriate.patch [bz#1513367]
22c213
- kvm-iotests-Unify-log-outputs-between-Python-2-and-3.patch [bz#1513367]
22c213
- kvm-ssh-switch-from-libssh2-to-libssh.patch [bz#1513367]
22c213
- kvm-redhat-switch-from-libssh2-to-libssh.patch [bz#1513367]
22c213
- kvm-block-gluster-limit-the-transfer-size-to-512-MiB.patch [bz#1728657]
22c213
- kvm-s390-cpumodel-fix-description-for-the-new-vector-fac.patch [bz#1729975]
22c213
- kvm-s390x-cpumodel-remove-esort-from-the-default-model.patch [bz#1729975]
22c213
- kvm-s390x-cpumodel-also-change-name-of-vxbeh.patch [bz#1729975]
22c213
- kvm-s390x-cpumodel-change-internal-name-of-vxpdeh-to-mat.patch [bz#1729975]
22c213
- kvm-target-i386-sev-Do-not-unpin-ram-device-memory-regio.patch [bz#1728958]
22c213
- kvm-i386-Save-EFER-for-32-bit-targets.patch [bz#1689269]
22c213
- kvm-target-i386-rename-HF_SVMI_MASK-to-HF_GUEST_MASK.patch [bz#1689269]
22c213
- kvm-target-i386-kvm-add-VMX-migration-blocker.patch [bz#1689269]
22c213
- kvm-target-i386-kvm-just-return-after-migrate_add_blocke.patch [bz#1689269]
22c213
- kvm-target-i386-kvm-Delete-VMX-migration-blocker-on-vCPU.patch [bz#1689269]
22c213
- kvm-Introduce-kvm_arch_destroy_vcpu.patch [bz#1689269]
22c213
- kvm-target-i386-kvm-Use-symbolic-constant-for-DB-BP-exce.patch [bz#1689269]
22c213
- kvm-target-i386-kvm-Re-inject-DB-to-guest-with-updated-D.patch [bz#1689269]
22c213
- kvm-target-i386-kvm-Block-migration-for-vCPUs-exposed-wi.patch [bz#1689269]
22c213
- kvm-target-i386-kvm-do-not-initialize-padding-fields.patch [bz#1689269]
22c213
- kvm-linux-headers-synchronize-generic-and-x86-KVM-header.patch [bz#1689269]
22c213
- kvm-vmstate-Add-support-for-kernel-integer-types.patch [bz#1689269]
22c213
- kvm-target-i386-kvm-Add-support-for-save-and-restore-nes.patch [bz#1689269]
22c213
- kvm-target-i386-kvm-Add-support-for-KVM_CAP_EXCEPTION_PA.patch [bz#1689269]
22c213
- kvm-target-i386-kvm-Add-nested-migration-blocker-only-wh.patch [bz#1689269]
22c213
- kvm-target-i386-kvm-Demand-nested-migration-kernel-capab.patch [bz#1689269]
22c213
- kvm-target-i386-skip-KVM_GET-SET_NESTED_STATE-if-VMX-dis.patch [bz#1689269]
22c213
- kvm-i386-kvm-Do-not-sync-nested-state-during-runtime.patch [bz#1689269]
22c213
- Resolves: bz#1513367
22c213
  (qemu with libssh)
22c213
- Resolves: bz#1629906
22c213
  ([Intel 8.1 Feat] qemu-kvm Introduce Cascade Lake (CLX) cpu model)
22c213
- Resolves: bz#1689269
22c213
  (Nested KVM: support for migration of nested hypervisors - Slow Train)
22c213
- Resolves: bz#1728657
22c213
  ('qemu-io write' to a raw image over libgfapi fails)
22c213
- Resolves: bz#1728958
22c213
  (Hot unplug vfio-pci NIC devices from sev guest will cause qemu-kvm: sev_ram_block_removed: failed to unregister region)
22c213
- Resolves: bz#1729975
22c213
  (RHEL 8.1 Pre-Beta - Fix for hardware CPU Model)
22c213
22c213
* Mon Jul 08 2019 Miroslav Rezanina <mrezanin@redhat.com> - 2.12.0-81.el8
22c213
- kvm-target-i386-add-MDS-NO-feature.patch [bz#1714792]
22c213
- kvm-virtio-gpu-pass-down-VirtIOGPU-pointer-to-a-bunch-of.patch [bz#1531543]
22c213
- kvm-virtio-gpu-add-iommu-support.patch [bz#1531543]
22c213
- kvm-virtio-gpu-fix-unmap-in-error-path.patch [bz#1531543]
22c213
- Resolves: bz#1531543
22c213
  ([RFE] add iommu support to virtio-gpu)
22c213
- Resolves: bz#1714792
22c213
  ([Intel 8.1 FEAT] MDS_NO exposure to guest)
22c213
22c213
* Tue Jul 02 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-80.el8
22c213
- kvm-qxl-check-release-info-object.patch [bz#1712705]
22c213
- kvm-iotests-Make-182-do-without-device_add.patch [bz#1707598]
22c213
- Resolves: bz#1707598
22c213
  (qemu-iotest 182 fails without device hotplugging support)
22c213
- Resolves: bz#1712705
22c213
  (CVE-2019-12155 qemu-kvm: QEMU: qxl: null pointer dereference while releasing spice resources [rhel-8])
22c213
22c213
* Fri Jun 28 2019 Danilo de Paula <ddepaula@redhat.com> - 15:2.12.0-79
22c213
- Rebuild all virt packages to fix RHEL's upgrade path
22c213
- Resolves: rhbz#1695587
22c213
  (Ensure modular RPM upgrade path)
22c213
22c213
* Thu Jun 20 2019 Miroslav Rezanina <mrezanin@redhat.com> - 2.12.0-78.el8
22c213
- kvm-gluster-Handle-changed-glfs_ftruncate-signature.patch [bz#1721983]
22c213
- kvm-gluster-the-glfs_io_cbk-callback-function-pointer-ad.patch [bz#1721983]
22c213
- Resolves: bz#1721983
22c213
  (qemu-kvm can't be build with new gluster version (6.0.6))
22c213
22c213
* Thu Jun 13 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-77.el8
22c213
- kvm-i386-Make-arch_capabilities-migratable.patch [bz#1709970]
22c213
- kvm-spapr-Fix-ibm-max-associativity-domains-property-num.patch [bz#1710662]
22c213
- kvm-linux-headers-Update-for-NVLink2-passthrough-downstr.patch [bz#1710662]
22c213
- kvm-pci-Move-NVIDIA-vendor-id-to-the-rest-of-ids.patch [bz#1710662]
22c213
- kvm-vfio-quirks-Add-common-quirk-alloc-helper.patch [bz#1710662]
22c213
- kvm-vfio-Make-vfio_get_region_info_cap-public.patch [bz#1710662]
22c213
- kvm-spapr-Support-NVIDIA-V100-GPU-with-NVLink2.patch [bz#1710662]
22c213
- kvm-qemu-kvm.spec-bump-libseccomp-2.4.0.patch [bz#1719578]
22c213
- Resolves: bz#1709970
22c213
  ([Intel 8.1 Bug] [KVM][CLX] CPUID_7_0_EDX_ARCH_CAPABILITIES is not enabled in VM - qemu-kvm)
22c213
- Resolves: bz#1710662
22c213
  ([IBM 8.1 FEAT] POWER9 - Virt: qemu: NVLink2 passthru to guest - Nvidia Volta (GPU) (kvm))
22c213
- Resolves: bz#1719578
22c213
  (VM failed to start with error "failed to install seccomp syscall filter in the kernel")
22c213
22c213
* Tue Jun 11 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-76.el8
22c213
- kvm-Introduce-new-no_guest_reset-parameter-for-usb-host-.patch [bz#1713677]
22c213
- kvm-usb-call-reset-handler-before-updating-state.patch [bz#1713677]
22c213
- kvm-usb-host-skip-reset-for-untouched-devices.patch [bz#1713677]
22c213
- kvm-usb-host-avoid-libusb_set_configuration-calls.patch [bz#1713677]
22c213
- kvm-virtio-scsi-Move-BlockBackend-back-to-the-main-AioCo.patch [bz#1673396 bz#1673401]
22c213
- kvm-scsi-disk-Acquire-the-AioContext-in-scsi_-_realize.patch [bz#1673396 bz#1673401]
22c213
- kvm-virtio-scsi-Forbid-devices-with-different-iothreads-.patch [bz#1673396 bz#1673401]
22c213
- kvm-Disable-VXHS-support.patch [bz#1714933]
22c213
- Resolves: bz#1673396
22c213
  (qemu-kvm core dumped after hotplug the deleted disk with iothread parameter)
22c213
- Resolves: bz#1673401
22c213
  (Qemu core dump when start guest with two disks using same drive)
22c213
- Resolves: bz#1713677
22c213
  (Detached device when trying to upgrade USB device firmware when in doing USB Passthrough via QEMU)
22c213
- Resolves: bz#1714933
22c213
  (Disable VXHS  in qemu-kvm)
22c213
22c213
* Fri May 24 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-75.el8
22c213
- kvm-s390x-cpumodel-enum-type-S390FeatGroup-now-gets-gene.patch [bz#1660912]
22c213
- kvm-linux-headers-update-against-Linux-5.2-rc1.patch [bz#1660912]
22c213
- kvm-s390x-cpumodel-ignore-csske-for-expansion.patch [bz#1660912]
22c213
- kvm-s390x-cpumodel-Miscellaneous-Instruction-Extensions-.patch [bz#1660912]
22c213
- kvm-s390x-cpumodel-msa9-facility.patch [bz#1660912]
22c213
- kvm-s390x-cpumodel-vector-enhancements.patch [bz#1660912]
22c213
- kvm-s390x-cpumodel-enhanced-sort-facility.patch [bz#1660912]
22c213
- kvm-s390x-cpumodel-add-Deflate-conversion-facility.patch [bz#1660912]
22c213
- kvm-s390x-cpumodel-add-gen15-defintions.patch [bz#1660912]
22c213
- kvm-s390x-cpumodel-wire-up-8561-and-8562-as-gen15-machin.patch [bz#1660912]
22c213
- kvm-spice-set-device-address-and-device-display-ID-in-QX.patch [bz#1712946]
22c213
- kvm-hw-pci-Add-missing-include.patch [bz#1712946]
22c213
- Resolves: bz#1660912
22c213
  ([IBM 8.1 FEAT] KVM s390x: Add hardware CPU Model - qemu part)
22c213
- Resolves: bz#1712946
22c213
  (qemu-kvm build is broken due to spice_qxl_set_max_monitors being deprecated)
22c213
22c213
* Mon May 20 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-74.el8
22c213
- kvm-x86-cpu-Enable-CLDEMOTE-Demote-Cache-Line-cpu-featur.patch [bz#1696436]
22c213
- kvm-memory-Fix-the-memory-region-type-assignment-order.patch [bz#1667249]
22c213
- kvm-target-i386-sev-Do-not-pin-the-ram-device-memory-reg.patch [bz#1667249]
22c213
- kvm-block-Fix-invalidate_cache-error-path-for-parent-act.patch [bz#1673010]
22c213
- kvm-target-i386-define-md-clear-bit.patch [bz#1703302 bz#1703308]
22c213
- Resolves: bz#1667249
22c213
  (Fail to launch AMD SEV VM with assigned PCI device)
22c213
- Resolves: bz#1673010
22c213
  (Local VM and migrated VM on the same host can run with same RAW file as visual disk source while without shareable configured or lock manager enabled)
22c213
- Resolves: bz#1696436
22c213
  ([Intel 8.0 Feat] KVM Enabling SnowRidge new NIs - qemu-kvm)
22c213
- Resolves: bz#1703302
22c213
  (CVE-2018-12130 virt:rhel/qemu-kvm: hardware: Microarchitectural Fill Buffer Data Sampling (MFBDS) [rhel-8])
22c213
- Resolves: bz#1703308
22c213
  (CVE-2018-12127 virt:rhel/qemu-kvm: hardware: Micro-architectural Load Port Data Sampling - Information Leak (MLPDS) [rhel-8])
22c213
22c213
* Tue May 14 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.12.0-73.el8
22c213
- kvm-i386-remove-the-INTEL_PT-CPUID-bit-from-named-CPU-mo.patch [bz#1561761]
22c213
- kvm-i386-Disable-OSPKE-on-CPU-model-definitions.patch [bz#1561761]
22c213
- Resolves: bz#1561761