Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
config: use 9p as default shared filesystem for nemu
Browse files Browse the repository at this point in the history
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] kata-containers/packaging#703

Fixes: #2048.

Signed-off-by: Salvador Fuentes <[email protected]>
  • Loading branch information
chavafg committed Sep 18, 2019
1 parent 74e7d3d commit 97fe749
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cli/config/configuration-nemu.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 97fe749

Please sign in to comment.