From 97fe749624681aeb31f4cc7d04752c8b6594517b Mon Sep 17 00:00:00 2001 From: Salvador Fuentes Date: Tue, 17 Sep 2019 15:05:43 -0500 Subject: [PATCH] config: use 9p as default shared filesystem for nemu currently virtiofs support is being reworked to use qemu and kernel from virtio-fs gitlab repo. The current support that we have for virtio-fs has been disabled as required patches for the 4.19 kernel were removed in [1]. [1] https://github.com/kata-containers/packaging/pull/703 Fixes: #2048. Signed-off-by: Salvador Fuentes --- Makefile | 2 +- cli/config/configuration-nemu.toml.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a7a9306239..f0d3bd1093 100644 --- a/Makefile +++ b/Makefile @@ -172,7 +172,7 @@ DEFENTROPYSOURCE := /dev/urandom DEFDISABLEBLOCK := false DEFSHAREDFS := virtio-9p -DEFSHAREDFS_NEMU := virtio-fs +DEFSHAREDFS_NEMU := virtio-9p DEFVIRTIOFSDAEMON := $(VIRTIOFSDBINDIR)/virtiofsd-x86_64 # Default DAX mapping cache size in MiB DEFVIRTIOFSCACHESIZE := 1024 diff --git a/cli/config/configuration-nemu.toml.in b/cli/config/configuration-nemu.toml.in index dda6ae9725..09cc5a8f17 100644 --- a/cli/config/configuration-nemu.toml.in +++ b/cli/config/configuration-nemu.toml.in @@ -98,8 +98,8 @@ default_memory = @DEFMEMSZ@ disable_block_device_use = @DEFDISABLEBLOCK@ # Shared file system type: -# - virtio-fs (default) -# - virtio-9p +# - virtio-9p (default) +# - virtio-fs shared_fs = "@DEFSHAREDFS_NEMU@" # Path to vhost-user-fs daemon.