* Fri Sep 10 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-2
- kvm-hw-arm-virt-Remove-9.0-machine-type.patch [bz#2002937] - kvm-remove-sgabios-dependency.patch [bz#2000845] - kvm-enable-pulseaudio.patch [bz#1997725] - kvm-spec-disable-use-of-gcrypt-for-crypto-backends-in-fa.patch [bz#1990068] - Resolves: bz#2002937 ([qemu][aarch64] Remove 9.0 machine types in arm virt for 9-Beta) - Resolves: bz#2000845 (RFE: Remove SGA, deprecate cirrus, and set defaults for QEMU machine-types in RHEL9) - Resolves: bz#1997725 (RFE: enable pulseaudio backend on QEMU) - Resolves: bz#1990068 (Disable use of gcrypt for crypto backends in favour of gnutls)
This commit is contained in:
parent
0e8a3698bc
commit
58405e9e36
53
kvm-hw-arm-virt-Remove-9.0-machine-type.patch
Normal file
53
kvm-hw-arm-virt-Remove-9.0-machine-type.patch
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
From 8dc162b2ae2e412c7d4e0d46f7a11001c34263dc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Andrew Jones <drjones@redhat.com>
|
||||||
|
Date: Mon, 23 Aug 2021 18:57:11 +0200
|
||||||
|
Subject: [PATCH 1/4] hw/arm/virt: Remove 9.0 machine type
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
RH-Author: Andrew Jones <drjones@redhat.com>
|
||||||
|
RH-MergeRequest: 38: hw/arm/virt: Remove 9.0 machine type
|
||||||
|
RH-Commit: [1/1 35c0734886622b88f6a715f13fba8f65331f7a82
|
||||||
|
RH-Bugzilla: 2002937
|
||||||
|
RH-Acked-by: Daniel P. Berrangé <berrange@redhat.com>
|
||||||
|
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
||||||
|
RH-Acked-by: Gavin Shan <gshan@redhat.com>
|
||||||
|
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
|
||||||
|
|
||||||
|
Testing: '/usr/libexec/qemu-kvm -M help' and sample VM run
|
||||||
|
|
||||||
|
Remove the 9.0 machine type for RHEL9 Beta to align with other
|
||||||
|
architectures. Also, like other architectures, the 8.5 machine
|
||||||
|
type should be the RHEL9 Beta default.
|
||||||
|
|
||||||
|
Signed-off-by: Andrew Jones <drjones@redhat.com>
|
||||||
|
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
||||||
|
---
|
||||||
|
hw/arm/virt.c | 10 ++--------
|
||||||
|
1 file changed, 2 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
|
||||||
|
index 3c8e6de36d..9e7cb687dc 100644
|
||||||
|
--- a/hw/arm/virt.c
|
||||||
|
+++ b/hw/arm/virt.c
|
||||||
|
@@ -3145,14 +3145,8 @@ static void rhel_machine_init(void)
|
||||||
|
}
|
||||||
|
type_init(rhel_machine_init);
|
||||||
|
|
||||||
|
-static void rhel900_virt_options(MachineClass *mc)
|
||||||
|
-{
|
||||||
|
- compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
|
||||||
|
-}
|
||||||
|
-DEFINE_RHEL_MACHINE_AS_LATEST(9, 0, 0)
|
||||||
|
-
|
||||||
|
static void rhel850_virt_options(MachineClass *mc)
|
||||||
|
{
|
||||||
|
- rhel900_virt_options(mc);
|
||||||
|
+ compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
|
||||||
|
}
|
||||||
|
-DEFINE_RHEL_MACHINE(8, 5, 0)
|
||||||
|
+DEFINE_RHEL_MACHINE_AS_LATEST(8, 5, 0)
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
@ -106,7 +106,7 @@
|
|||||||
%global block_drivers_rw_list qcow2,raw,file,host_device,nbd,iscsi,rbd,blkdebug,luks,null-co,nvme,copy-on-read,throttle
|
%global block_drivers_rw_list qcow2,raw,file,host_device,nbd,iscsi,rbd,blkdebug,luks,null-co,nvme,copy-on-read,throttle
|
||||||
%global block_drivers_ro_list vmdk,vhdx,vpc,https,ssh
|
%global block_drivers_ro_list vmdk,vhdx,vpc,https,ssh
|
||||||
%define qemudocdir %{_docdir}/%{name}
|
%define qemudocdir %{_docdir}/%{name}
|
||||||
%global firmwaredirs "%{_datadir}/qemu-firmware:%{_datadir}/ipxe/qemu:%{_datadir}/seavgabios:%{_datadir}/seabios:%{_datadir}/sgabios"
|
%global firmwaredirs "%{_datadir}/qemu-firmware:%{_datadir}/ipxe/qemu:%{_datadir}/seavgabios:%{_datadir}/seabios"
|
||||||
|
|
||||||
#Versions of various parts:
|
#Versions of various parts:
|
||||||
|
|
||||||
@ -119,7 +119,8 @@ Requires: %{name}-hw-usbredir = %{epoch}:%{version}-%{release} \
|
|||||||
%endif \
|
%endif \
|
||||||
Requires: %{name}-block-curl = %{epoch}:%{version}-%{release} \
|
Requires: %{name}-block-curl = %{epoch}:%{version}-%{release} \
|
||||||
Requires: %{name}-block-rbd = %{epoch}:%{version}-%{release} \
|
Requires: %{name}-block-rbd = %{epoch}:%{version}-%{release} \
|
||||||
Requires: %{name}-block-ssh = %{epoch}:%{version}-%{release}
|
Requires: %{name}-block-ssh = %{epoch}:%{version}-%{release} \
|
||||||
|
Requires: %{name}-audio-pa = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
# Since SPICE is removed from RHEL-9, the following Obsoletes:
|
# Since SPICE is removed from RHEL-9, the following Obsoletes:
|
||||||
# removes {name}-ui-spice for upgrades from RHEL-8
|
# removes {name}-ui-spice for upgrades from RHEL-8
|
||||||
@ -134,7 +135,7 @@ Obsoletes: %{name}-block-iscsi <= %{version} \
|
|||||||
Summary: QEMU is a machine emulator and virtualizer
|
Summary: QEMU is a machine emulator and virtualizer
|
||||||
Name: qemu-kvm
|
Name: qemu-kvm
|
||||||
Version: 6.1.0
|
Version: 6.1.0
|
||||||
Release: 1%{?rcrel}%{?dist}%{?cc_suffix}
|
Release: 2%{?rcrel}%{?dist}%{?cc_suffix}
|
||||||
# Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped
|
# Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped
|
||||||
# Epoch 15 used for RHEL 8
|
# Epoch 15 used for RHEL 8
|
||||||
# Epoch 17 used for RHEL 9 (due to release versioning offset in RHEL 8.5)
|
# Epoch 17 used for RHEL 9 (due to release versioning offset in RHEL 8.5)
|
||||||
@ -181,6 +182,8 @@ Patch0015: 0015-Use-qemu-kvm-in-documentation-instead-of-qemu-system.patch
|
|||||||
Patch0016: 0016-virtio-scsi-Reject-scsi-cd-if-data-plane-enabled-RHE.patch
|
Patch0016: 0016-virtio-scsi-Reject-scsi-cd-if-data-plane-enabled-RHE.patch
|
||||||
Patch0017: 0017-BZ1653590-Require-at-least-64kiB-pages-for-downstrea.patch
|
Patch0017: 0017-BZ1653590-Require-at-least-64kiB-pages-for-downstrea.patch
|
||||||
Patch0018: 0018-qcow2-Deprecation-warning-when-opening-v2-images-rw.patch
|
Patch0018: 0018-qcow2-Deprecation-warning-when-opening-v2-images-rw.patch
|
||||||
|
# For bz#2002937 - [qemu][aarch64] Remove 9.0 machine types in arm virt for 9-Beta
|
||||||
|
Patch19: kvm-hw-arm-virt-Remove-9.0-machine-type.patch
|
||||||
|
|
||||||
# Source-git patches
|
# Source-git patches
|
||||||
|
|
||||||
@ -236,7 +239,6 @@ BuildRequires: lzo-devel snappy-devel
|
|||||||
%if %{have_numactl}
|
%if %{have_numactl}
|
||||||
BuildRequires: numactl-devel
|
BuildRequires: numactl-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libgcrypt-devel
|
|
||||||
# qemu-pr-helper multipath support (requires libudev too)
|
# qemu-pr-helper multipath support (requires libudev too)
|
||||||
BuildRequires: device-mapper-multipath-devel
|
BuildRequires: device-mapper-multipath-devel
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
@ -252,6 +254,7 @@ BuildRequires: pkgconfig(gbm)
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: perl-Test-Harness
|
BuildRequires: perl-Test-Harness
|
||||||
BuildRequires: libslirp-devel
|
BuildRequires: libslirp-devel
|
||||||
|
BuildRequires: pulseaudio-libs-devel
|
||||||
|
|
||||||
|
|
||||||
# Requires for qemu-kvm package
|
# Requires for qemu-kvm package
|
||||||
@ -304,7 +307,6 @@ Requires(preun): systemd-units
|
|||||||
Requires(postun): systemd-units
|
Requires(postun): systemd-units
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
Requires: seabios-bin >= 1.10.2-1
|
Requires: seabios-bin >= 1.10.2-1
|
||||||
Requires: sgabios-bin
|
|
||||||
%endif
|
%endif
|
||||||
%ifnarch aarch64 s390x
|
%ifnarch aarch64 s390x
|
||||||
Requires: seavgabios-bin >= 1.12.0-3
|
Requires: seavgabios-bin >= 1.12.0-3
|
||||||
@ -413,6 +415,13 @@ Install this package if you want to access remote disks using
|
|||||||
the Secure Shell (SSH) protocol.
|
the Secure Shell (SSH) protocol.
|
||||||
|
|
||||||
|
|
||||||
|
%package audio-pa
|
||||||
|
Summary: QEMU PulseAudio audio driver
|
||||||
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
%description audio-pa
|
||||||
|
This package provides the additional PulseAudio audio driver for QEMU.
|
||||||
|
|
||||||
|
|
||||||
%if %{have_opengl}
|
%if %{have_opengl}
|
||||||
%package ui-opengl
|
%package ui-opengl
|
||||||
Summary: QEMU opengl support
|
Summary: QEMU opengl support
|
||||||
@ -615,6 +624,7 @@ run_configure \
|
|||||||
%if %{defined block_drivers_ro_list}
|
%if %{defined block_drivers_ro_list}
|
||||||
--block-drv-ro-whitelist=%{block_drivers_ro_list} \
|
--block-drv-ro-whitelist=%{block_drivers_ro_list} \
|
||||||
%endif
|
%endif
|
||||||
|
--audio-drv-list=pa \
|
||||||
--enable-attr \
|
--enable-attr \
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
--enable-avx2 \
|
--enable-avx2 \
|
||||||
@ -628,7 +638,6 @@ run_configure \
|
|||||||
%if %{have_fdt}
|
%if %{have_fdt}
|
||||||
--enable-fdt \
|
--enable-fdt \
|
||||||
%endif
|
%endif
|
||||||
--enable-gcrypt \
|
|
||||||
--enable-gnutls \
|
--enable-gnutls \
|
||||||
--enable-guest-agent \
|
--enable-guest-agent \
|
||||||
--enable-iconv \
|
--enable-iconv \
|
||||||
@ -928,7 +937,6 @@ rm -rf %{buildroot}%{_datadir}/%{name}/pxe*rom
|
|||||||
rm -rf %{buildroot}%{_datadir}/%{name}/vgabios*bin
|
rm -rf %{buildroot}%{_datadir}/%{name}/vgabios*bin
|
||||||
# Provided by package seabios
|
# Provided by package seabios
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/bios*.bin
|
rm -rf %{buildroot}%{_datadir}/%{name}/bios*.bin
|
||||||
# Provided by package sgabios
|
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/sgabios.bin
|
rm -rf %{buildroot}%{_datadir}/%{name}/sgabios.bin
|
||||||
|
|
||||||
|
|
||||||
@ -1149,6 +1157,8 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
|
|||||||
%endif
|
%endif
|
||||||
%files block-ssh
|
%files block-ssh
|
||||||
%{_libdir}/%{name}/block-ssh.so
|
%{_libdir}/%{name}/block-ssh.so
|
||||||
|
%files audio-pa
|
||||||
|
%{_libdir}/%{name}/audio-pa.so
|
||||||
|
|
||||||
%if %{have_opengl}
|
%if %{have_opengl}
|
||||||
%files ui-opengl
|
%files ui-opengl
|
||||||
@ -1165,6 +1175,20 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 10 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-2
|
||||||
|
- kvm-hw-arm-virt-Remove-9.0-machine-type.patch [bz#2002937]
|
||||||
|
- kvm-remove-sgabios-dependency.patch [bz#2000845]
|
||||||
|
- kvm-enable-pulseaudio.patch [bz#1997725]
|
||||||
|
- kvm-spec-disable-use-of-gcrypt-for-crypto-backends-in-fa.patch [bz#1990068]
|
||||||
|
- Resolves: bz#2002937
|
||||||
|
([qemu][aarch64] Remove 9.0 machine types in arm virt for 9-Beta)
|
||||||
|
- Resolves: bz#2000845
|
||||||
|
(RFE: Remove SGA, deprecate cirrus, and set defaults for QEMU machine-types in RHEL9)
|
||||||
|
- Resolves: bz#1997725
|
||||||
|
(RFE: enable pulseaudio backend on QEMU)
|
||||||
|
- Resolves: bz#1990068
|
||||||
|
(Disable use of gcrypt for crypto backends in favour of gnutls)
|
||||||
|
|
||||||
* Thu Sep 02 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-1
|
* Thu Sep 02 2021 Miroslav Rezanina <mrezanin@redhat.com> - 6.1.0-1
|
||||||
- Rebase to QEMU 6.1.0 [bz#1997408]
|
- Rebase to QEMU 6.1.0 [bz#1997408]
|
||||||
- Resolves: #bz#1997408
|
- Resolves: #bz#1997408
|
||||||
|
Loading…
Reference in New Issue
Block a user