495e37
%global libfdt_version 1.6.0
495e37
%global libseccomp_version 2.4.0
495e37
%global libusbx_version 1.0.23
495e37
%global meson_version 0.58.2
495e37
%global usbredir_version 0.7.1
495e37
%global ipxe_version 20200823-5.git4bd064de
495e37
495e37
# LTO does not work with the coroutines of QEMU on non-x86 architectures
495e37
# (see BZ 1952483 and 1950192 for more information)
495e37
%ifnarch x86_64
495e37
    %global _lto_cflags %%{nil}
495e37
%endif
495e37
495e37
%global have_usbredir 1
495e37
%global have_opengl   1
495e37
%global have_fdt      1
495e37
%global have_modules_load 0
495e37
%global have_memlock_limits 0
495e37
# Some of these are not relevant for RHEL, but defining them
495e37
# makes it easier to sync the dependency list with Fedora
495e37
%global have_block_rbd 1
495e37
%global enable_werror 1
495e37
%global have_clang 1
495e37
%global have_safe_stack 0
495e37
495e37
495e37
%if %{have_clang}
495e37
%global toolchain clang
495e37
%ifarch x86_64
495e37
%global have_safe_stack 1
495e37
%endif
495e37
%else
495e37
%global toolchain gcc
495e37
%global cc_suffix .gcc
495e37
%endif
495e37
495e37
495e37
495e37
# Release candidate version tracking
495e37
# global rcver rc4
495e37
%if 0%{?rcver:1}
495e37
%global rcrel .%{rcver}
495e37
%global rcstr -%{rcver}
495e37
%endif
495e37
495e37
%global have_pmem 1
495e37
%ifnarch x86_64
495e37
    %global have_pmem 0
495e37
%endif
495e37
495e37
%global have_numactl 1
495e37
%ifarch s390x
495e37
    %global have_numactl 0
495e37
%endif
495e37
495e37
%global tools_only 0
495e37
%ifarch %{power64}
495e37
    %global tools_only 1
495e37
%endif
495e37
495e37
%ifnarch %{ix86} x86_64
495e37
    %global have_usbredir 0
495e37
%endif
495e37
495e37
%ifnarch s390x
495e37
    %global have_librdma 1
495e37
%else
495e37
    %global have_librdma 0
495e37
%endif
495e37
495e37
%global modprobe_kvm_conf %{_sourcedir}/kvm.conf
495e37
%ifarch s390x
495e37
    %global modprobe_kvm_conf %{_sourcedir}/kvm-s390x.conf
495e37
%endif
495e37
%ifarch %{ix86} x86_64
495e37
    %global modprobe_kvm_conf %{_sourcedir}/kvm-x86.conf
495e37
%endif
495e37
495e37
%ifarch %{ix86}
495e37
    %global kvm_target    i386
495e37
%endif
495e37
%ifarch x86_64
495e37
    %global kvm_target    x86_64
495e37
%else
495e37
    %global have_opengl  0
495e37
%endif
495e37
%ifarch %{power64}
495e37
    %global kvm_target    ppc64
495e37
    %global have_memlock_limits 1
495e37
%endif
495e37
%ifarch s390x
495e37
    %global kvm_target    s390x
495e37
    %global have_modules_load 1
495e37
%endif
495e37
%ifarch ppc
495e37
    %global kvm_target    ppc
495e37
%endif
495e37
%ifarch aarch64
495e37
    %global kvm_target    aarch64
