From 7a58a91fa6d64b8a4324061f56d7733dd6c7e242 Mon Sep 17 00:00:00 2001 From: Tobin Feldman-Fitzthum Date: Fri, 21 Apr 2023 15:58:12 +0000 Subject: [PATCH] docs: update SNP guide Since we reshuffled versions.yaml, update the guide so that we can find the SNP QEMU info. Once runtime support is merged we should overhaul or remove this guide, but let's keep it for now. Signed-off-by: Tobin Feldman-Fitzthum --- docs/how-to/how-to-run-kata-containers-with-SNP-VMs.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/how-to/how-to-run-kata-containers-with-SNP-VMs.md b/docs/how-to/how-to-run-kata-containers-with-SNP-VMs.md index a87c9be62..3a56cbba2 100644 --- a/docs/how-to/how-to-run-kata-containers-with-SNP-VMs.md +++ b/docs/how-to/how-to-run-kata-containers-with-SNP-VMs.md @@ -44,12 +44,11 @@ $ popd - Build a custom QEMU ```bash $ source kata-containers/tools/packaging/scripts/lib.sh -$ qemu_url="$(get_from_kata_deps "assets.hypervisor.qemu.snp.url")" -$ qemu_branch="$(get_from_kata_deps "assets.hypervisor.qemu.snp.branch")" -$ qemu_commit="$(get_from_kata_deps "assets.hypervisor.qemu.snp.commit")" -$ git clone -b "${qemu_branch}" "${qemu_url}" +$ qemu_url="$(get_from_kata_deps "assets.hypervisor.qemu-snp-experimental.url")" +$ qemu_tag="$(get_from_kata_deps "assets.hypervisor.qemu-snp-experimental.tag")" +$ git clone "${qemu_url}" $ pushd qemu -$ git checkout "${qemu_commit}" +$ git checkout "${qemu_tag}" $ ./configure --enable-virtfs --target-list=x86_64-softmmu --enable-debug $ make -j "$(nproc)" $ popd