From c39852e83f408dc110f91f67eedef607bd39b0f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Wed, 11 May 2022 21:02:10 +0200 Subject: [PATCH] runtime: Use ${LIBEXEC}/virtiofsd as the default virtiofsd path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As now we build and ship the rust version of virtiofsd, which is not tied to QEMU, we need to update its default location to match with where we're installing this binary. Fixes: #4249 Signed-off-by: Fabiano FidĂȘncio --- src/runtime/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/Makefile b/src/runtime/Makefile index 8f18568218..917b82b8aa 100644 --- a/src/runtime/Makefile +++ b/src/runtime/Makefile @@ -176,6 +176,9 @@ DEFDISABLEBLOCK := false DEFSHAREDFS_CLH_VIRTIOFS := virtio-fs DEFSHAREDFS_QEMU_VIRTIOFS := virtio-fs DEFVIRTIOFSDAEMON := $(LIBEXECDIR)/kata-qemu/virtiofsd +ifeq ($(ARCH),amd64) +DEFVIRTIOFSDAEMON := $(LIBEXECDIR)/virtiofsd +endif DEFVALIDVIRTIOFSDAEMONPATHS := [\"$(DEFVIRTIOFSDAEMON)\"] # Default DAX mapping cache size in MiB #if value is 0, DAX is not enabled