From c5a59caca142c332001aabec87b6c7a4b219b243 Mon Sep 17 00:00:00 2001 From: Amulyam24 Date: Fri, 12 May 2023 11:59:04 +0530 Subject: [PATCH] ppc64le: switch virtiofsd from C to rust version We have been using the C version of virtiofsd on ppc64le. Now that the issue with rust virtiofsd have been fixed, let's switch to it. Fixes: #4259 Signed-off-by: Amulyam24 --- src/runtime/Makefile | 3 --- tools/packaging/scripts/configure-hypervisor.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/runtime/Makefile b/src/runtime/Makefile index 776da3ef49..aaaca5aeb3 100644 --- a/src/runtime/Makefile +++ b/src/runtime/Makefile @@ -217,9 +217,6 @@ DEFSHAREDFS_QEMU_TDX_VIRTIOFS := virtio-9p DEFSHAREDFS_QEMU_SEV_VIRTIOFS := virtio-9p DEFSHAREDFS_QEMU_SNP_VIRTIOFS := virtio-9p DEFVIRTIOFSDAEMON := $(LIBEXECDIR)/virtiofsd -ifeq ($(ARCH),ppc64le) -DEFVIRTIOFSDAEMON := $(LIBEXECDIR)/qemu/virtiofsd -endif DEFVALIDVIRTIOFSDAEMONPATHS := [\"$(DEFVIRTIOFSDAEMON)\"] # Default DAX mapping cache size in MiB #if value is 0, DAX is not enabled diff --git a/tools/packaging/scripts/configure-hypervisor.sh b/tools/packaging/scripts/configure-hypervisor.sh index 751b2866f9..8bdfc94de1 100755 --- a/tools/packaging/scripts/configure-hypervisor.sh +++ b/tools/packaging/scripts/configure-hypervisor.sh @@ -341,7 +341,7 @@ generate_qemu_options() { qemu_options+=(functionality:--disable-virtiofsd) ;; ppc64le) - qemu_options+=(functionality:--enable-virtiofsd) + qemu_options+=(functionality:--disable-virtiofsd) ;; s390x) qemu_options+=(functionality:--disable-virtiofsd)