495e37
%endif
495e37
495e37
%global target_list %{kvm_target}-softmmu
495e37
%global block_drivers_rw_list qcow2,raw,file,host_device,nbd,iscsi,rbd,blkdebug,luks,null-co,nvme,copy-on-read,throttle,compress
495e37
%global block_drivers_ro_list vdi,vmdk,vhdx,vpc,https,ssh
495e37
%define qemudocdir %{_docdir}/%{name}
495e37
%global firmwaredirs "%{_datadir}/qemu-firmware:%{_datadir}/ipxe/qemu:%{_datadir}/seavgabios:%{_datadir}/seabios"
495e37
495e37
#Versions of various parts:
495e37
495e37
%global requires_all_modules                                     \
495e37
%if %{have_opengl}                                               \
495e37
Requires: %{name}-ui-opengl = %{epoch}:%{version}-%{release}     \
495e37
Requires: %{name}-ui-egl-headless = %{epoch}:%{version}-%{release}     \
495e37
%endif                                                           \
495e37
Requires: %{name}-device-display-virtio-gpu = %{epoch}:%{version}-%{release}   \
495e37
Requires: %{name}-device-display-virtio-gpu-gl = %{epoch}:%{version}-%{release}   \
495e37
%ifarch s390x                                                    \
495e37
Requires: %{name}-device-display-virtio-gpu-ccw = %{epoch}:%{version}-%{release}   \
495e37
%else                                                            \
495e37
Requires: %{name}-device-display-virtio-gpu-pci = %{epoch}:%{version}-%{release}   \
495e37
Requires: %{name}-device-display-virtio-gpu-pci-gl = %{epoch}:%{version}-%{release}   \
495e37
%endif                                                           \
495e37
%ifarch x86_64 %{power64}                                        \
495e37
Requires: %{name}-device-display-virtio-vga = %{epoch}:%{version}-%{release}   \
495e37
Requires: %{name}-device-display-virtio-vga-gl = %{epoch}:%{version}-%{release}   \
495e37
%endif                                                           \
495e37
Requires: %{name}-device-usb-host = %{epoch}:%{version}-%{release}   \
495e37
%if %{have_usbredir}                                             \
495e37
Requires: %{name}-device-usb-redirect = %{epoch}:%{version}-%{release}   \
495e37
%endif                                                           \
495e37
Requires: %{name}-block-rbd = %{epoch}:%{version}-%{release}     \
495e37
Requires: %{name}-audio-pa = %{epoch}:%{version}-%{release}
495e37
495e37
# Since SPICE is removed from RHEL-9, the following Obsoletes:
495e37
# removes {name}-ui-spice for upgrades from RHEL-8
495e37
# The "<= {version}" assumes RHEL-9 version >= RHEL-8 version (in
495e37
# other words RHEL-9 rebases are done together/before RHEL-8 ones)
495e37
495e37
# In addition, we obsolete some block drivers as we are no longer support
495e37
# them in default qemu-kvm installation.
495e37
495e37
# Note: ssh driver wasn't removed yet just disabled due to late handling
495e37
495e37
%global obsoletes_some_modules                                  \
495e37
Obsoletes: %{name}-ui-spice <= %{epoch}:%{version}                       \
495e37
Obsoletes: %{name}-block-gluster <= %{epoch}:%{version}                  \
495e37
Obsoletes: %{name}-block-iscsi <= %{epoch}:%{version}                    \
495e37
Obsoletes: %{name}-block-ssh <= %{epoch}:%{version}                    \
495e37
495e37
495e37
Summary: QEMU is a machine emulator and virtualizer
495e37
Name: qemu-kvm
495e37
Version: 6.2.0
f79135
Release: 11%{?rcrel}%{?dist}%{?cc_suffix}.3
495e37
# Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped
495e37
# Epoch 15 used for RHEL 8
495e37
# Epoch 17 used for RHEL 9 (due to release versioning offset in RHEL 8.5)
495e37
Epoch: 17
495e37
License: GPLv2 and GPLv2+ and CC-BY
495e37
URL: http://www.qemu.org/
495e37
ExclusiveArch: x86_64 %{power64} aarch64 s390x
495e37
495e37
495e37
Source0: http://wiki.qemu.org/download/qemu-%{version}%{?rcstr}.tar.xz
495e37
495e37
Source10: qemu-guest-agent.service
495e37
Source11: 99-qemu-guest-agent.rules
495e37
Source12: bridge.conf
495e37
Source13: qemu-ga.sysconfig
495e37
Source21: modules-load.conf
495e37
Source26: vhost.conf
495e37
Source27: kvm.conf
495e37
Source28: 95-kvm-memlock.conf
495e37
Source30: kvm-s390x.conf
495e37
Source31: kvm-x86.conf
495e37
Source36: README.tests
495e37
Source37: tests_data_acpi_pc_SSDT.dimmpxm
495e37
Source38: tests_data_acpi_q35_FACP.slic
495e37
Source39: tests_data_acpi_q35_SSDT.dimmpxm
495e37
Source40: tests_data_acpi_virt_SSDT.memhp
495e37
495e37
495e37
Patch0001: 0001-ui-clipboard-Don-t-use-g_autoptr-just-to-free-a-vari.patch
495e37
Patch0005: 0005-Initial-redhat-build.patch
495e37
Patch0006: 0006-Enable-disable-devices-for-RHEL.patch
495e37
Patch0007: 0007-Machine-type-related-general-changes.patch
495e37
Patch0008: 0008-Add-aarch64-machine-types.patch
495e37
Patch0009: 0009-Add-ppc64-machine-types.patch
495e37
Patch0010: 0010-Add-s390x-machine-types.patch
495e37
Patch0011: 0011-Add-x86_64-machine-types.patch
495e37
Patch0012: 0012-Enable-make-check.patch
495e37
Patch0013: 0013-vfio-cap-number-of-devices-that-can-be-assigned.patch
495e37
Patch0014: 0014-Add-support-statement-to-help-output.patch
495e37
Patch0015: 0015-globally-limit-the-maximum-number-of-CPUs.patch
495e37
Patch0016: 0016-Use-qemu-kvm-in-documentation-instead-of-qemu-system.patch
495e37
Patch0017: 0017-virtio-scsi-Reject-scsi-cd-if-data-plane-enabled-RHE.patch
495e37
Patch0018: 0018-BZ1653590-Require-at-least-64kiB-pages-for-downstrea.patch
495e37
Patch0019: 0019-qcow2-Deprecation-warning-when-opening-v2-images-rw.patch
495e37
Patch0020: 0020-Fix-virtio-net-pci-vectors-compat.patch
495e37
Patch0021: 0021-x86-rhel-machine-types-Add-pc_rhel_8_5_compat.patch
495e37
Patch0022: 0022-x86-rhel-machine-types-Wire-compat-into-q35-and-i440.patch
495e37
Patch0023: 0023-redhat-virt-rhel8.5.0-Update-machine-type-compatibil.patch
495e37
Patch0024: 0024-redhat-Add-s390x-machine-type-compatibility-handling.patch
495e37
Patch0025: 0025-compat-Update-hw_compat_rhel_8_5-with-6.2.0-RC2-chan.patch
495e37
# For bz#2008060 - Fix CPU Model for new IBM Z Hardware - qemu part
495e37
Patch26: kvm-redhat-Add-rhel8.6.0-and-rhel9.0.0-machine-types-for.patch
495e37
# For bz#2014484 - [RHEL9] Enable virtio-mem as tech-preview on x86-64 - QEMU
495e37
Patch27: kvm-redhat-Enable-virtio-mem-as-tech-preview-on-x86-64.patch
495e37
# For bz#2031044 - Add rhel-9.0.0 machine types for RHEL 9.0 [aarch64]
495e37
Patch28: kvm-hw-arm-virt-Register-iommu-as-a-class-property.patch
495e37
# For bz#2031044 - Add rhel-9.0.0 machine types for RHEL 9.0 [aarch64]
495e37
Patch29: kvm-hw-arm-virt-Register-its-as-a-class-property.patch
495e37
# For bz#2031044 - Add rhel-9.0.0 machine types for RHEL 9.0 [aarch64]
495e37
Patch30: kvm-hw-arm-virt-Rename-default_bus_bypass_iommu.patch
495e37
# For bz#2031044 - Add rhel-9.0.0 machine types for RHEL 9.0 [aarch64]
495e37
Patch31: kvm-hw-arm-virt-Expose-the-RAS-option.patch
495e37
# For bz#2031044 - Add rhel-9.0.0 machine types for RHEL 9.0 [aarch64]
495e37
Patch32: kvm-hw-arm-virt-Add-9.0-machine-type-and-remove-8.5-one.patch
495e37
# For bz#2031044 - Add rhel-9.0.0 machine types for RHEL 9.0 [aarch64]
495e37
Patch33: kvm-hw-arm-virt-Check-no_tcg_its-and-minor-style-changes.patch
495e37
# For bz#2024544 - Fio workers hangs when running fio with 32 jobs iodepth 32 and QEMU's userspace NVMe driver
495e37
Patch34: kvm-block-nvme-fix-infinite-loop-in-nvme_free_req_queue_.patch
495e37
# For bz#2028623 - [9.0] machine types: 6.2: Fix prefer_sockets
495e37
Patch35: kvm-rhel-machine-types-x86-set-prefer_sockets.patch
495e37
# For bz#1945666 - 9.0: x86 machine types
495e37
Patch36: kvm-x86-Add-q35-RHEL-8.6.0-machine-type.patch
495e37
# For bz#1945666 - 9.0: x86 machine types
495e37
Patch37: kvm-x86-Add-q35-RHEL-9.0.0-machine-type.patch
495e37
# For bz#2036669 - DEVICE_DELETED event is not delivered for device frontend if -device is configured via JSON
495e37
Patch38: kvm-softmmu-fix-device-deletion-events-with-device-JSON-.patch
495e37
# For bz#1962088 - [QSD] wrong help message for the fuse
495e37
Patch39: kvm-qemu-storage-daemon-Add-vhost-user-blk-help.patch
495e37
# For bz#1962088 - [QSD] wrong help message for the fuse
495e37
Patch40: kvm-qemu-storage-daemon-Fix-typo-in-vhost-user-blk-help.patch
495e37
# For bz#2046201 - CVE-2022-0358 qemu-kvm: QEMU: virtiofsd: potential privilege escalation via CVE-2018-13405 [rhel-9.0]
495e37
Patch41: kvm-virtiofsd-Drop-membership-of-all-supplementary-group.patch
495e37
# For bz#2034791 - Booting from Local Snapshot Core Dumped Whose Backing File Is Based on RBD
495e37
Patch42: kvm-block-rbd-fix-handling-of-holes-in-.bdrv_co_block_st.patch
495e37
# For bz#2034791 - Booting from Local Snapshot Core Dumped Whose Backing File Is Based on RBD
495e37
Patch43: kvm-block-rbd-workaround-for-ceph-issue-53784.patch
495e37
# For bz#2033708 - [Intel 9.0 Feat] qemu-kvm: SGX 1.5 (SGX1 + Flexible Launch Control) support
495e37
Patch44: kvm-numa-Enable-numa-for-SGX-EPC-sections.patch
495e37
# For bz#2033708 - [Intel 9.0 Feat] qemu-kvm: SGX 1.5 (SGX1 + Flexible Launch Control) support
495e37
Patch45: kvm-numa-Support-SGX-numa-in-the-monitor-and-Libvirt-int.patch
495e37
# For bz#2033708 - [Intel 9.0 Feat] qemu-kvm: SGX 1.5 (SGX1 + Flexible Launch Control) support
495e37
Patch46: kvm-doc-Add-the-SGX-numa-description.patch
495e37
# For bz#2033708 - [Intel 9.0 Feat] qemu-kvm: SGX 1.5 (SGX1 + Flexible Launch Control) support
495e37
Patch47: kvm-Enable-SGX-RH-Only.patch
495e37
# For bz#2033708 - [Intel 9.0 Feat] qemu-kvm: SGX 1.5 (SGX1 + Flexible Launch Control) support
495e37
Patch48: kvm-qapi-Cleanup-SGX-related-comments-and-restore-sectio.patch
495e37
# For bz#2041461 - Inconsistent block status reply in qemu-nbd
495e37
Patch49: kvm-block-io-Update-BSC-only-if-want_zero-is-true.patch
495e37
# For bz#2041461 - Inconsistent block status reply in qemu-nbd
495e37
Patch50: kvm-iotests-block-status-cache-New-test.patch
495e37
# For bz#1882917 - the target image size is incorrect when converting a badly fragmented file
495e37
Patch51: kvm-iotests-Test-qemu-img-convert-of-zeroed-data-cluster.patch
495e37
# For bz#1882917 - the target image size is incorrect when converting a badly fragmented file
495e37
Patch52: kvm-qemu-img-make-is_allocated_sectors-more-efficient.patch
495e37
# For bz#2040123 - Qemu core dumped when do block-stream to a snapshot node on non-enough space storage
495e37
Patch53: kvm-block-backend-prevent-dangling-BDS-pointers-across-a.patch
495e37
# For bz#2040123 - Qemu core dumped when do block-stream to a snapshot node on non-enough space storage
495e37
Patch54: kvm-iotests-stream-error-on-reset-New-test.patch
495e37
# For bz#2042481 - [aarch64] Launch guest with "default-bus-bypass-iommu=off,iommu=smmuv3" and "iommu_platform=on", guest hangs after system_reset
495e37
Patch55: kvm-hw-arm-smmuv3-Fix-device-reset.patch
495e37
# For bz#2046659 - qemu crash after execute blockdev-reopen with  iothread
495e37
Patch56: kvm-block-Lock-AioContext-for-drain_end-in-blockdev-reop.patch
495e37
# For bz#2046659 - qemu crash after execute blockdev-reopen with  iothread
495e37
Patch57: kvm-iotests-Test-blockdev-reopen-with-iothreads-and-thro.patch
495e37
# For bz#2033626 - Qemu core dump when start guest with nbd node or do block jobs to nbd node
495e37
Patch58: kvm-block-nbd-Delete-reconnect-delay-timer-when-done.patch
495e37
# For bz#2033626 - Qemu core dump when start guest with nbd node or do block jobs to nbd node
495e37
Patch59: kvm-block-nbd-Assert-there-are-no-timers-when-closed.patch
495e37
# For bz#2033626 - Qemu core dump when start guest with nbd node or do block jobs to nbd node
495e37
Patch60: kvm-iotests.py-Add-QemuStorageDaemon-class.patch
495e37
# For bz#2033626 - Qemu core dump when start guest with nbd node or do block jobs to nbd node
495e37
Patch61: kvm-iotests-281-Test-lingering-timers.patch
495e37
# For bz#2033626 - Qemu core dump when start guest with nbd node or do block jobs to nbd node
495e37
Patch62: kvm-block-nbd-Move-s-ioc-on-AioContext-change.patch
495e37
# For bz#2033626 - Qemu core dump when start guest with nbd node or do block jobs to nbd node
495e37
Patch63: kvm-iotests-281-Let-NBD-connection-yield-in-iothread.patch
495e37
# For bz#2042820 - qemu crash when try to copy and paste contents from client to VM
495e37
Patch64: kvm-Revert-ui-clipboard-Don-t-use-g_autoptr-just-to-free.patch
495e37
# For bz#2042820 - qemu crash when try to copy and paste contents from client to VM
495e37
Patch65: kvm-ui-avoid-compiler-warnings-from-unused-clipboard-inf.patch
495e37
# For bz#2042820 - qemu crash when try to copy and paste contents from client to VM
495e37
Patch66: kvm-ui-clipboard-fix-use-after-free-regression.patch
495e37
# For bz#2042820 - qemu crash when try to copy and paste contents from client to VM
495e37
Patch67: kvm-ui-vnc.c-Fixed-a-deadlock-bug.patch
495e37
# For bz#2044818 - Qemu Core Dumped when migrate -> migrate_cancel -> migrate again during guest is paused
495e37
Patch68: kvm-memory-Fix-incorrect-calls-of-log_global_start-stop.patch
495e37
# For bz#2044818 - Qemu Core Dumped when migrate -> migrate_cancel -> migrate again during guest is paused
495e37
Patch69: kvm-memory-Fix-qemu-crash-on-starting-dirty-log-twice-wi.patch
495e37
# For bz#2052050 - Mark all RHEL-8 and earlier machine types as deprecated
495e37
Patch70: kvm-RHEL-mark-old-machine-types-as-deprecated.patch
495e37
# For bz#2059786 - [virtual network][rhel9][vDPA] qemu crash after hot unplug vdpa device
495e37
Patch71: kvm-hw-virtio-vdpa-Fix-leak-of-host-notifier-memory-regi.patch
495e37
# For bz#2053584 - watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [cat:2843]
495e37
Patch72: kvm-pci-expose-TYPE_XIO3130_DOWNSTREAM-name.patch
495e37
# For bz#2053584 - watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [cat:2843]
495e37
Patch73: kvm-acpi-pcihp-pcie-set-power-on-cap-on-parent-slot.patch
495e37
# For bz#2038051 - Win11 (q35+edk2) guest broke after install wsl2 through 'wsl --install -d Ubuntu-20.04'
495e37
Patch74: kvm-vmxcap-Add-5-level-EPT-bit.patch
495e37
# For bz#2038051 - Win11 (q35+edk2) guest broke after install wsl2 through 'wsl --install -d Ubuntu-20.04'
495e37
Patch75: kvm-i386-Add-Icelake-Server-v6-CPU-model-with-5-level-EP.patch
495e37
# For bz#2043531 - Guest can not start with SLIC acpi table
495e37
Patch76: kvm-acpi-fix-QEMU-crash-when-started-with-SLIC-table.patch
495e37
# For bz#2043531 - Guest can not start with SLIC acpi table
495e37
Patch77: kvm-tests-acpi-whitelist-expected-blobs-before-changing-.patch
495e37
# For bz#2043531 - Guest can not start with SLIC acpi table
495e37
Patch78: kvm-tests-acpi-add-SLIC-table-test.patch
495e37
# For bz#2043531 - Guest can not start with SLIC acpi table
495e37
Patch79: kvm-tests-acpi-SLIC-update-expected-blobs.patch
495e37
# For bz#2043531 - Guest can not start with SLIC acpi table
495e37
Patch80: kvm-tests-acpi-manually-pad-OEM_ID-OEM_TABLE_ID-for-test.patch
495e37
# For bz#2043531 - Guest can not start with SLIC acpi table
495e37
Patch81: kvm-tests-acpi-whitelist-nvdimm-s-SSDT-and-FACP.slic-exp.patch
495e37
# For bz#2043531 - Guest can not start with SLIC acpi table
495e37
Patch82: kvm-acpi-fix-OEM-ID-OEM-Table-ID-padding.patch
495e37
# For bz#2043531 - Guest can not start with SLIC acpi table
495e37
Patch83: kvm-tests-acpi-update-expected-blobs.patch
495e37
# For bz#2043531 - Guest can not start with SLIC acpi table
495e37
Patch84: kvm-tests-acpi-test-short-OEM_ID-OEM_TABLE_ID-values-in-.patch
f79135
# For bz#2071102 - RHEL 9.0 guest with vsock device migration failed from RHEL 9.0 > RHEL 8.6 [rhel-9.0.0.z]
f79135
Patch85: kvm-RHEL-disable-seqpacket-for-vhost-vsock-device-in-rhe.patch
f79135
# For bz#2075635 - CVE-2022-26353 qemu-kvm: QEMU: virtio-net: map leaking on error during receive [rhel-9] [rhel-9.0.0.z]
f79135
Patch86: kvm-virtio-net-fix-map-leaking-on-error-during-receive.patch
f79135
# For bz#2075640 - CVE-2022-26354 qemu-kvm: QEMU: vhost-vsock: missing virtqueue detach on error can lead to memory leak [rhel-9] [rhel-9.0.0.z]
f79135
Patch87: kvm-vhost-vsock-detach-the-virqueue-element-in-case-of-e.patch
495e37
495e37
# Source-git patches
495e37
495e37
%if %{have_clang}
495e37
BuildRequires: clang
495e37
%if %{have_safe_stack}
495e37
BuildRequires: compiler-rt
495e37
%endif
495e37
%else
495e37
BuildRequires: gcc
495e37
%endif
495e37
BuildRequires: meson >= %{meson_version}
495e37
BuildRequires: ninja-build
495e37
BuildRequires: zlib-devel
495e37
BuildRequires: glib2-devel
495e37
BuildRequires: gnutls-devel
495e37
BuildRequires: cyrus-sasl-devel
495e37
BuildRequires: libaio-devel
495e37
BuildRequires: python3-devel
495e37
BuildRequires: libattr-devel
495e37
BuildRequires: libusbx-devel >= %{libusbx_version}
495e37
%if %{have_usbredir}
495e37
BuildRequires: usbredir-devel >= %{usbredir_version}
495e37
%endif
495e37
BuildRequires: texinfo
495e37
BuildRequires: python3-sphinx
495e37
BuildRequires: python3-sphinx_rtd_theme
495e37
BuildRequires: libseccomp-devel >= %{libseccomp_version}
495e37
# For network block driver
495e37
BuildRequires: libcurl-devel
495e37
BuildRequires: libssh-devel
495e37
%if %{have_block_rbd}
495e37
BuildRequires: librbd-devel
495e37
%endif
495e37
# We need both because the 'stap' binary is probed for by configure
495e37
BuildRequires: systemtap
495e37
BuildRequires: systemtap-sdt-devel
495e37
# For VNC PNG support
495e37
BuildRequires: libpng-devel
495e37
# For virtiofs
495e37
BuildRequires: libcap-ng-devel
495e37
# Hard requirement for version >= 1.3
495e37
BuildRequires: pixman-devel
495e37
# For rdma
495e37
%if %{have_librdma}
495e37
BuildRequires: rdma-core-devel
495e37
%endif
495e37
%if %{have_fdt}
495e37
BuildRequires: libfdt-devel >= %{libfdt_version}
495e37
%endif
495e37
# For compressed guest memory dumps
495e37
BuildRequires: lzo-devel snappy-devel
495e37
# For NUMA memory binding
495e37
%if %{have_numactl}
495e37
BuildRequires: numactl-devel
495e37
%endif
495e37
# qemu-pr-helper multipath support (requires libudev too)
495e37
BuildRequires: device-mapper-multipath-devel
495e37
BuildRequires: systemd-devel
495e37
%if %{have_pmem}
495e37
BuildRequires: libpmem-devel
495e37
%endif
495e37
# qemu-keymap
495e37
BuildRequires: pkgconfig(xkbcommon)
495e37
%if %{have_opengl}
495e37
BuildRequires: pkgconfig(epoxy)
495e37
BuildRequires: pkgconfig(libdrm)
495e37
BuildRequires: pkgconfig(gbm)
495e37
%endif
495e37
BuildRequires: perl-Test-Harness
495e37
BuildRequires: libslirp-devel
495e37
BuildRequires: pulseaudio-libs-devel
495e37
BuildRequires: spice-protocol
495e37
495e37
# Requires for qemu-kvm package
495e37
Requires: %{name}-core = %{epoch}:%{version}-%{release}
495e37
Requires: %{name}-docs = %{epoch}:%{version}-%{release}
495e37
Requires: %{name}-tools = %{epoch}:%{version}-%{release}
495e37
Requires: qemu-pr-helper = %{epoch}:%{version}-%{release}
495e37
Requires: virtiofsd = %{epoch}:%{version}-%{release}
495e37
%{requires_all_modules}
495e37
495e37
%description
495e37
%{name} is an open source virtualizer that provides hardware
495e37
emulation for the KVM hypervisor. %{name} acts as a virtual
495e37
machine monitor together with the KVM kernel modules, and emulates the
495e37
hardware for a full system such as a PC and its associated peripherals.
495e37
495e37
495e37
%package core
495e37
Summary: %{name} core components
495e37
%{obsoletes_some_modules}
495e37
Requires: %{name}-common = %{epoch}:%{version}-%{release}
495e37
Requires: qemu-img = %{epoch}:%{version}-%{release}
495e37
%ifarch %{ix86} x86_64
495e37
Requires: edk2-ovmf
495e37
%endif
495e37
%ifarch aarch64
495e37
Requires: edk2-aarch64
495e37
%endif
495e37
495e37
Requires: libseccomp >= %{libseccomp_version}
495e37
Requires: libusbx >= %{libusbx_version}
495e37
%if %{have_fdt}
495e37
Requires: libfdt >= %{libfdt_version}
495e37
%endif
495e37
495e37
%description core
495e37
%{name} is an open source virtualizer that provides hardware
495e37
emulation for the KVM hypervisor. %{name} acts as a virtual
495e37
machine monitor together with the KVM kernel modules, and emulates the
495e37
hardware for a full system such as a PC and its associated peripherals.
495e37
This is a minimalistic installation of %{name}. Functionality provided by
495e37
this package is not ensured and it can change in a future version as some
495e37
functionality can be split out to separate package.
495e37
Before updating this package, it is recommended to check the package
495e37
changelog for information on functionality which might have been moved to
495e37
a separate package to prevent issues due to the moved functionality.
495e37
If apps opt-in to minimalist packaging by depending on %{name}-core, they
495e37
explicitly accept that features may disappear from %{name}-core in future
495e37
updates.
495e37
495e37
%package common
495e37
Summary: QEMU common files needed by all QEMU targets
495e37
Requires(post): /usr/bin/getent
495e37
Requires(post): /usr/sbin/groupadd
495e37
Requires(post): /usr/sbin/useradd
495e37
Requires(post): systemd-units
495e37
Requires(preun): systemd-units
495e37
Requires(postun): systemd-units
495e37
%ifarch %{ix86} x86_64
495e37
Requires: seabios-bin >= 1.10.2-1
495e37
%endif
495e37
%ifnarch aarch64 s390x
495e37
Requires: seavgabios-bin >= 1.12.0-3
495e37
Requires: ipxe-roms-qemu >= %{ipxe_version}
495e37
%endif
495e37
495e37
%description common
495e37
%{name} is an open source virtualizer that provides hardware emulation for
495e37
the KVM hypervisor.
495e37
495e37
This package provides documentation and auxiliary programs used with %{name}.
495e37
495e37
495e37
%package tools
495e37
Summary: %{name} support tools
495e37
%description tools
495e37
%{name}-tools provides various tools related to %{name} usage.
495e37
495e37
495e37
%package docs
495e37
Summary: %{name} documentation
495e37
%description docs
495e37
%{name}-docs provides documentation files regarding %{name}.
495e37
495e37
495e37
%package -n qemu-pr-helper
495e37
Summary: qemu-pr-helper utility for %{name}
495e37
%description -n qemu-pr-helper
495e37
This package provides the qemu-pr-helper utility that is required for certain 
495e37
SCSI features. 
495e37
495e37
495e37
%package -n qemu-img
495e37
Summary: QEMU command line tool for manipulating disk images
495e37
%description -n qemu-img
495e37
This package provides a command line tool for manipulating disk images.
495e37
495e37
495e37
%package -n qemu-guest-agent
495e37
Summary: QEMU guest agent
495e37
Requires(post): systemd-units
495e37
Requires(preun): systemd-units
495e37
Requires(postun): systemd-units
495e37
%description -n qemu-guest-agent
495e37
%{name} is an open source virtualizer that provides hardware emulation for
495e37
the KVM hypervisor.
495e37
495e37
This package provides an agent to run inside guests, which communicates
495e37
with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
495e37
495e37
This package does not need to be installed on the host OS.
495e37
495e37
495e37
%package tests
495e37
Summary: tests for the %{name} package
495e37
Requires: %{name} = %{epoch}:%{version}-%{release}
495e37
495e37
%define testsdir %{_libdir}/%{name}/tests-src
495e37
495e37
%description tests
495e37
The %{name}-tests rpm contains tests that can be used to verify
495e37
the functionality of the installed %{name} package
495e37
495e37
Install this package if you want access to the avocado_qemu
495e37
tests, or qemu-iotests.
495e37
495e37
495e37
%package  block-curl
495e37
Summary: QEMU CURL block driver
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description block-curl
495e37
This package provides the additional CURL block driver for QEMU.
495e37
495e37
Install this package if you want to access remote disks over
495e37
http, https, ftp and other transports provided by the CURL library.
495e37
495e37
495e37
%if %{have_block_rbd}
495e37
%package  block-rbd
495e37
Summary: QEMU Ceph/RBD block driver
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description block-rbd
495e37
This package provides the additional Ceph/RBD block driver for QEMU.
495e37
495e37
Install this package if you want to access remote Ceph volumes
495e37
using the rbd protocol.
495e37
%endif
495e37
495e37
495e37
%package  block-ssh
495e37
Summary: QEMU SSH block driver
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description block-ssh
495e37
This package provides the additional SSH block driver for QEMU.
495e37
495e37
Install this package if you want to access remote disks using
495e37
the Secure Shell (SSH) protocol.
495e37
495e37
495e37
%package  audio-pa
495e37
Summary: QEMU PulseAudio audio driver
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description audio-pa
495e37
This package provides the additional PulseAudio audio driver for QEMU.
495e37
495e37
495e37
%if %{have_opengl}
495e37
%package  ui-opengl
495e37
Summary: QEMU opengl support
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
Requires: mesa-libGL
495e37
Requires: mesa-libEGL
495e37
Requires: mesa-dri-drivers
495e37
%description ui-opengl
495e37
This package provides opengl support.
495e37
495e37
%package  ui-egl-headless
495e37
Summary: QEMU EGL headless driver
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
Requires: %{name}-ui-opengl%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description ui-egl-headless
495e37
This package provides the additional egl-headless UI for QEMU.
495e37
%endif
495e37
495e37
495e37
%package device-display-virtio-gpu
495e37
Summary: QEMU virtio-gpu display device
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description device-display-virtio-gpu
495e37
This package provides the virtio-gpu display device for QEMU.
495e37
495e37
%package device-display-virtio-gpu-gl
495e37
Summary: QEMU virtio-gpu-gl display device
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description device-display-virtio-gpu-gl
495e37
This package provides the virtio-gpu-gl display device for QEMU.
495e37
495e37
%ifarch s390x
495e37
%package device-display-virtio-gpu-ccw
495e37
Summary: QEMU virtio-gpu-ccw display device
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description device-display-virtio-gpu-ccw
495e37
This package provides the virtio-gpu-ccw display device for QEMU.
495e37
%else
495e37
%package device-display-virtio-gpu-pci
495e37
Summary: QEMU virtio-gpu-pci display device
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description device-display-virtio-gpu-pci
495e37
This package provides the virtio-gpu-pci display device for QEMU.
495e37
495e37
%package device-display-virtio-gpu-pci-gl
495e37
Summary: QEMU virtio-gpu-pci-gl display device
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description device-display-virtio-gpu-pci-gl
495e37
This package provides the virtio-gpu-pci-gl display device for QEMU.
495e37
%endif
495e37
495e37
%ifarch x86_64 %{power64}
495e37
%package device-display-virtio-vga
495e37
Summary: QEMU virtio-vga display device
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description device-display-virtio-vga
495e37
This package provides the virtio-vga display device for QEMU.
495e37
495e37
%package device-display-virtio-vga-gl
495e37
Summary: QEMU virtio-vga-gl display device
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description device-display-virtio-vga-gl
495e37
This package provides the virtio-vga-gl display device for QEMU.
495e37
%endif
495e37
495e37
%package device-usb-host
495e37
Summary: QEMU usb host device
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
%description device-usb-host
495e37
This package provides the USB pass through driver for QEMU.
495e37
495e37
%if %{have_usbredir}
495e37
%package  device-usb-redirect
495e37
Summary: QEMU usbredir support
495e37
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
495e37
Requires: usbredir >= 0.7.1
495e37
Provides: %{name}-hw-usbredir
495e37
Obsoletes: %{name}-hw-usbredir <= %{epoch}:%{version} 
495e37
495e37
%description device-usb-redirect
495e37
This package provides usbredir support.
495e37
%endif
495e37
495e37
%prep
495e37
%setup -q -n qemu-%{version}%{?rcstr}
495e37
%autopatch -p1
495e37
495e37
%global qemu_kvm_build qemu_kvm_build
495e37
mkdir -p %{qemu_kvm_build}
495e37
495e37
cp -f %{SOURCE37} tests/data/acpi/pc/SSDT.dimmpxm
495e37
cp -f %{SOURCE38} tests/data/acpi/q35/FACP.slic
495e37
cp -f %{SOURCE39} tests/data/acpi/q35/SSDT.dimmpxm
495e37
cp -f %{SOURCE40} tests/data/acpi/virt/SSDT.memhp
495e37
495e37
%build
495e37
%define disable_everything         \\\
495e37
  --audio-drv-list=                \\\
