Merge pull request #9086 from niteeshkd/nd_snp_upm

packaging: qemu-snp-experimental: support host kernel with gmem
This commit is contained in:
Ryan Savino 2024-02-19 10:50:13 -06:00 committed by GitHub
commit 61ce7455c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 3 deletions

View File

@ -328,7 +328,11 @@ generate_qemu_options() {
# From Kata Containers 2.5.0-alpha2 all arches but powerpc have been
# using the new implementation of virtiofs daemon, which is not part
# of QEMU.
qemu_options+=(functionality:--disable-virtiofsd)
#
# qemu configure does not support virtiofsd if qemu version >= 8.0.0.
if ! gt_eq "${qemu_version}" "8.0.0" ; then
qemu_options+=(functionality:--disable-virtiofsd)
fi
qemu_options+=(functionality:--enable-virtfs)

View File

@ -60,6 +60,7 @@ RUN apt-get update && apt-get upgrade -y && \
patch \
python \
python-dev \
python3-venv \
rsync \
zlib1g-dev${DPKG_ARCH} && \
if [ "${ARCH}" != s390x ]; then apt-get install -y --no-install-recommends libpmem-dev${DPKG_ARCH}; fi && \

View File

@ -106,9 +106,9 @@ assets:
tag: "b67b00e6b4c7831a3f5bc684bc0df7a9bfd1bd56-plus-TDX-v1.10"
qemu-snp-experimental:
description: "QEMU with experimental SNP support (no UPM)"
description: "QEMU with experimental SNP support"
url: "https://github.com/AMDESE/qemu"
tag: "3b6a2b6b7466f6dea53243900b7516c3f29027b7"
tag: "b6ee1218e6c9b98a556841615dd10d094e648393"
stratovirt:
description: "StratoVirt is an lightweight opensource VMM"