packaging: qemu-snp-experimental: support host kernel with gmem

This is required to allow creation of SNP coco on host kernel
(e.g. https://github.com/AMDESE/linux ,branch:snp-host-latest)
supporting guest private memory for SNP using gmem.

Note: This qemu does not work if the host kernel does not support
gmem/UPM.

Fixes: #9092

Signed-off-by: Niteesh Dubey <niteesh@us.ibm.com>
This commit is contained in:
Niteesh Dubey
2024-02-13 15:32:25 +00:00
parent 8fe7349d3e
commit 0538bbfc49
5 changed files with 8 additions and 3 deletions

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 && \