495e37
  --disable-alsa                   \\\
495e37
  --disable-attr                   \\\
495e37
  --disable-auth-pam               \\\
495e37
  --disable-avx2                   \\\
495e37
  --disable-avx512f                \\\
495e37
  --disable-block-drv-whitelist-in-tools \\\
495e37
  --disable-bochs                  \\\
495e37
  --disable-bpf                    \\\
495e37
  --disable-brlapi                 \\\
495e37
  --disable-bsd-user               \\\
495e37
  --disable-bzip2                  \\\
495e37
  --disable-cap-ng                 \\\
495e37
  --disable-capstone               \\\
495e37
  --disable-cfi                    \\\
495e37
  --disable-cfi-debug              \\\
495e37
  --disable-cloop                  \\\
495e37
  --disable-cocoa                  \\\
495e37
  --disable-coreaudio              \\\
495e37
  --disable-coroutine-pool         \\\
495e37
  --disable-crypto-afalg           \\\
495e37
  --disable-curl                   \\\
495e37
  --disable-curses                 \\\
495e37
  --disable-debug-info             \\\
495e37
  --disable-debug-mutex            \\\
495e37
  --disable-debug-tcg              \\\
495e37
  --disable-dmg                    \\\
495e37
  --disable-docs                   \\\
495e37
  --disable-dsound                 \\\
495e37
  --disable-fdt                    \\\
495e37
  --disable-fuse                   \\\
495e37
  --disable-fuse-lseek             \\\
495e37
  --disable-gcrypt                 \\\
495e37
  --disable-gettext                \\\
495e37
  --disable-gio                    \\\
495e37
  --disable-glusterfs              \\\
495e37
  --disable-gnutls                 \\\
495e37
  --disable-gtk                    \\\
495e37
  --disable-guest-agent            \\\
495e37
  --disable-guest-agent-msi        \\\
495e37
  --disable-hax                    \\\
495e37
  --disable-hvf                    \\\
495e37
  --disable-iconv                  \\\
495e37
  --disable-jack                   \\\
495e37
  --disable-kvm                    \\\
495e37
  --disable-l2tpv3                 \\\
495e37
  --disable-libdaxctl              \\\
495e37
  --disable-libiscsi               \\\
495e37
  --disable-libnfs                 \\\
495e37
  --disable-libpmem                \\\
495e37
  --disable-libssh                 \\\
495e37
  --disable-libudev                \\\
495e37
  --disable-libusb                 \\\
495e37
  --disable-libxml2                \\\
495e37
  --disable-linux-aio              \\\
495e37
  --disable-linux-io-uring         \\\
495e37
  --disable-linux-user             \\\
495e37
  --disable-live-block-migration   \\\
495e37
  --disable-lto                    \\\
495e37
  --disable-lzfse                  \\\
495e37
  --disable-lzo                    \\\
495e37
  --disable-malloc-trim            \\\
495e37
  --disable-membarrier             \\\
495e37
  --disable-modules                \\\
495e37
  --disable-module-upgrades        \\\
495e37
  --disable-mpath                  \\\
495e37
  --disable-multiprocess           \\\
495e37
  --disable-netmap                 \\\
495e37
  --disable-nettle                 \\\
495e37
  --disable-numa                   \\\
495e37
  --disable-nvmm                   \\\
495e37
  --disable-opengl                 \\\
495e37
  --disable-oss                    \\\
495e37
  --disable-pa                     \\\
495e37
  --disable-parallels              \\\
495e37
  --disable-pie                    \\\
495e37
  --disable-pvrdma                 \\\
495e37
  --disable-qcow1                  \\\
495e37
  --disable-qed                    \\\
495e37
  --disable-qom-cast-debug         \\\
495e37
  --disable-rbd                    \\\
495e37
  --disable-rdma                   \\\
495e37
  --disable-replication            \\\
495e37
  --disable-rng-none               \\\
495e37
  --disable-safe-stack             \\\
495e37
  --disable-sanitizers             \\\
495e37
  --disable-sdl                    \\\
495e37
  --disable-sdl-image              \\\
495e37
  --disable-seccomp                \\\
495e37
  --disable-selinux                \\\
495e37
  --disable-slirp                  \\\
495e37
  --disable-slirp-smbd             \\\
495e37
  --disable-smartcard              \\\
495e37
  --disable-snappy                 \\\
495e37
  --disable-sparse                 \\\
495e37
  --disable-spice                  \\\
495e37
  --disable-spice-protocol         \\\
495e37
  --disable-strip                  \\\
495e37
  --disable-system                 \\\
495e37
  --disable-tcg                    \\\
495e37
  --disable-tools                  \\\
495e37
  --disable-tpm                    \\\
495e37
  --disable-u2f                    \\\
495e37
  --disable-usb-redir              \\\
495e37
  --disable-user                   \\\
495e37
  --disable-vde                    \\\
495e37
  --disable-vdi                    \\\
495e37
  --disable-vhost-crypto           \\\
495e37
  --disable-vhost-kernel           \\\
495e37
  --disable-vhost-net              \\\
495e37
  --disable-vhost-scsi             \\\
495e37
  --disable-vhost-user             \\\
495e37
  --disable-vhost-user-blk-server  \\\
495e37
  --disable-vhost-vdpa             \\\
495e37
  --disable-vhost-vsock            \\\
495e37
  --disable-virglrenderer          \\\
495e37
  --disable-virtfs                 \\\
495e37
  --disable-virtiofsd              \\\
495e37
  --disable-vnc                    \\\
495e37
  --disable-vnc-jpeg               \\\
495e37
  --disable-vnc-png                \\\
495e37
  --disable-vnc-sasl               \\\
495e37
  --disable-vte                    \\\
495e37
  --disable-vvfat                  \\\
495e37
  --disable-werror                 \\\
495e37
  --disable-whpx                   \\\
495e37
  --disable-xen                    \\\
495e37
  --disable-xen-pci-passthrough    \\\
495e37
  --disable-xfsctl                 \\\
495e37
  --disable-xkbcommon              \\\
495e37
  --disable-zstd                   \\\
495e37
  --with-git-submodules=ignore     \\\
495e37
  --without-default-devices
495e37
495e37
495e37
run_configure() {
495e37
    ../configure \
495e37
        --cc=%{__cc} \
495e37
        --cxx=/bin/false \
495e37
        --prefix="%{_prefix}" \
495e37
        --libdir="%{_libdir}" \
495e37
        --datadir="%{_datadir}" \
495e37
        --sysconfdir="%{_sysconfdir}" \
495e37
        --interp-prefix=%{_prefix}/qemu-%M \
495e37
        --localstatedir="%{_localstatedir}" \
495e37
        --docdir="%{_docdir}" \
495e37
        --libexecdir="%{_libexecdir}" \
495e37
        --extra-ldflags="%{build_ldflags}" \
495e37
        --extra-cflags="%{optflags} -Wno-string-plus-int" \
495e37
        --with-pkgversion="%{name}-%{version}-%{release}" \
495e37
        --with-suffix="%{name}" \
495e37
        --firmwarepath=%{firmwaredirs} \
495e37
        --meson="%{__meson}" \
495e37
        --enable-trace-backend=dtrace \
495e37
        --with-coroutine=ucontext \
495e37
        --with-git=git \
495e37
        --tls-priority=@QEMU,SYSTEM \
495e37
        %{disable_everything} \
495e37
        --with-devices-%{kvm_target}=%{kvm_target}-rh-devices \
495e37
        "$@"
495e37
495e37
    echo "config-host.mak contents:"
495e37
    echo "==="
495e37
    cat config-host.mak
495e37
    echo "==="
495e37
}
495e37
495e37
495e37
pushd %{qemu_kvm_build}
495e37
run_configure \
495e37
%if %{defined target_list}
495e37
  --target-list="%{target_list}" \
495e37
%endif
495e37
%if %{defined block_drivers_rw_list}
495e37
  --block-drv-rw-whitelist=%{block_drivers_rw_list} \
495e37
%endif
495e37
%if %{defined block_drivers_ro_list}
495e37
  --block-drv-ro-whitelist=%{block_drivers_ro_list} \
495e37
%endif
495e37
  --enable-attr \
495e37
%ifarch %{ix86} x86_64
495e37
  --enable-avx2 \
495e37
%endif
495e37
  --enable-cap-ng \
495e37
  --enable-capstone=internal \
495e37
  --enable-coroutine-pool \
495e37
  --enable-curl \
495e37
  --enable-debug-info \
495e37
  --enable-docs \
495e37
%if %{have_fdt}
495e37
  --enable-fdt=system \
495e37
%endif
495e37
  --enable-gnutls \
495e37
  --enable-guest-agent \
495e37
  --enable-iconv \
495e37
  --enable-kvm \
495e37
%if %{have_pmem}
495e37
  --enable-libpmem \
495e37
%endif
495e37
  --enable-libssh \
495e37
  --enable-libusb \
495e37
  --enable-libudev \
