Skip to content

Commit

Permalink
versions: Bump QEMU to v7.2.0
Browse files Browse the repository at this point in the history
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: https://github.com/qemu/qemu/blob/a8d6abe1292e1db1ad9be5b2b124b9c01bcda094/docs/about/deprecated.rst#virtiofsd

Fixes: kata-containers#6102

Signed-off-by: Fabiano Fidêncio <[email protected]>
  • Loading branch information
fidencio committed Jan 18, 2023
1 parent 083facd commit 676d028
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
Empty file.
Empty file.
13 changes: 10 additions & 3 deletions tools/packaging/scripts/configure-hypervisor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ assets:
qemu:
description: "VMM that uses KVM"
url: "https://github.com/qemu/qemu"
version: "v6.2.0"
tag: "v6.2.0"
version: "v7.2.0"
tag: "v7.2.0"
# Do not include any non-full release versions
# Break the line *without CR or space being appended*, to appease
# yamllint, and note the deliberate ' ' at the end of the expression.
Expand Down

0 comments on commit 676d028

Please sign in to comment.