From ac403cfa5a84e1132d6c56dc2fd3007a57dbe562 Mon Sep 17 00:00:00 2001 From: Zvonko Kaiser Date: Thu, 13 Oct 2022 10:39:49 +0200 Subject: [PATCH] doc: Update how-to-run-kata-containers-with-SNP-VMs.md If the needed libraries (for virtfs) are installed on the host, QEMU will pick it up and enable it. If not installed and you do not enable the flag, QEMU will just ignore it, and you end up without 9p support. Enabling it explicitly will fail if the needed libs are not installed so this way we can be sure that it gets build. Fixes: #5418 Signed-off-by: Zvonko Kaiser --- docs/how-to/how-to-run-kata-containers-with-SNP-VMs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 bc4e14a10d..a87c9be62b 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 @@ -50,7 +50,7 @@ $ qemu_commit="$(get_from_kata_deps "assets.hypervisor.qemu.snp.commit")" $ git clone -b "${qemu_branch}" "${qemu_url}" $ pushd qemu $ git checkout "${qemu_commit}" -$ ./configure --target-list=x86_64-softmmu --enable-debug +$ ./configure --enable-virtfs --target-list=x86_64-softmmu --enable-debug $ make -j "$(nproc)" $ popd ```