495e37
  --enable-linux-aio \
495e37
  --enable-lzo \
495e37
  --enable-malloc-trim \
495e37
  --enable-modules \
495e37
  --enable-mpath \
495e37
%if %{have_numactl}
495e37
  --enable-numa \
495e37
%endif
495e37
%if %{have_opengl}
495e37
  --enable-opengl \
495e37
%endif
495e37
  --enable-pa \
495e37
  --enable-pie \
495e37
%if %{have_block_rbd}
495e37
  --enable-rbd \
495e37
%endif
495e37
%if %{have_librdma}
495e37
  --enable-rdma \
495e37
%endif
495e37
  --enable-seccomp \
495e37
  --enable-selinux \
495e37
  --enable-slirp=system \
495e37
  --enable-snappy \
495e37
  --enable-spice-protocol \
495e37
  --enable-system \
495e37
  --enable-tcg \
495e37
  --enable-tools \
495e37
  --enable-tpm \
495e37
%if %{have_usbredir}
495e37
  --enable-usb-redir \
495e37
%endif
495e37
  --enable-vdi \
495e37
  --enable-virtiofsd \
495e37
  --enable-vhost-kernel \
495e37
  --enable-vhost-net \
495e37
  --enable-vhost-user \
495e37
  --enable-vhost-user-blk-server \
495e37
  --enable-vhost-vdpa \
495e37
  --enable-vhost-vsock \
495e37
  --enable-vnc \
495e37
  --enable-vnc-png \
495e37
  --enable-vnc-sasl \
495e37
%if %{enable_werror}
495e37
  --enable-werror \
495e37
%endif
495e37
  --enable-xkbcommon \
495e37
%if %{have_safe_stack}
495e37
  --enable-safe-stack \
495e37
%endif
495e37
495e37
495e37
%if %{tools_only}
495e37
%make_build qemu-img
495e37
%make_build qemu-io
495e37
%make_build qemu-nbd
495e37
%make_build storage-daemon/qemu-storage-daemon
495e37
495e37
%make_build docs/qemu-img.1
495e37
%make_build docs/qemu-nbd.8
495e37
%make_build docs/qemu-storage-daemon.1
495e37
%make_build docs/qemu-storage-daemon-qmp-ref.7
495e37
495e37
%make_build qga/qemu-ga
495e37
%make_build docs/qemu-ga.8
495e37
# endif tools_only
495e37
%endif
495e37
495e37
495e37
%if !%{tools_only}
495e37
%make_build
495e37
495e37
# Setup back compat qemu-kvm binary
495e37
%{__python3} scripts/tracetool.py --backend dtrace --format stap \
495e37
  --group=all --binary %{_libexecdir}/qemu-kvm --probe-prefix qemu.kvm \
495e37
  trace/trace-events-all qemu-kvm.stp
495e37
495e37
%{__python3} scripts/tracetool.py --backends=dtrace --format=log-stap \
495e37
  --group=all --binary %{_libexecdir}/qemu-kvm --probe-prefix qemu.kvm \
495e37
  trace/trace-events-all qemu-kvm-log.stp
495e37
495e37
%{__python3} scripts/tracetool.py --backend dtrace --format simpletrace-stap \
495e37
  --group=all --binary %{_libexecdir}/qemu-kvm --probe-prefix qemu.kvm \
495e37
  trace/trace-events-all qemu-kvm-simpletrace.stp
495e37
495e37
cp -a %{kvm_target}-softmmu/qemu-system-%{kvm_target} qemu-kvm
495e37
495e37
%ifarch s390x
495e37
    # Copy the built new images into place for "make check":
495e37
    cp pc-bios/s390-ccw/s390-ccw.img pc-bios/s390-ccw/s390-netboot.img pc-bios/
