mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-07 07:57:43 +00:00
qemu: Bump version, new options, add no_patches
We want to have the latest QEMU version available which is as of this writing v9.1.2 Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com> qemu: Add new options for 9.1.2 We need to fence specific options depending on the version and disable ones that are not needed anymore Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com> qemu: Add no_patches.txt Since we do not have any patches for this version let's create the appropriate files. Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
parent
69ed4bc3b7
commit
cc9ecedaea
tools/packaging
versions.yaml
0
tools/packaging/qemu/patches/9.1.x/no_patches.txt
Normal file
0
tools/packaging/qemu/patches/9.1.x/no_patches.txt
Normal file
@ -222,9 +222,6 @@ generate_qemu_options() {
|
||||
|
||||
# Disabled options
|
||||
|
||||
# Disable block migration in the main migration stream
|
||||
qemu_options+=(size:--disable-live-block-migration)
|
||||
|
||||
# braille support not required
|
||||
qemu_options+=(size:--disable-brlapi)
|
||||
|
||||
@ -397,6 +394,23 @@ generate_qemu_options() {
|
||||
qemu_options+=(size:--disable-vhdx)
|
||||
qemu_options+=(size:--disable-hv-balloon)
|
||||
|
||||
# Disable various features based on the qemu_version
|
||||
if gt_eq "${qemu_version}" "9.1.0" ; then
|
||||
# Disable Query Processing Library support
|
||||
qemu_options+=(size:--disable-qpl)
|
||||
# Disable UADK Library support
|
||||
qemu_options+=(size:--disable-uadk)
|
||||
# Disable syscall buffer debugging support
|
||||
qemu_options+=(size:--disable-debug-remap)
|
||||
|
||||
fi
|
||||
|
||||
# Disable gio support
|
||||
qemu_options+=(size:--disable-gio)
|
||||
# Disable libdaxctl part of ndctl support
|
||||
qemu_options+=(size:--disable-libdaxctl)
|
||||
qemu_options+=(size:--disable-oss)
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
# Enabled options
|
||||
|
||||
@ -409,6 +423,7 @@ generate_qemu_options() {
|
||||
|
||||
# Support Linux AIO (native)
|
||||
qemu_options+=(size:--enable-linux-aio)
|
||||
qemu_options+=(size:--enable-linux-io-uring)
|
||||
|
||||
# Support Ceph RADOS Block Device (RBD)
|
||||
[ -z "${static}" ] && qemu_options+=(functionality:--enable-rbd)
|
||||
@ -427,7 +442,7 @@ generate_qemu_options() {
|
||||
# for that architecture
|
||||
if [ "$arch" == x86_64 ]; then
|
||||
qemu_options+=(speed:--enable-avx2)
|
||||
qemu_options+=(speed:--enable-avx512f)
|
||||
qemu_options+=(speed:--enable-avx512bw)
|
||||
else
|
||||
qemu_options+=(speed:--disable-avx2)
|
||||
fi
|
||||
|
@ -88,8 +88,8 @@ assets:
|
||||
qemu:
|
||||
description: "VMM that uses KVM"
|
||||
url: "https://github.com/qemu/qemu"
|
||||
version: "v8.2.4"
|
||||
tag: "v8.2.4"
|
||||
version: "v9.1.2"
|
||||
tag: "v9.1.2"
|
||||
# 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.
|
||||
|
Loading…
Reference in New Issue
Block a user