From 4134571e86ac7736f722a6937ce54fdced85ce11 Mon Sep 17 00:00:00 2001 From: Salvador Fuentes Date: Wed, 18 Sep 2019 11:31:13 -0500 Subject: [PATCH] config: do not use nemu variable for qemu-virtiofs configuration instead of using `DEFSHAREDFS_NEMU` in `configuration-qemu-virtiofs.toml`, use `DEFSHAREDFS_QEMU_VIRTIOFS`. nemu will be deprecated soon so using `DEFSHAREDFS_NEMU` may brake the configuration for qemu-virtiofs. Signed-off-by: Salvador Fuentes --- Makefile | 1 + cli/config/configuration-qemu-virtiofs.toml.in | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f0d3bd1093..4ccacc5940 100644 --- a/Makefile +++ b/Makefile @@ -173,6 +173,7 @@ DEFENTROPYSOURCE := /dev/urandom DEFDISABLEBLOCK := false DEFSHAREDFS := virtio-9p DEFSHAREDFS_NEMU := virtio-9p +DEFSHAREDFS_QEMU_VIRTIOFS := virtios-fs DEFVIRTIOFSDAEMON := $(VIRTIOFSDBINDIR)/virtiofsd-x86_64 # Default DAX mapping cache size in MiB DEFVIRTIOFSCACHESIZE := 1024 diff --git a/cli/config/configuration-qemu-virtiofs.toml.in b/cli/config/configuration-qemu-virtiofs.toml.in index 8f5a618ca9..55cc045c42 100644 --- a/cli/config/configuration-qemu-virtiofs.toml.in +++ b/cli/config/configuration-qemu-virtiofs.toml.in @@ -98,9 +98,9 @@ default_memory = @DEFMEMSZ@ disable_block_device_use = @DEFDISABLEBLOCK@ # Shared file system type: -# - virtio-9p (default) -# - virtio-fs -shared_fs = "@DEFSHAREDFS_NEMU@" +# - virtio-fs (default) +# - virtio-9p +shared_fs = "@DEFSHAREDFS_QEMU_VIRTIOFS@" # Path to vhost-user-fs daemon. virtio_fs_daemon = "@DEFVIRTIOFSDAEMON@"