495e37
%endif
495e37
495e37
popd
495e37
# endif !tools_only
495e37
%endif
495e37
495e37
495e37
495e37
%install
495e37
# Install qemu-guest-agent service and udev rules
495e37
install -D -m 0644 %{_sourcedir}/qemu-guest-agent.service %{buildroot}%{_unitdir}/qemu-guest-agent.service
495e37
install -D -m 0644 %{_sourcedir}/qemu-ga.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
495e37
install -D -m 0644 %{_sourcedir}/99-qemu-guest-agent.rules %{buildroot}%{_udevrulesdir}/99-qemu-guest-agent.rules
495e37
495e37
495e37
# Install qemu-ga fsfreeze bits
495e37
mkdir -p %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook.d
495e37
install -p scripts/qemu-guest-agent/fsfreeze-hook %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook
495e37
mkdir -p %{buildroot}%{_datadir}/%{name}/qemu-ga/fsfreeze-hook.d/
495e37
install -p -m 0644 scripts/qemu-guest-agent/fsfreeze-hook.d/*.sample %{buildroot}%{_datadir}/%{name}/qemu-ga/fsfreeze-hook.d/
495e37
mkdir -p -v %{buildroot}%{_localstatedir}/log/qemu-ga/
495e37
495e37
495e37
%if %{tools_only}
495e37
pushd %{qemu_kvm_build}
495e37
install -D -p -m 0755 qga/qemu-ga %{buildroot}%{_bindir}/qemu-ga
495e37
install -D -p -m 0755 qemu-img %{buildroot}%{_bindir}/qemu-img
495e37
install -D -p -m 0755 qemu-io %{buildroot}%{_bindir}/qemu-io
495e37
install -D -p -m 0755 qemu-nbd %{buildroot}%{_bindir}/qemu-nbd
495e37
install -D -p -m 0755 storage-daemon/qemu-storage-daemon %{buildroot}%{_bindir}/qemu-storage-daemon
495e37
495e37
mkdir -p %{buildroot}%{_mandir}/man1/
495e37
mkdir -p %{buildroot}%{_mandir}/man7/
495e37
mkdir -p %{buildroot}%{_mandir}/man8/
495e37
495e37
install -D -p -m 644 docs/qemu-img.1* %{buildroot}%{_mandir}/man1
495e37
install -D -p -m 644 docs/qemu-nbd.8* %{buildroot}%{_mandir}/man8
495e37
install -D -p -m 644 docs/qemu-storage-daemon.1* %{buildroot}%{_mandir}/man1
495e37
install -D -p -m 644 docs/qemu-storage-daemon-qmp-ref.7* %{buildroot}%{_mandir}/man7
495e37
install -D -p -m 644 docs/qemu-ga.8* %{buildroot}%{_mandir}/man8
495e37
popd
495e37
# endif tools_only
495e37
%endif
495e37
495e37
%if !%{tools_only}
495e37
495e37
install -D -p -m 0644 %{_sourcedir}/vhost.conf %{buildroot}%{_sysconfdir}/modprobe.d/vhost.conf
495e37
install -D -p -m 0644 %{modprobe_kvm_conf} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/kvm.conf
495e37
495e37
# Create new directories and put them all under tests-src
495e37
mkdir -p %{buildroot}%{testsdir}/python
495e37
mkdir -p %{buildroot}%{testsdir}/tests
495e37
mkdir -p %{buildroot}%{testsdir}/tests/avocado
495e37
mkdir -p %{buildroot}%{testsdir}/tests/qemu-iotests
495e37
mkdir -p %{buildroot}%{testsdir}/scripts/qmp
495e37
495e37
495e37
install -m 0644 scripts/dump-guest-memory.py \
495e37
                %{buildroot}%{_datadir}/%{name}
495e37
495e37
# Install avocado_qemu tests
495e37
cp -R %{qemu_kvm_build}/tests/avocado/* %{buildroot}%{testsdir}/tests/avocado/
495e37
495e37
# Install qemu.py and qmp/ scripts required to run avocado_qemu tests
495e37
cp -R %{qemu_kvm_build}/python/qemu %{buildroot}%{testsdir}/python
495e37
cp -R %{qemu_kvm_build}/scripts/qmp/* %{buildroot}%{testsdir}/scripts/qmp
495e37
install -p -m 0755 tests/Makefile.include %{buildroot}%{testsdir}/tests/
495e37
495e37
# Install qemu-iotests
495e37
cp -R tests/qemu-iotests/* %{buildroot}%{testsdir}/tests/qemu-iotests/
495e37
cp -ur %{qemu_kvm_build}/tests/qemu-iotests/* %{buildroot}%{testsdir}/tests/qemu-iotests/
495e37
495e37
install -p -m 0644 %{_sourcedir}/README.tests %{buildroot}%{testsdir}/README
495e37
495e37
# Do the actual qemu tree install
495e37
pushd %{qemu_kvm_build}
495e37
%make_install
495e37
popd
495e37
495e37
mkdir -p %{buildroot}%{_datadir}/systemtap/tapset
495e37
495e37
# Move vhost-user JSON files to the standard "qemu" directory
495e37
mkdir -p %{buildroot}%{_datadir}/qemu
495e37
mv %{buildroot}%{_datadir}/%{name}/vhost-user %{buildroot}%{_datadir}/qemu/
495e37
495e37
install -m 0755 %{qemu_kvm_build}/%{kvm_target}-softmmu/qemu-system-%{kvm_target} %{buildroot}%{_libexecdir}/qemu-kvm
495e37
install -m 0644 %{qemu_kvm_build}/qemu-kvm.stp %{buildroot}%{_datadir}/systemtap/tapset/
495e37
install -m 0644 %{qemu_kvm_build}/qemu-kvm-log.stp %{buildroot}%{_datadir}/systemtap/tapset/
495e37
install -m 0644 %{qemu_kvm_build}/qemu-kvm-simpletrace.stp %{buildroot}%{_datadir}/systemtap/tapset/
495e37
install -d -m 0755 "%{buildroot}%{_datadir}/%{name}/systemtap/script.d"
495e37
install -c -m 0644 %{qemu_kvm_build}/scripts/systemtap/script.d/qemu_kvm.stp "%{buildroot}%{_datadir}/%{name}/systemtap/script.d/"
495e37
install -d -m 0755 "%{buildroot}%{_datadir}/%{name}/systemtap/conf.d"
495e37
install -c -m 0644 %{qemu_kvm_build}/scripts/systemtap/conf.d/qemu_kvm.conf "%{buildroot}%{_datadir}/%{name}/systemtap/conf.d/"
495e37
495e37
495e37
rm %{buildroot}/%{_datadir}/applications/qemu.desktop
495e37
rm %{buildroot}%{_bindir}/qemu-system-%{kvm_target}
495e37
rm %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-%{kvm_target}.stp
495e37
rm %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-%{kvm_target}-simpletrace.stp
495e37
rm %{buildroot}%{_datadir}/systemtap/tapset/qemu-system-%{kvm_target}-log.stp
495e37
rm %{buildroot}%{_bindir}/elf2dmp
495e37
495e37
# Install simpletrace
495e37
install -m 0755 scripts/simpletrace.py %{buildroot}%{_datadir}/%{name}/simpletrace.py
495e37
# Avoid ambiguous 'python' interpreter name
495e37
mkdir -p %{buildroot}%{_datadir}/%{name}/tracetool
495e37
install -m 0644 -t %{buildroot}%{_datadir}/%{name}/tracetool scripts/tracetool/*.py
495e37
mkdir -p %{buildroot}%{_datadir}/%{name}/tracetool/backend
495e37
install -m 0644 -t %{buildroot}%{_datadir}/%{name}/tracetool/backend scripts/tracetool/backend/*.py
495e37
mkdir -p %{buildroot}%{_datadir}/%{name}/tracetool/format
495e37
install -m 0644 -t %{buildroot}%{_datadir}/%{name}/tracetool/format scripts/tracetool/format/*.py
495e37
495e37
mkdir -p %{buildroot}%{qemudocdir}
495e37
install -p -m 0644 -t %{buildroot}%{qemudocdir} README.rst README.systemtap COPYING COPYING.LIB LICENSE docs/interop/qmp-spec.txt
495e37
495e37
# Rename man page
495e37
pushd %{buildroot}%{_mandir}/man1/
495e37
for fn in qemu.1*; do
495e37
     mv $fn "qemu-kvm${fn#qemu}"
495e37
done
495e37
popd
495e37
495e37
install -D -p -m 0644 qemu.sasl %{buildroot}%{_sysconfdir}/sasl2/%{name}.conf
495e37
495e37
# Provided by package openbios
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-ppc
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc32
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc64
495e37
# Provided by package SLOF
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin
495e37
495e37
# Remove unpackaged files.
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/palcode-clipper
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/petalogix*.dtb
495e37
rm -f %{buildroot}%{_datadir}/%{name}/bamboo.dtb
495e37
rm -f %{buildroot}%{_datadir}/%{name}/ppc_rom.bin
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/s390-zipl.rom
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/u-boot.e500
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/qemu_vga.ndrv
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/skiboot.lid
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/qboot.rom
495e37
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/s390-ccw.img
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/s390-netboot.img
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/hppa-firmware.img
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/canyonlands.dtb
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/u-boot-sam460-20100605.bin
495e37
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/firmware
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/edk2-*.fd
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/edk2-licenses.txt
495e37
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/opensbi-riscv32-sifive_u-fw_jump.bin
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/opensbi-riscv32-virt-fw_jump.bin
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/opensbi-riscv32-generic-fw_dynamic.*
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/opensbi-riscv64-sifive_u-fw_jump.bin
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/opensbi-riscv64-virt-fw_jump.bin
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/opensbi-riscv64-generic-fw_dynamic.*
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/qemu-nsis.bmp
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/npcm7xx_bootrom.bin
495e37
495e37
# Remove virtfs-proxy-helper files
495e37
rm -rf %{buildroot}%{_libexecdir}/virtfs-proxy-helper
495e37
rm -rf %{buildroot}%{_mandir}/man1/virtfs-proxy-helper*
495e37
495e37
%ifarch s390x
495e37
    # Use the s390-*.img that we've just built, not the pre-built ones
495e37
    install -m 0644 %{qemu_kvm_build}/pc-bios/s390-ccw/s390-ccw.img %{buildroot}%{_datadir}/%{name}/
495e37
    install -m 0644 %{qemu_kvm_build}/pc-bios/s390-ccw/s390-netboot.img %{buildroot}%{_datadir}/%{name}/
495e37
%else
495e37
    rm -rf %{buildroot}%{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so
495e37
%endif
495e37
495e37
%ifnarch x86_64
495e37
    rm -rf %{buildroot}%{_datadir}/%{name}/kvmvapic.bin
495e37
    rm -rf %{buildroot}%{_datadir}/%{name}/linuxboot.bin
495e37
    rm -rf %{buildroot}%{_datadir}/%{name}/multiboot.bin
495e37
    rm -rf %{buildroot}%{_datadir}/%{name}/multiboot_dma.bin
495e37
    rm -rf %{buildroot}%{_datadir}/%{name}/pvh.bin
495e37
%endif
495e37
495e37
# Remove sparc files
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/QEMU,tcx.bin
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/QEMU,cgthree.bin
495e37
495e37
# Remove ivshmem example programs
495e37
rm -rf %{buildroot}%{_bindir}/ivshmem-client
495e37
rm -rf %{buildroot}%{_bindir}/ivshmem-server
495e37
495e37
# Remove efi roms
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/efi*.rom
495e37
495e37
# Provided by package ipxe
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/pxe*rom
495e37
# Provided by package vgabios
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/vgabios*bin
495e37
# Provided by package seabios
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/bios*.bin
495e37
rm -rf %{buildroot}%{_datadir}/%{name}/sgabios.bin
495e37
495e37
# Remove virtiofsd (we use separate package for virtiofsd)
495e37
rm -rf %{buildroot}%{_mandir}/man1/virtiofsd.1*
495e37
rm -rf %{buildroot}%{_libexecdir}/virtiofsd
495e37
rm -rf %{buildroot}%{_datadir}/qemu/vhost-user/50-qemu-virtiofsd.json
495e37
495e37
%if %{have_modules_load}
495e37
    install -D -p -m 644 %{_sourcedir}/modules-load.conf %{buildroot}%{_sysconfdir}/modules-load.d/kvm.conf
495e37
%endif
495e37
495e37
%if %{have_memlock_limits}
495e37
    install -D -p -m 644 %{_sourcedir}/95-kvm-memlock.conf %{buildroot}%{_sysconfdir}/security/limits.d/95-kvm-memlock.conf
495e37
%endif
495e37
495e37
# Install rules to use the bridge helper with libvirt's virbr0
495e37
install -D -m 0644 %{_sourcedir}/bridge.conf %{buildroot}%{_sysconfdir}/%{name}/bridge.conf
495e37
495e37
# Install qemu-pr-helper service
495e37
install -m 0644 contrib/systemd/qemu-pr-helper.service %{buildroot}%{_unitdir}
495e37
install -m 0644 contrib/systemd/qemu-pr-helper.socket %{buildroot}%{_unitdir}
495e37
495e37
# We need to make the block device modules and other qemu SO files executable
495e37
# otherwise RPM won't pick up their dependencies.
495e37
chmod +x %{buildroot}%{_libdir}/%{name}/*.so
495e37
495e37
# Remove docs we don't care about
495e37
find %{buildroot}%{qemudocdir} -name .buildinfo -delete
495e37
rm -rf %{buildroot}%{qemudocdir}/specs
495e37
495e37
# endif !tools_only
495e37
%endif
495e37
495e37
495e37
%check
495e37
%if !%{tools_only}
495e37
495e37
pushd %{qemu_kvm_build}
495e37
echo "Testing %{name}-build"
495e37
%make_build check
495e37
popd
495e37
495e37
# endif !tools_only
495e37
%endif
495e37
495e37
%post -n qemu-guest-agent
495e37
%systemd_post qemu-guest-agent.service
495e37
%preun -n qemu-guest-agent
495e37
%systemd_preun qemu-guest-agent.service
495e37
%postun -n qemu-guest-agent
495e37
%systemd_postun_with_restart qemu-guest-agent.service
495e37
495e37
%if !%{tools_only}
495e37
%post common
495e37
getent group kvm >/dev/null || groupadd -g 36 -r kvm
495e37
getent group qemu >/dev/null || groupadd -g 107 -r qemu
495e37
getent passwd qemu >/dev/null || \
495e37
useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
495e37
  -c "qemu user" qemu
495e37
495e37
# If this is a new installation, then load kvm modules now, so we can make
495e37
# sure that the user gets a system where KVM is ready to use. In case of
495e37
# an upgrade, don't try to modprobe again in case the user unloaded the
495e37
# kvm module on purpose.
495e37
%if %{have_modules_load}
495e37
    if [ "$1" = "1" ]; then
495e37
        modprobe -b kvm  &> /dev/null || :
495e37
    fi
495e37
%endif
495e37
# endif !tools_only
495e37
%endif
495e37
495e37
495e37
495e37
%files -n qemu-img
495e37
%{_bindir}/qemu-img
495e37
%{_bindir}/qemu-io
495e37
%{_bindir}/qemu-nbd
495e37
%{_bindir}/qemu-storage-daemon
495e37
%{_mandir}/man1/qemu-img.1*
495e37
%{_mandir}/man8/qemu-nbd.8*
495e37
%{_mandir}/man1/qemu-storage-daemon.1*
495e37
%{_mandir}/man7/qemu-storage-daemon-qmp-ref.7*
495e37
495e37
495e37
%files -n qemu-guest-agent
495e37
%doc COPYING README.rst
495e37
%{_bindir}/qemu-ga
495e37
%{_mandir}/man8/qemu-ga.8*
495e37
%{_unitdir}/qemu-guest-agent.service
495e37
%{_udevrulesdir}/99-qemu-guest-agent.rules
495e37
%config(noreplace) %{_sysconfdir}/sysconfig/qemu-ga
495e37
%{_sysconfdir}/qemu-ga
495e37
%{_datadir}/%{name}/qemu-ga
495e37
%dir %{_localstatedir}/log/qemu-ga
495e37
495e37
495e37
%if !%{tools_only}
495e37
%files
495e37
# Deliberately empty
495e37
495e37
%files tools
495e37
%{_bindir}/qemu-keymap
495e37
%{_bindir}/qemu-edid
495e37
%{_bindir}/qemu-trace-stap
495e37
%{_datadir}/%{name}/simpletrace.py*
495e37
%{_datadir}/%{name}/tracetool/*.py*
495e37
%{_datadir}/%{name}/tracetool/backend/*.py*
495e37
%{_datadir}/%{name}/tracetool/format/*.py*
495e37
%{_datadir}/%{name}/dump-guest-memory.py*
495e37
%{_datadir}/%{name}/trace-events-all
495e37
%{_mandir}/man1/qemu-trace-stap.1*
495e37
495e37
%files -n qemu-pr-helper
495e37
%{_bindir}/qemu-pr-helper
495e37
%{_unitdir}/qemu-pr-helper.service
495e37
%{_unitdir}/qemu-pr-helper.socket
495e37
%{_mandir}/man8/qemu-pr-helper.8*
495e37
495e37
%files docs
495e37
%doc %{qemudocdir}
495e37
495e37
%files common
495e37
%license COPYING COPYING.LIB LICENSE
495e37
%{_mandir}/man7/qemu-qmp-ref.7*
495e37
%{_mandir}/man7/qemu-cpu-models.7*
495e37
%{_mandir}/man7/qemu-ga-ref.7*
495e37
495e37
%dir %{_datadir}/%{name}/
495e37
%{_datadir}/%{name}/keymaps/
495e37
%{_mandir}/man1/%{name}.1*
495e37
%{_mandir}/man7/qemu-block-drivers.7*
495e37
%attr(4755, -, -) %{_libexecdir}/qemu-bridge-helper
495e37
%config(noreplace) %{_sysconfdir}/sasl2/%{name}.conf
495e37
%ghost %{_sysconfdir}/kvm
495e37
%dir %{_sysconfdir}/%{name}
495e37
%config(noreplace) %{_sysconfdir}/%{name}/bridge.conf
495e37
%config(noreplace) %{_sysconfdir}/modprobe.d/vhost.conf
495e37
%config(noreplace) %{_sysconfdir}/modprobe.d/kvm.conf
495e37
495e37
%ifarch x86_64
495e37
    %{_datadir}/%{name}/linuxboot.bin
495e37
    %{_datadir}/%{name}/multiboot.bin
495e37
    %{_datadir}/%{name}/multiboot_dma.bin
495e37
    %{_datadir}/%{name}/kvmvapic.bin
495e37
    %{_datadir}/%{name}/pvh.bin
495e37
%endif
495e37
%ifarch s390x
495e37
    %{_datadir}/%{name}/s390-ccw.img
495e37
    %{_datadir}/%{name}/s390-netboot.img
495e37
%endif
495e37
%{_datadir}/icons/*
495e37
%{_datadir}/%{name}/linuxboot_dma.bin
495e37
%if %{have_modules_load}
495e37
    %{_sysconfdir}/modules-load.d/kvm.conf
495e37
%endif
495e37
%if %{have_memlock_limits}
495e37
    %{_sysconfdir}/security/limits.d/95-kvm-memlock.conf
495e37
%endif
495e37
495e37
%files core
495e37
%{_libexecdir}/qemu-kvm
495e37
%{_datadir}/systemtap/tapset/qemu-kvm.stp
495e37
%{_datadir}/systemtap/tapset/qemu-kvm-log.stp
495e37
%{_datadir}/systemtap/tapset/qemu-kvm-simpletrace.stp
495e37
%{_datadir}/%{name}/systemtap/script.d/qemu_kvm.stp
495e37
%{_datadir}/%{name}/systemtap/conf.d/qemu_kvm.conf
495e37
495e37
%ifarch x86_64
495e37
    %{_libdir}/%{name}/accel-tcg-%{kvm_target}.so
495e37
%endif
495e37
495e37
%files device-display-virtio-gpu
495e37
%{_libdir}/%{name}/hw-display-virtio-gpu.so
495e37
%files device-display-virtio-gpu-gl
495e37
%{_libdir}/%{name}/hw-display-virtio-gpu-gl.so
495e37
%ifarch s390x
495e37
%files device-display-virtio-gpu-ccw
495e37
    %{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so
495e37
%else
495e37
%files device-display-virtio-gpu-pci
495e37
    %{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
495e37
%files device-display-virtio-gpu-pci-gl
495e37
    %{_libdir}/%{name}/hw-display-virtio-gpu-pci-gl.so
495e37
%endif
495e37
%ifarch x86_64 %{power64}
495e37
%files device-display-virtio-vga
495e37
    %{_libdir}/%{name}/hw-display-virtio-vga.so
495e37
%files device-display-virtio-vga-gl
495e37
    %{_libdir}/%{name}/hw-display-virtio-vga-gl.so
495e37
%endif
495e37
495e37
%files tests
495e37
%{testsdir}
495e37
%{_libdir}/%{name}/accel-qtest-%{kvm_target}.so
495e37
495e37
%files block-curl
495e37
%{_libdir}/%{name}/block-curl.so
495e37
%if %{have_block_rbd}
495e37
%files block-rbd
495e37
%{_libdir}/%{name}/block-rbd.so
495e37
%endif
495e37
%files block-ssh
495e37
%{_libdir}/%{name}/block-ssh.so
495e37
%files audio-pa
495e37
%{_libdir}/%{name}/audio-pa.so
495e37
495e37
%if %{have_opengl}
495e37
%files ui-opengl
495e37
%{_libdir}/%{name}/ui-opengl.so
495e37
%files ui-egl-headless
495e37
%{_libdir}/%{name}/ui-egl-headless.so
495e37
%endif
495e37
495e37
%files device-usb-host
495e37
%{_libdir}/%{name}/hw-usb-host.so
495e37
495e37
%if %{have_usbredir}
495e37
%files device-usb-redirect 
495e37
    %{_libdir}/%{name}/hw-usb-redirect.so
495e37
%endif
495e37
495e37
# endif !tools_only
495e37
%endif
495e37
495e37
%changelog
f79135
* Mon May 09 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-11.el9_0.3
f79135
- kvm-RHEL-disable-seqpacket-for-vhost-vsock-device-in-rhe.patch [bz#2071102]
f79135
- kvm-virtio-net-fix-map-leaking-on-error-during-receive.patch [bz#2075635]
f79135
- kvm-vhost-vsock-detach-the-virqueue-element-in-case-of-e.patch [bz#2075640]
f79135
- Resolves: bz#2071102
f79135
  (RHEL 9.0 guest with vsock device migration failed from RHEL 9.0 > RHEL 8.6 [rhel-9.0.0.z])
f79135
- Resolves: bz#2075635
f79135
  (CVE-2022-26353 qemu-kvm: QEMU: virtio-net: map leaking on error during receive [rhel-9] [rhel-9.0.0.z])
f79135
- Resolves: bz#2075640
f79135
  (CVE-2022-26354 qemu-kvm: QEMU: vhost-vsock: missing virtqueue detach on error can lead to memory leak [rhel-9] [rhel-9.0.0.z])
f79135
495e37
* Tue Mar 22 2022  <cconte@redhat.com> - 6.2.0-11.el9_0.2
495e37
- kvm-pci-expose-TYPE_XIO3130_DOWNSTREAM-name.patch [bz#2053584]
495e37
- kvm-acpi-pcihp-pcie-set-power-on-cap-on-parent-slot.patch [bz#2053584]
495e37
- kvm-vmxcap-Add-5-level-EPT-bit.patch [bz#2038051]
495e37
- kvm-i386-Add-Icelake-Server-v6-CPU-model-with-5-level-EP.patch [bz#2038051]
495e37
- kvm-acpi-fix-QEMU-crash-when-started-with-SLIC-table.patch [bz#2043531]
495e37
- kvm-tests-acpi-whitelist-expected-blobs-before-changing-.patch [bz#2043531]
495e37
- kvm-tests-acpi-add-SLIC-table-test.patch [bz#2043531]
495e37
- kvm-tests-acpi-SLIC-update-expected-blobs.patch [bz#2043531]
495e37
- kvm-tests-acpi-manually-pad-OEM_ID-OEM_TABLE_ID-for-test.patch [bz#2043531]
495e37
- kvm-tests-acpi-whitelist-nvdimm-s-SSDT-and-FACP.slic-exp.patch [bz#2043531]
495e37
- kvm-acpi-fix-OEM-ID-OEM-Table-ID-padding.patch [bz#2043531]
495e37
- kvm-tests-acpi-update-expected-blobs.patch [bz#2043531]
495e37
- kvm-tests-acpi-test-short-OEM_ID-OEM_TABLE_ID-values-in-.patch [bz#2043531]
495e37
- kvm-rhel-workaround-for-lack-of-binary-patches-in-SRPM.patch [bz#2043531]
495e37
- Resolves: bz#2053584
495e37
  (watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [cat:2843])
495e37
- Resolves: bz#2038051
495e37
  (Win11 (q35+edk2) guest broke after install wsl2 through 'wsl --install -d Ubuntu-20.04')
495e37
- Resolves: bz#2043531
495e37
  (Guest can not start with SLIC acpi table)
495e37
495e37
* Tue Mar 15 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-11.el9_0.1
495e37
- kvm-RHEL-mark-old-machine-types-as-deprecated.patch [bz#2052050]
495e37
- kvm-hw-virtio-vdpa-Fix-leak-of-host-notifier-memory-regi.patch [bz#2059786]
495e37
- kvm-spec-Fix-obsolete-for-spice-subpackages.patch [bz#2059175 bz#2059146]
495e37
- kvm-spec-Obsolete-old-usb-redir-subpackage.patch [bz#2059175 bz#2059146]
495e37
- kvm-spec-Obsolete-ssh-driver.patch [bz#2059175 bz#2059146]
495e37
- Resolves: bz#2052050
495e37
  (Mark all RHEL-8 and earlier machine types as deprecated)
495e37
- Resolves: bz#2059786
495e37
  ([virtual network][rhel9][vDPA] qemu crash after hot unplug vdpa device)
495e37
- Resolves: bz#2059175
495e37
  (Broken upgrade path due to qemu-kvm-hw-usbredir  rename)
495e37
- Resolves: bz#2059146
495e37
  (Missing qemu-kvm-block-ssh obsolete breaks upgrade path)
495e37
495e37
* Tue Mar 01 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-11
495e37
- kvm-spec-Remove-qemu-virtiofsd.patch [bz#2055284]
495e37
- Resolves: bz#2055284
495e37
  (Remove the qemu-virtiofsd subpackage)
495e37
495e37
* Thu Feb 24 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-10
495e37
- kvm-Revert-ui-clipboard-Don-t-use-g_autoptr-just-to-free.patch [bz#2042820]
495e37
- kvm-ui-avoid-compiler-warnings-from-unused-clipboard-inf.patch [bz#2042820]
495e37
- kvm-ui-clipboard-fix-use-after-free-regression.patch [bz#2042820]
495e37
- kvm-ui-vnc.c-Fixed-a-deadlock-bug.patch [bz#2042820]
495e37
- kvm-memory-Fix-incorrect-calls-of-log_global_start-stop.patch [bz#2044818]
495e37
- kvm-memory-Fix-qemu-crash-on-starting-dirty-log-twice-wi.patch [bz#2044818]
495e37
- Resolves: bz#2042820
495e37
  (qemu crash when try to copy and paste contents from client to VM)
495e37
- Resolves: bz#2044818
495e37
  (Qemu Core Dumped when migrate -> migrate_cancel -> migrate again during guest is paused)
495e37
495e37
* Thu Feb 17 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-9
495e37
- kvm-block-Lock-AioContext-for-drain_end-in-blockdev-reop.patch [bz#2046659]
495e37
- kvm-iotests-Test-blockdev-reopen-with-iothreads-and-thro.patch [bz#2046659]
495e37
- kvm-block-nbd-Delete-reconnect-delay-timer-when-done.patch [bz#2033626]
495e37
- kvm-block-nbd-Assert-there-are-no-timers-when-closed.patch [bz#2033626]
495e37
- kvm-iotests.py-Add-QemuStorageDaemon-class.patch [bz#2033626]
495e37
- kvm-iotests-281-Test-lingering-timers.patch [bz#2033626]
495e37
- kvm-block-nbd-Move-s-ioc-on-AioContext-change.patch [bz#2033626]
495e37
- kvm-iotests-281-Let-NBD-connection-yield-in-iothread.patch [bz#2033626]
495e37
- Resolves: bz#2046659
495e37
  (qemu crash after execute blockdev-reopen with  iothread)
495e37
- Resolves: bz#2033626
495e37
  (Qemu core dump when start guest with nbd node or do block jobs to nbd node)
495e37
495e37
* Mon Feb 14 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-8
495e37
- kvm-numa-Enable-numa-for-SGX-EPC-sections.patch [bz#2033708]
495e37
- kvm-numa-Support-SGX-numa-in-the-monitor-and-Libvirt-int.patch [bz#2033708]
495e37
- kvm-doc-Add-the-SGX-numa-description.patch [bz#2033708]
495e37
- kvm-Enable-SGX-RH-Only.patch [bz#2033708]
495e37
- kvm-qapi-Cleanup-SGX-related-comments-and-restore-sectio.patch [bz#2033708]
495e37
- kvm-block-io-Update-BSC-only-if-want_zero-is-true.patch [bz#2041461]
495e37
- kvm-iotests-block-status-cache-New-test.patch [bz#2041461]
495e37
- kvm-iotests-Test-qemu-img-convert-of-zeroed-data-cluster.patch [bz#1882917]
495e37
- kvm-qemu-img-make-is_allocated_sectors-more-efficient.patch [bz#1882917]
495e37
- kvm-block-backend-prevent-dangling-BDS-pointers-across-a.patch [bz#2040123]
495e37
- kvm-iotests-stream-error-on-reset-New-test.patch [bz#2040123]
495e37
- kvm-hw-arm-smmuv3-Fix-device-reset.patch [bz#2042481]
495e37
- Resolves: bz#2033708
495e37
  ([Intel 9.0 Feat] qemu-kvm: SGX 1.5 (SGX1 + Flexible Launch Control) support)
495e37
- Resolves: bz#2041461
495e37
  (Inconsistent block status reply in qemu-nbd)
495e37
- Resolves: bz#1882917
495e37
  (the target image size is incorrect when converting a badly fragmented file)
495e37
- Resolves: bz#2040123
495e37
  (Qemu core dumped when do block-stream to a snapshot node on non-enough space storage)
495e37
- Resolves: bz#2042481
495e37
  ([aarch64] Launch guest with "default-bus-bypass-iommu=off,iommu=smmuv3" and "iommu_platform=on", guest hangs after system_reset)
495e37
495e37
* Mon Feb 07 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-7
495e37
- kvm-qemu-storage-daemon-Add-vhost-user-blk-help.patch [bz#1962088]
495e37
- kvm-qemu-storage-daemon-Fix-typo-in-vhost-user-blk-help.patch [bz#1962088]
495e37
- kvm-virtiofsd-Drop-membership-of-all-supplementary-group.patch [bz#2046201]
495e37
- kvm-block-rbd-fix-handling-of-holes-in-.bdrv_co_block_st.patch [bz#2034791]
495e37
- kvm-block-rbd-workaround-for-ceph-issue-53784.patch [bz#2034791]
495e37
- Resolves: bz#1962088
495e37
  ([QSD] wrong help message for the fuse)
495e37
- Resolves: bz#2046201
495e37
  (CVE-2022-0358 qemu-kvm: QEMU: virtiofsd: potential privilege escalation via CVE-2018-13405 [rhel-9.0])
495e37
- Resolves: bz#2034791
495e37
  (Booting from Local Snapshot Core Dumped Whose Backing File Is Based on RBD)
495e37
495e37
* Wed Feb 02 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-6
495e37
- Moving feature support out of qemu-kvm-core to separate packages (can
495e37
  cause loss of functionality when using only qemu-kvm-core - qemu-kvm keeps
495e37
  same feature set).
495e37
- kvm-spec-Rename-qemu-kvm-hw-usbredir-to-qemu-kvm-device-.patch [bz#2022847]
495e37
- kvm-spec-Split-qemu-kvm-ui-opengl.patch [bz#2022847]
495e37
- kvm-spec-Introduce-packages-for-virtio-gpu-modules.patch [bz#2022847]
495e37
- kvm-spec-Introduce-device-display-virtio-vga-packages.patch [bz#2022847]
495e37
- kvm-spec-Move-usb-host-module-to-separate-package.patch [bz#2022847]
495e37
- kvm-spec-Move-qtest-accel-module-to-tests-package.patch [bz#2022847]
495e37
- kvm-spec-Extend-qemu-kvm-core-description.patch [bz#2022847]
495e37
- Resolves: bz#2022847
495e37
  (qemu-kvm: Align package split with Fedora)
495e37
495e37
* Tue Jan 25 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-5
495e37
- kvm-x86-Add-q35-RHEL-8.6.0-machine-type.patch [bz#1945666]
495e37
- kvm-x86-Add-q35-RHEL-9.0.0-machine-type.patch [bz#1945666]
495e37
- kvm-softmmu-fix-device-deletion-events-with-device-JSON-.patch [bz#2036669]
495e37
- Resolves: bz#1945666
495e37
  (9.0: x86 machine types)
495e37
- Resolves: bz#2036669
495e37
  (DEVICE_DELETED event is not delivered for device frontend if -device is configured via JSON)
495e37
495e37
* Mon Jan 17 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-4
495e37
- kvm-block-nvme-fix-infinite-loop-in-nvme_free_req_queue_.patch [bz#2024544]
495e37
- kvm-rhel-machine-types-x86-set-prefer_sockets.patch [bz#2028623]
495e37
- Resolves: bz#2024544
495e37
  (Fio workers hangs when running fio with 32 jobs iodepth 32 and QEMU's userspace NVMe driver)
495e37
- Resolves: bz#2028623
495e37
  ([9.0] machine types: 6.2: Fix prefer_sockets)
495e37
495e37
* Mon Jan 10 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-3
495e37
- kvm-hw-arm-virt-Register-iommu-as-a-class-property.patch [bz#2031044]
495e37
- kvm-hw-arm-virt-Register-its-as-a-class-property.patch [bz#2031044]
495e37
- kvm-hw-arm-virt-Rename-default_bus_bypass_iommu.patch [bz#2031044]
495e37
- kvm-hw-arm-virt-Expose-the-RAS-option.patch [bz#2031044]
495e37
- kvm-hw-arm-virt-Add-9.0-machine-type-and-remove-8.5-one.patch [bz#2031044]
495e37
- kvm-hw-arm-virt-Check-no_tcg_its-and-minor-style-changes.patch [bz#2031044]
495e37
- Resolves: bz#2031044
495e37
  (Add rhel-9.0.0 machine types for RHEL 9.0 [aarch64])
495e37
495e37
* Fri Jan 07 2022 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-2
495e37
- kvm-redhat-Add-rhel8.6.0-and-rhel9.0.0-machine-types-for.patch [bz#2008060]
495e37
- kvm-redhat-Enable-virtio-mem-as-tech-preview-on-x86-64.patch [bz#2014484]
495e37
- Resolves: bz#2008060
495e37
  (Fix CPU Model for new IBM Z Hardware - qemu part)
495e37
- Resolves: bz#2014484
495e37
  ([RHEL9] Enable virtio-mem as tech-preview on x86-64 - QEMU)
495e37
495e37
* Thu Dec 16 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.2.0-1
495e37
- Rebase to QEMU 6.2.0 [bz#2027697]
495e37
- Resolves: bz#2027697
495e37
  (Rebase to QEMU 6.2.0)
495e37
495e37
* Wed Nov 24 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-8
495e37
- kvm-Move-ksmtuned-files-to-separate-package.patch [bz#1971678]
495e37
- Resolves: bz#1971678
495e37
  (Split out ksmtuned package from qemu-kvm)
495e37
495e37
* Fri Nov 19 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-7
495e37
- kvm-migration-Make-migration-blocker-work-for-snapshots-.patch [bz#1996609]
495e37
- kvm-migration-Add-migrate_add_blocker_internal.patch [bz#1996609]
495e37
- kvm-dump-guest-memory-Block-live-migration.patch [bz#1996609]
495e37
- kvm-spec-Build-the-VDI-block-driver.patch [bz#2013331]
495e37
- kvm-spec-Explicitly-include-compress-filter.patch [bz#1980035]
495e37
- Resolves: bz#1996609
495e37
  (Qemu hit core dump when dump guest memory during live migration)
495e37
- Resolves: bz#2013331
495e37
  (RFE: qemu-img cannot convert from vdi format)
495e37
- Resolves: bz#1980035
495e37
  (RFE: Enable compress filter so we can create new, compressed qcow2 files via qemu-nbd)
495e37
495e37
* Mon Oct 18 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-6
495e37
- kvm-hw-arm-virt-Add-hw_compat_rhel_8_5-to-8.5-machine-ty.patch [bz#1998942]
495e37
- Resolves: bz#1998942
495e37
  (Add machine type compatibility update for 6.1 rebase [aarch64])
495e37
495e37
* Mon Oct 11 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-5
495e37
- kvm-virtio-balloon-Fix-page-poison-subsection-name.patch [bz#1984401]
495e37
- kvm-spec-Remove-block-curl-and-block-ssh-dependency.patch [bz#2010985]
495e37
- Resolves: bz#1984401
495e37
  (fails to revert snapshot of a VM [balloon/page-poison])
495e37
- Resolves: bz#2010985
495e37
  (Remove dependency on qemu-kvm-block-curl and qemu-kvm-block-ssh [rhel-9.0.0])
495e37
495e37
* Tue Oct 05 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-4
495e37
- kvm-redhat-Define-hw_compat_rhel_8_5.patch [bz#1998943]
495e37
- kvm-redhat-Add-s390x-machine-type-compatibility-update-f.patch [bz#1998943]
495e37
- Resolves: bz#1998943
495e37
  (Add machine type compatibility update for 6.1 rebase [s390x])
495e37
495e37
* Fri Sep 24 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-3
495e37
- kvm-disable-sga-device.patch [bz#2000845]
495e37
- kvm-tools-virtiofsd-Add-fstatfs64-syscall-to-the-seccomp.patch [bz#2005026]
495e37
- Resolves: bz#2000845
495e37
  (RFE: Remove SGA, deprecate cirrus, and set defaults for QEMU machine-types in RHEL9)
495e37
- Resolves: bz#2005026
495e37
  ([s390][virtio-fs] Umount virtiofs shared folder failure from guest side [rhel-9.0.0])
495e37
495e37
* Fri Sep 10 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-2
495e37
- kvm-hw-arm-virt-Remove-9.0-machine-type.patch [bz#2002937]
495e37
- kvm-remove-sgabios-dependency.patch [bz#2000845]
495e37
- kvm-enable-pulseaudio.patch [bz#1997725]
495e37
- kvm-spec-disable-use-of-gcrypt-for-crypto-backends-in-fa.patch [bz#1990068]
495e37
- Resolves: bz#2002937
495e37
  ([qemu][aarch64] Remove 9.0 machine types in arm virt for 9-Beta)
495e37
- Resolves: bz#2000845
495e37
  (RFE: Remove SGA, deprecate cirrus, and set defaults for QEMU machine-types in RHEL9)
495e37
- Resolves: bz#1997725
495e37
  (RFE: enable pulseaudio backend on QEMU)
495e37
- Resolves: bz#1990068
495e37
  (Disable use of gcrypt for crypto backends in favour of gnutls)
495e37
495e37
* Thu Sep 02 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-1
495e37
- Rebase to QEMU 6.1.0 [bz#1997408]
495e37
- Resolves: #bz#1997408
495e37
  (Rebase to QEMU 6.1.0)
495e37
495e37
* Fri Aug 27 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-13
495e37
- kvm-qcow2-Deprecation-warning-when-opening-v2-images-rw.patch [bz#1951814]
495e37
- kvm-disable-ac97-audio.patch [bz#1995819]
495e37
- kvm-redhat-Disable-LTO-on-non-x86-architectures.patch [bz#1950192]
495e37
- kvm-redhat-Enable-the-test-block-iothread-test-again.patch [bz#1950192]
495e37
- Resolves: bz#1951814
495e37
  (RFE: Warning when using qcow2-v2 (compat=0.10))
495e37
- Resolves: bz#1995819
495e37
  (RFE: Remove ac97 audio support from QEMU)
495e37
- Resolves: bz#1950192
495e37
  (RHEL9: when ioeventfd=off and 8.4guest, (qemu) qemu-kvm: ../util/qemu-coroutine-lock.c:57: qemu_co_queue_wait_impl: Assertion `qemu_in_coroutine()' failed.)
495e37
495e37
* Fri Aug 20 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-12.el9
495e37
- kvm-migration-Move-yank-outside-qemu_start_incoming_migr.patch [bz#1974683]
495e37
- kvm-migration-Allow-reset-of-postcopy_recover_triggered-.patch [bz#1974683]
495e37
- kvm-Remove-RHEL-7.0.0-machine-type.patch [bz#1968519]
495e37
- kvm-Remove-RHEL-7.1.0-machine-type.patch [bz#1968519]
495e37
- kvm-Remove-RHEL-7.2.0-machine-type.patch [bz#1968519]
495e37
- kvm-Remove-RHEL-7.3.0-machine-types.patch [bz#1968519]
495e37
- kvm-Remove-RHEL-7.4.0-machine-types.patch [bz#1968519]
495e37
- kvm-Remove-RHEL-7.5.0-machine-types.patch [bz#1968519]
495e37
- kvm-acpi-pc-revert-back-to-v5.2-PCI-slot-enumeration.patch [bz#1957194]
495e37
- kvm-migration-failover-reset-partially_hotplugged.patch [bz#1957194]
495e37
- kvm-hmp-Fix-loadvm-to-resume-the-VM-on-success-instead-o.patch [bz#1957194]
495e37
- kvm-migration-Move-bitmap_mutex-out-of-migration_bitmap_.patch [bz#1957194]
495e37
- kvm-i386-cpu-Expose-AVX_VNNI-instruction-to-guest.patch [bz#1957194]
495e37
- kvm-ratelimit-protect-with-a-mutex.patch [bz#1957194]
495e37
- kvm-Update-Linux-headers-to-5.13-rc4.patch [bz#1957194]
495e37
- kvm-i386-Add-ratelimit-for-bus-locks-acquired-in-guest.patch [bz#1957194]
495e37
- kvm-iothread-generalize-iothread_set_param-iothread_get_.patch [bz#1957194]
495e37
- kvm-iothread-add-aio-max-batch-parameter.patch [bz#1957194]
495e37
- kvm-linux-aio-limit-the-batch-size-using-aio-max-batch-p.patch [bz#1957194]
495e37
- kvm-block-nvme-Fix-VFIO_MAP_DMA-failed-No-space-left-on-.patch [bz#1957194]
495e37
- kvm-migration-move-wait-unplug-loop-to-its-own-function.patch [bz#1957194]
495e37
- kvm-migration-failover-continue-to-wait-card-unplug-on-e.patch [bz#1957194]
495e37
- kvm-aarch64-Add-USB-storage-devices.patch [bz#1957194]
495e37
- kvm-iotests-Improve-and-rename-test-291-to-qemu-img-bitm.patch [bz#1957194]
495e37
- kvm-qemu-img-Fail-fast-on-convert-bitmaps-with-inconsist.patch [bz#1957194]
495e37
- kvm-qemu-img-Add-skip-broken-bitmaps-for-convert-bitmaps.patch [bz#1957194]
495e37
- kvm-audio-Never-send-migration-section.patch [bz#1957194]
495e37
- kvm-pc-bios-s390-ccw-bootmap-Silence-compiler-warning-fr.patch [bz#1939509 bz#1940132]
495e37
- kvm-pc-bios-s390-ccw-Use-reset_psw-pointer-instead-of-ha.patch [bz#1939509 bz#1940132]
495e37
- kvm-pc-bios-s390-ccw-netboot-Use-Wl-prefix-to-pass-param.patch [bz#1939509 bz#1940132]
495e37
- kvm-pc-bios-s390-ccw-Silence-warning-from-Clang-by-marki.patch [bz#1939509 bz#1940132]
495e37
- kvm-pc-bios-s390-ccw-Fix-the-cc-option-macro-in-the-Make.patch [bz#1939509 bz#1940132]
495e37
- kvm-pc-bios-s390-ccw-Silence-GCC-11-stringop-overflow-wa.patch [bz#1939509 bz#1940132]
495e37
- kvm-pc-bios-s390-ccw-Allow-building-with-Clang-too.patch [bz#1939509 bz#1940132]
495e37
- kvm-pc-bios-s390-ccw-Fix-inline-assembly-for-older-versi.patch [bz#1939509 bz#1940132]
495e37
- kvm-configure-Fix-endianess-test-with-LTO.patch [bz#1939509 bz#1940132]
495e37
- kvm-spec-Switch-toolchain-to-Clang-LLVM.patch [bz#1939509 bz#1940132]
495e37
- kvm-spec-Use-safe-stack-for-x86_64.patch [bz#1939509 bz#1940132]
495e37
- kvm-spec-Reenable-write-support-for-VMDK-etc.-in-tools.patch [bz#1989841]
495e37
- Resolves: bz#1974683
495e37
  (Fail to set migrate incoming for 2nd time after the first time failed)
495e37
- Resolves: bz#1968519
495e37
  (Remove all the old 7.0-7.5 machine types)
495e37
- Resolves: bz#1957194
495e37
  (Synchronize RHEL-AV 8.5.0 changes to RHEL 9.0.0 Beta)
495e37
- Resolves: bz#1939509
495e37
  (QEMU: enable SafeStack)
495e37
- Resolves: bz#1940132
495e37
  (QEMU: switch build toolchain to Clang/LLVM)
495e37
- Resolves: bz#1989841
495e37
  (RFE: qemu-img cannot convert images into vmdk and vpc formats)
495e37
495e37
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 17:6.0.0-11.1
495e37
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
495e37
  Related: rhbz#1991688
495e37
495e37
* Sat Aug 07 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-11
495e37
- kvm-arm-virt-Register-iommu-as-a-class-property.patch [bz#1838608]
495e37
- kvm-arm-virt-Register-its-as-a-class-property.patch [bz#1838608]
495e37
- kvm-arm-virt-Enable-ARM-RAS-support.patch [bz#1838608]
495e37
- kvm-block-Fix-in_flight-leak-in-request-padding-error-pa.patch [bz#1972079]
495e37
- kvm-spec-Remove-buildldflags.patch [bz#1973029]
495e37
- kvm-spec-Use-make_build-macro.patch [bz#1973029]
495e37
- kvm-spec-Drop-make-install-sharedir-and-datadir-usage.patch [bz#1973029]
495e37
- kvm-spec-use-make_install-macro.patch [bz#1973029]
495e37
- kvm-spec-parallelize-make-check.patch [bz#1973029]
495e37
- kvm-spec-Drop-explicit-build-id.patch [bz#1973029]
495e37
- kvm-spec-use-build_ldflags.patch [bz#1973029]
495e37
- kvm-Move-virtiofsd-to-separate-package.patch [bz#1979728]
495e37
- kvm-Utilize-firmware-configure-option.patch [bz#1980139]
495e37
- Resolves: bz#1838608
495e37
  (aarch64: Enable ARMv8 RAS virtualization support)
495e37
- Resolves: bz#1972079
495e37
  (Windows Installation blocked on 4k disk when using blk+raw+iothread)
495e37
- Resolves: bz#1973029
495e37
  (Spec file cleanups)
495e37
- Resolves: bz#1979728
495e37
  (Split out virtiofsd subpackage)
495e37
- Resolves: bz#1980139
495e37
  (Use configure --firmwarepath more)
495e37
495e37
* Sun Jul 25 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-10
495e37
- kvm-s390x-css-Introduce-an-ESW-struct.patch [bz#1957194]
495e37
- kvm-s390x-css-Split-out-the-IRB-sense-data.patch [bz#1957194]
495e37
- kvm-s390x-css-Refactor-IRB-construction.patch [bz#1957194]
495e37
- kvm-s390x-css-Add-passthrough-IRB.patch [bz#1957194]
495e37
- kvm-vhost-user-blk-Fail-gracefully-on-too-large-queue-si.patch [bz#1957194]
495e37
- kvm-vhost-user-blk-Make-sure-to-set-Error-on-realize-fai.patch [bz#1957194]
495e37
- kvm-vhost-user-blk-Don-t-reconnect-during-initialisation.patch [bz#1957194]
495e37
- kvm-vhost-user-blk-Improve-error-reporting-in-realize.patch [bz#1957194]
495e37
- kvm-vhost-user-blk-Get-more-feature-flags-from-vhost-dev.patch [bz#1957194]
495e37
- kvm-virtio-Fail-if-iommu_platform-is-requested-but-unsup.patch [bz#1957194]
495e37
- kvm-vhost-user-blk-Check-that-num-queues-is-supported-by.patch [bz#1957194]
495e37
- kvm-vhost-user-Fix-backends-without-multiqueue-support.patch [bz#1957194]
495e37
- kvm-file-posix-fix-max_iov-for-dev-sg-devices.patch [bz#1957194]
495e37
- kvm-scsi-generic-pass-max_segments-via-max_iov-field-in-.patch [bz#1957194]
495e37
- kvm-osdep-provide-ROUND_DOWN-macro.patch [bz#1957194]
495e37
- kvm-block-backend-align-max_transfer-to-request-alignmen.patch [bz#1957194]
495e37
- kvm-block-add-max_hw_transfer-to-BlockLimits.patch [bz#1957194]
495e37
- kvm-file-posix-try-BLKSECTGET-on-block-devices-too-do-no.patch [bz#1957194]
495e37
- kvm-block-Add-option-to-use-driver-whitelist-even-in-too.patch [bz#1957782]
495e37
- kvm-spec-Restrict-block-drivers-in-tools.patch [bz#1957782]
495e37
- kvm-Move-tools-to-separate-package.patch [bz#1972285]
495e37
- kvm-Split-qemu-pr-helper-to-separate-package.patch [bz#1972300]
495e37
- kvm-spec-RPM_BUILD_ROOT-buildroot.patch [bz#1973029]
495e37
- kvm-spec-More-use-of-name-instead-of-qemu-kvm.patch [bz#1973029]
495e37
- kvm-spec-Use-qemu-pr-helper.service-from-qemu.git.patch [bz#1973029]
495e37
- kvm-spec-Use-_sourcedir-for-referencing-sources.patch [bz#1973029]
495e37
- kvm-spec-Add-tools_only.patch [bz#1973029]
495e37
- kvm-spec-build-Add-run_configure-helper.patch [bz#1973029]
495e37
- kvm-spec-build-Disable-more-bits-with-disable_everything.patch [bz#1973029]
495e37
- kvm-spec-build-Add-macros-for-some-configure-parameters.patch [bz#1973029]
495e37
- kvm-spec-files-Move-qemu-guest-agent-and-qemu-img-earlie.patch [bz#1973029]
495e37
- kvm-spec-install-Remove-redundant-bits.patch [bz#1973029]
495e37
- kvm-spec-install-Add-modprobe_kvm_conf-macro.patch [bz#1973029]
495e37
- kvm-spec-install-Remove-qemu-guest-agent-etc-qemu-kvm-us.patch [bz#1973029]
495e37
- kvm-spec-install-clean-up-qemu-ga-section.patch [bz#1973029]
495e37
- kvm-spec-install-Use-a-single-tools_only-section.patch [bz#1973029]
495e37
- kvm-spec-Make-tools_only-not-cross-spec-sections.patch [bz#1973029]
495e37
- kvm-spec-install-Limit-time-spent-in-qemu_kvm_build.patch [bz#1973029]
495e37
- kvm-spec-misc-syntactic-merges-with-Fedora.patch [bz#1973029]
495e37
- kvm-spec-Use-Fedora-s-pattern-for-specifying-rc-version.patch [bz#1973029]
495e37
- kvm-spec-files-don-t-use-fine-grained-docs-file-list.patch [bz#1973029]
495e37
- kvm-spec-files-Add-licenses-to-qemu-common-too.patch [bz#1973029]
495e37
- kvm-spec-install-Drop-python3-shebang-fixup.patch [bz#1973029]
495e37
- Resolves: bz#1957194
495e37
  (Synchronize RHEL-AV 8.5.0 changes to RHEL 9.0.0 Beta)
495e37
- Resolves: bz#1957782
495e37
  (VMDK support should be read-only)
495e37
- Resolves: bz#1972285
495e37
  (Split out a qemu-kvm-tools subpackage)
495e37
- Resolves: bz#1972300
495e37
  (Split out a qemu-pr-helper subpackage)
495e37
- Resolves: bz#1973029
495e37
  (Spec file cleanups)
495e37
495e37
* Mon Jul 19 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-9
495e37
- kvm-s390x-cpumodel-add-3931-and-3932.patch [bz#1932191]
495e37
- kvm-spapr-Fix-EEH-capability-issue-on-KVM-guest-for-PCI-.patch [bz#1957194]
495e37
- kvm-ppc-pef.c-initialize-cgs-ready-in-kvmppc_svm_init.patch [bz#1957194]
495e37
- kvm-redhat-Move-qemu-kvm-docs-dependency-to-qemu-kvm.patch [bz#1957194]
495e37
- kvm-redhat-introducting-qemu-kvm-hw-usbredir.patch [bz#1957194]
495e37
- kvm-redhat-use-the-standard-vhost-user-JSON-path.patch [bz#1957194]
495e37
- Resolves: bz#1932191
495e37
  ([IBM 9.0 FEAT] CPU Model for new IBM Z Hardware - qemu part (kvm))
495e37
- Resolves: bz#1957194
495e37
  (Synchronize RHEL-AV 8.5.0 changes to RHEL 9.0.0 Beta)
495e37
495e37
* Mon Jul 12 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-8
495e37
- kvm-Disable-TPM-passthrough.patch [bz#1978911]
495e37
- kvm-redhat-Replace-the-kvm-setup.service-with-a-etc-modu.patch [bz#1978837]
495e37
- Resolves: bz#1978911
495e37
  (Remove TPM Passthrough option from RHEL 9)
495e37
- Resolves: bz#1978837
495e37
  (Remove/replace kvm-setup.service)
495e37
495e37
* Mon Jun 28 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-7
495e37
- kvm-aarch64-rh-devices-add-CONFIG_PXB.patch [bz#1967502]
495e37
- kvm-virtio-gpu-handle-partial-maps-properly.patch [bz#1974795]
495e37
- kvm-x86-Add-x86-rhel8.5-machine-types.patch [bz#1957194]
495e37
- kvm-redhat-x86-Enable-kvm-asyncpf-int-by-default.patch [bz#1957194]
495e37
- kvm-block-backend-add-drained_poll.patch [bz#1957194]
495e37
- kvm-nbd-server-Use-drained-block-ops-to-quiesce-the-serv.patch [bz#1957194]
495e37
- kvm-disable-CONFIG_USB_STORAGE_BOT.patch [bz#1957194]
495e37
- kvm-doc-Fix-some-mistakes-in-the-SEV-documentation.patch [bz#1957194]
495e37
- kvm-docs-Add-SEV-ES-documentation-to-amd-memory-encrypti.patch [bz#1957194]
495e37
- kvm-docs-interop-firmware.json-Add-SEV-ES-support.patch [bz#1957194]
495e37
- kvm-qga-drop-StandardError-syslog.patch [bz#1947977]
495e37
- kvm-Remove-iscsi-support.patch [bz#1967133]
495e37
- Resolves: bz#1967502
495e37
  ([aarch64] [qemu] Compile the PCIe expander bridge)
495e37
- Resolves: bz#1974795
495e37
  ([RHEL9-beta] [aarch64] Launch guest with virtio-gpu-pci and virtual smmu causes "virtio_gpu_dequeue_ctrl_func" ERROR)
495e37
- Resolves: bz#1957194
495e37
  (Synchronize RHEL-AV 8.5.0 changes to RHEL 9.0.0 Beta)
495e37
- Resolves: bz#1947977
495e37
  (remove StandardError=syslog from qemu-guest-agent.service)
495e37
- Resolves: bz#1967133
495e37
  (QEMU: disable libiscsi in RHEL-9)
495e37
495e37
* Mon Jun 21 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-6
495e37
- kvm-yank-Unregister-function-when-using-TLS-migration.patch [bz#1972462]
495e37
- kvm-pc-bios-s390-ccw-don-t-try-to-read-the-next-block-if.patch [bz#1957194]
495e37
- kvm-redhat-Install-the-s390-netboot.img-that-we-ve-built.patch [bz#1957194]
495e37
- kvm-sockets-update-SOCKET_ADDRESS_TYPE_FD-listen-2-backl.patch [bz#1957194]
495e37
- kvm-target-i386-sev-add-support-to-query-the-attestation.patch [bz#1957194]
495e37
- kvm-spapr-Don-t-hijack-current_machine-boot_order.patch [bz#1957194]
495e37
- kvm-target-i386-Add-CPU-model-versions-supporting-xsaves.patch [bz#1957194]
495e37
- kvm-spapr-Remove-stale-comment-about-power-saving-LPCR-b.patch [bz#1957194]
495e37
- kvm-spapr-Set-LPCR-to-current-AIL-mode-when-starting-a-n.patch [bz#1957194]
495e37
- Specfile cleanup [bz#1973029]
495e37
- Resolves: bz#1972462
495e37
  (QEMU core dump when doing TLS migration via TCP)
495e37
- Resolves: bz#1957194
495e37
  (Synchronize RHEL-AV 8.5.0 changes to RHEL 9.0.0 Beta)
495e37
- Resolves: bz#1973029
495e37
  (Spec file cleanups)
495e37
495e37
* Tue Jun 08 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-5
495e37
- kvm-arm-virt-Register-highmem-and-gic-version-as-class-p.patch [bz#1952449]
495e37
- kvm-hw-arm-virt-Add-8.5-and-9.0-machine-types-and-remove.patch [bz#1952449]
495e37
- kvm-aarch64-rh-devices-add-CONFIG_PVPANIC_PCI.patch [bz#1747467]
495e37
- kvm-spec-Do-not-build-qemu-kvm-block-gluster.patch [bz#1964795]
495e37
- kvm-spec-Do-not-link-pcnet-and-ne2k_pci-roms.patch [bz#1965961]
495e37
- kvm-redhat-s390x-add-rhel-8.5.0-compat-machine.patch [bz#1957194]
495e37
- kvm-redhat-add-missing-entries-in-hw_compat_rhel_8_4.patch [bz#1957194]
495e37
- kvm-redhat-Define-pseries-rhel8.5.0-machine-type.patch [bz#1957194]
495e37
- kvm-virtio-net-failover-add-missing-remove_migration_sta.patch [bz#1957194]
495e37
- kvm-hw-arm-virt-Disable-PL011-clock-migration-through-hw.patch [bz#1957194]
495e37
- kvm-virtio-blk-Fix-rollback-path-in-virtio_blk_data_plan.patch [bz#1957194]
495e37
- kvm-virtio-blk-Configure-all-host-notifiers-in-a-single-.patch [bz#1957194]
495e37
- kvm-virtio-scsi-Set-host-notifiers-and-callbacks-separat.patch [bz#1957194]
495e37
- kvm-virtio-scsi-Configure-all-host-notifiers-in-a-single.patch [bz#1957194]
495e37
- kvm-hw-arm-smmuv3-Another-range-invalidation-fix.patch [bz#1957194]
495e37
- Resolves: bz#1952449
495e37
  ([aarch64] define RHEL9 machine types)
495e37
- Resolves: bz#1747467
495e37
  ([aarch64] [qemu] PVPANIC support)
495e37
- Resolves: bz#1964795
495e37
  (Remove qemu-kvm-block-gluster package)
495e37
- Resolves: bz#1965961
495e37
  (Remove links to not build roms)
495e37
- Resolves: bz#1957194
495e37
  (Synchronize RHEL-AV 8.5.0 changes to RHEL 9.0.0 Beta)
495e37
495e37
* Mon May 31 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-4
495e37
- kvm-s390x-redhat-disable-experimental-3270-device.patch
495e37
- Resolves: bz#1962479
495e37
  (Disable the 'x-terminal3270' device in qemu-kvm on s390x)
495e37
495e37
* Tue May 25 2021 Miroslav Reznaina <mrezanin@redhat.com> - 6.0.0-3
495e37
- kvm-hw-s390x-Remove-the-RHEL7-only-machine-type.patch [bz#1944730]
495e37
- Resolves: bz#1944730
495e37
  (Remove RHEL7 machine type (s390-ccw-virtio-rhel7.5.0))
495e37
495e37
* Thu May 13 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-2
495e37
- kvm-Remove-message-with-running-VM-count.patch [bz#1914461]
495e37
- kvm-Remove-SPICE-and-QXL-from-x86_64-rh-devices.mak.patch [bz#1906168]
495e37
- kvm-spec-file-build-qemu-kvm-without-SPICE-and-QXL.patch [bz#1906168]
495e37
- kvm-spec-file-Obsolete-qemu-kvm-ui-spice.patch [bz#1906168]
495e37
- Resolves: bz#1914461
495e37
  (Remove KVM guest count and limit info message)
495e37
- Resolves: bz#1906168
495e37
  ([RHEL-9] qemu-kvm spec-file: Do not BuildRequire spice)
495e37
495e37
* Fri Apr 30 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.0.0-1
495e37
- Rebase to QEMU 6.0
495e37
- Resolves: bz#1872569
495e37
495e37
* Mon Apr 26 2021 Miroslav Rezanina <mrezanin@redhat.com> - 5.2.0-16
495e37
- kvm-Limit-build-on-Power-to-qemu-img-and-qemu-ga-only.patch [bz#1944056]
495e37
- Resolves: bz#1944056
495e37
  (Do not build qemu-kvm for Power)
495e37
495e37
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 15:5.2.0-15
495e37
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
495e37
495e37
* Sat Mar 20 2021 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 5.2.0-14.el8
495e37
- kvm-vhost-user-blk-fix-blkcfg-num_queues-endianness.patch [bz#1937004]
495e37
- kvm-block-export-fix-blk_size-double-byteswap.patch [bz#1937004]
495e37
- kvm-block-export-use-VIRTIO_BLK_SECTOR_BITS.patch [bz#1937004]
495e37
- kvm-block-export-fix-vhost-user-blk-export-sector-number.patch [bz#1937004]
495e37
- kvm-block-export-port-virtio-blk-discard-write-zeroes-in.patch [bz#1937004]
495e37
- kvm-block-export-port-virtio-blk-read-write-range-check.patch [bz#1937004]
495e37
- kvm-spec-ui-spice-sub-package.patch [bz#1936373]
495e37
- kvm-spec-ui-opengl-sub-package.patch [bz#1936373]
495e37
- Resolves: bz#1937004
495e37
  (vhost-user-blk server endianness and input validation fixes)
495e37
- Resolves: bz#1936373
495e37
  (move spice & opengl modules to rpm subpackages)
495e37
495e37
* Tue Mar 16 2021 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 5.2.0-13.el8
495e37
- kvm-i386-acpi-restore-device-paths-for-pre-5.1-vms.patch [bz#1934158]
495e37
- Resolves: bz#1934158
495e37
  (Windows guest looses network connectivity when NIC was configured with static IP)
495e37
495e37
* Mon Mar 15 2021 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 5.2.0-12.el8
495e37
- kvm-scsi-disk-move-scsi_handle_rw_error-earlier.patch [bz#1927530]
495e37
- kvm-scsi-disk-do-not-complete-requests-early-for-rerror-.patch [bz#1927530]
495e37
- kvm-scsi-introduce-scsi_sense_from_errno.patch [bz#1927530]
495e37
- kvm-scsi-disk-pass-SCSI-status-to-scsi_handle_rw_error.patch [bz#1927530]
495e37
- kvm-scsi-disk-pass-guest-recoverable-errors-through-even.patch [bz#1927530]
495e37
- kvm-hw-intc-arm_gic-Fix-interrupt-ID-in-GICD_SGIR-regist.patch [bz#1936948]
495e37
- Resolves: bz#1927530
495e37
  (RHEL8 Hypervisor - OVIRT  - Issues seen on a virtualization guest with direct passthrough LUNS  pausing when a host gets a Thin threshold warning)
495e37
- Resolves: bz#1936948
495e37
  (CVE-2021-20221 virt:av/qemu-kvm: qemu: out-of-bound heap buffer access via an interrupt ID field [rhel-av-8.4.0])
495e37
495e37
* Mon Mar 08 2021 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 5.2.0-11.el8
495e37
- kvm-qxl-set-qxl.ssd.dcl.con-on-secondary-devices.patch [bz#1932190]
495e37
- kvm-qxl-also-notify-the-rendering-is-done-when-skipping-.patch [bz#1932190]
495e37
- kvm-virtiofsd-Save-error-code-early-at-the-failure-calls.patch [bz#1935071]
495e37
- kvm-virtiofs-drop-remapped-security.capability-xattr-as-.patch [bz#1935071]
495e37
- Resolves: bz#1932190
495e37
  (Timeout when dump the screen from 2nd VGA)
495e37
- Resolves: bz#1935071
495e37
  (CVE-2021-20263 virt:8.4/qemu-kvm: QEMU: virtiofsd: 'security.capabilities' is not dropped with xattrmap option [rhel-av-8])
495e37
495e37
* Wed Mar 03 2021 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 5.2.0-10.el8
495e37
- kvm-migration-dirty-bitmap-Use-struct-for-alias-map-inne.patch [bz#1930757]
495e37
- kvm-migration-dirty-bitmap-Allow-control-of-bitmap-persi.patch [bz#1930757]
495e37
- kvm-qemu-iotests-300-Add-test-case-for-modifying-persist.patch [bz#1930757]
495e37
- kvm-failover-fix-indentantion.patch [bz#1819991]
495e37
- kvm-failover-Use-always-atomics-for-primary_should_be_hi.patch [bz#1819991]
495e37
- kvm-failover-primary-bus-is-only-used-once-and-where-it-.patch [bz#1819991]
495e37
- kvm-failover-Remove-unused-parameter.patch [bz#1819991]
495e37
- kvm-failover-Remove-external-partially_hotplugged-proper.patch [bz#1819991]
495e37
- kvm-failover-qdev_device_add-returns-err-or-dev-set.patch [bz#1819991]
495e37
- kvm-failover-Rename-bool-to-failover_primary_hidden.patch [bz#1819991]
495e37
- kvm-failover-g_strcmp0-knows-how-to-handle-NULL.patch [bz#1819991]
495e37
- kvm-failover-Remove-primary_device_opts.patch [bz#1819991]
495e37
- kvm-failover-remove-standby_id-variable.patch [bz#1819991]
495e37
- kvm-failover-Remove-primary_device_dict.patch [bz#1819991]
495e37
- kvm-failover-Remove-memory-leak.patch [bz#1819991]
495e37
- kvm-failover-simplify-virtio_net_find_primary.patch [bz#1819991]
495e37
- kvm-failover-should_be_hidden-should-take-a-bool.patch [bz#1819991]
495e37
- kvm-failover-Rename-function-to-hide_device.patch [bz#1819991]
495e37
- kvm-failover-virtio_net_connect_failover_devices-does-no.patch [bz#1819991]
495e37
- kvm-failover-Rename-to-failover_find_primary_device.patch [bz#1819991]
495e37
- kvm-failover-simplify-qdev_device_add-failover-case.patch [bz#1819991]
495e37
- kvm-failover-simplify-qdev_device_add.patch [bz#1819991]
495e37
- kvm-failover-make-sure-that-id-always-exist.patch [bz#1819991]
495e37
- kvm-failover-remove-failover_find_primary_device-error-p.patch [bz#1819991]
495e37
- kvm-failover-split-failover_find_primary_device_id.patch [bz#1819991]
495e37
- kvm-failover-We-don-t-need-to-cache-primary_device_id-an.patch [bz#1819991]
495e37
- kvm-failover-Caller-of-this-two-functions-already-have-p.patch [bz#1819991]
495e37
- kvm-failover-simplify-failover_unplug_primary.patch [bz#1819991]
495e37
- kvm-failover-Remove-primary_dev-member.patch [bz#1819991]
495e37
- kvm-virtio-net-add-missing-object_unref.patch [bz#1819991]
495e37
- kvm-x86-cpu-Populate-SVM-CPUID-feature-bits.patch [bz#1926785]
495e37
- kvm-i386-Add-the-support-for-AMD-EPYC-3rd-generation-pro.patch [bz#1926785]
495e37
- Resolves: bz#1930757
495e37
  (Allow control of block-dirty-bitmap persistence via 'block-bitmap-mapping')
495e37
- Resolves: bz#1819991
495e37
  (Hostdev type interface with net failover enabled exists in domain xml and doesn't reattach to host after hot-unplug)
495e37
- Resolves: bz#1926785
495e37
  ([RFE] AMD Milan - Add KVM/support for EPYC-Milan CPU Model - Fast Train)
495e37
495e37
* Mon Mar 01 2021 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 5.2.0-9.el8
495e37
- kvm-docs-generate-qemu-storage-daemon-qmp-ref-7-man-page.patch [bz#1901323]
495e37
- kvm-docs-add-qemu-storage-daemon-1-man-page.patch [bz#1901323]
495e37
- kvm-docs-Add-qemu-storage-daemon-1-manpage-to-meson.buil.patch [bz#1901323]
495e37
- kvm-qemu-storage-daemon-Enable-object-add.patch [bz#1901323]
495e37
- kvm-spec-Package-qemu-storage-daemon.patch [bz#1901323]
495e37
- kvm-default-configs-Enable-vhost-user-blk.patch [bz#1930033]
495e37
- kvm-qemu-nbd-Use-SOMAXCONN-for-socket-listen-backlog.patch [bz#1925345]
495e37
- kvm-pcie-don-t-set-link-state-active-if-the-slot-is-empt.patch [bz#1917654]
495e37
- Resolves: bz#1901323
495e37
  (QSD (QEMU Storage Daemon): basic support - TechPreview)
495e37
- Resolves: bz#1930033
495e37
  (enable vhost-user-blk device)
495e37
- Resolves: bz#1925345
495e37
  (qemu-nbd needs larger backlog for Unix socket listen())
495e37
- Resolves: bz#1917654
495e37
  ([failover vf migration][RHEL84 vm] After start a vm with a failover vf + a failover virtio net device, the failvoer vf do not exist in the vm)
495e37
495e37
* Fri Feb 19 2021 Eduardo Lima (Etrunko) <elima@redhat.com> - 5.2.0-8.el8
495e37
- kvm-block-nbd-only-detach-existing-iochannel-from-aio_co.patch [bz#1887883]
495e37
- kvm-block-nbd-only-enter-connection-coroutine-if-it-s-pr.patch [bz#1887883]
495e37