mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-20 16:27:52 +00:00
versions: Bump QEMU to v7.2.0
As QEMU released its v7.2.0 version in December last year, last do the
bump on our side.
A few configuration options have been removed between the v6.2.0 (the
version we currently use) and v7.2.0, so those have also been dropped
from our configure-hypervison.sh script (for this specific version).
Also, we're explicitly setting --disable-virtiofsd for the platforms
that we're testing using the rust version.
See: a8d6abe129/docs/about/deprecated.rst (virtiofsd)
Fixes: #6102
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
@@ -242,7 +242,9 @@ generate_qemu_options() {
|
||||
# Disable graphical network access
|
||||
qemu_options+=(size:--disable-vnc)
|
||||
qemu_options+=(size:--disable-vnc-jpeg)
|
||||
qemu_options+=(size:--disable-vnc-png)
|
||||
if ! gt_eq "${qemu_version}" "7.2.0" ; then
|
||||
qemu_options+=(size:--disable-vnc-png)
|
||||
fi
|
||||
qemu_options+=(size:--disable-vnc-sasl)
|
||||
|
||||
# Disable PAM authentication: it's a feature used together with VNC access
|
||||
@@ -330,13 +332,16 @@ generate_qemu_options() {
|
||||
# building QEMU.
|
||||
case "$arch" in
|
||||
aarch64)
|
||||
qemu_options+=(functionality:--disable-virtiofsd)
|
||||
;;
|
||||
x86_64)
|
||||
qemu_options+=(functionality:--disable-virtiofsd)
|
||||
;;
|
||||
ppc64le)
|
||||
qemu_options+=(functionality:--enable-virtiofsd)
|
||||
;;
|
||||
s390x)
|
||||
qemu_options+=(functionality:--disable-virtiofsd)
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -353,8 +358,10 @@ generate_qemu_options() {
|
||||
qemu_options+=(size:--disable-vde)
|
||||
|
||||
# Don't build other options which can't be depent on build server.
|
||||
qemu_options+=(size:--disable-xfsctl)
|
||||
qemu_options+=(size:--disable-libxml2)
|
||||
if ! gt_eq "${qemu_version}" "7.2.0" ; then
|
||||
qemu_options+=(size:--disable-xfsctl)
|
||||
qemu_options+=(size:--disable-libxml2)
|
||||
fi
|
||||
qemu_options+=(size:--disable-nettle)
|
||||
|
||||
# Disable XEN driver
|
||||
|
Reference in New Issue
Block a user