mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 00:37:24 +00:00
Merge pull request #2066 from chavafg/topic/nemu-9p
config: use 9p as default shared filesystem for nemu
This commit is contained in:
commit
46e1880c8d
3
Makefile
3
Makefile
@ -172,7 +172,8 @@ DEFENTROPYSOURCE := /dev/urandom
|
|||||||
|
|
||||||
DEFDISABLEBLOCK := false
|
DEFDISABLEBLOCK := false
|
||||||
DEFSHAREDFS := virtio-9p
|
DEFSHAREDFS := virtio-9p
|
||||||
DEFSHAREDFS_NEMU := virtio-fs
|
DEFSHAREDFS_NEMU := virtio-9p
|
||||||
|
DEFSHAREDFS_QEMU_VIRTIOFS := virtios-fs
|
||||||
DEFVIRTIOFSDAEMON := $(VIRTIOFSDBINDIR)/virtiofsd-x86_64
|
DEFVIRTIOFSDAEMON := $(VIRTIOFSDBINDIR)/virtiofsd-x86_64
|
||||||
# Default DAX mapping cache size in MiB
|
# Default DAX mapping cache size in MiB
|
||||||
DEFVIRTIOFSCACHESIZE := 1024
|
DEFVIRTIOFSCACHESIZE := 1024
|
||||||
|
@ -98,8 +98,8 @@ default_memory = @DEFMEMSZ@
|
|||||||
disable_block_device_use = @DEFDISABLEBLOCK@
|
disable_block_device_use = @DEFDISABLEBLOCK@
|
||||||
|
|
||||||
# Shared file system type:
|
# Shared file system type:
|
||||||
# - virtio-fs (default)
|
# - virtio-9p (default)
|
||||||
# - virtio-9p
|
# - virtio-fs
|
||||||
shared_fs = "@DEFSHAREDFS_NEMU@"
|
shared_fs = "@DEFSHAREDFS_NEMU@"
|
||||||
|
|
||||||
# Path to vhost-user-fs daemon.
|
# Path to vhost-user-fs daemon.
|
||||||
|
@ -98,9 +98,9 @@ default_memory = @DEFMEMSZ@
|
|||||||
disable_block_device_use = @DEFDISABLEBLOCK@
|
disable_block_device_use = @DEFDISABLEBLOCK@
|
||||||
|
|
||||||
# Shared file system type:
|
# Shared file system type:
|
||||||
# - virtio-9p (default)
|
# - virtio-fs (default)
|
||||||
# - virtio-fs
|
# - virtio-9p
|
||||||
shared_fs = "@DEFSHAREDFS_NEMU@"
|
shared_fs = "@DEFSHAREDFS_QEMU_VIRTIOFS@"
|
||||||
|
|
||||||
# Path to vhost-user-fs daemon.
|
# Path to vhost-user-fs daemon.
|
||||||
virtio_fs_daemon = "@DEFVIRTIOFSDAEMON@"
|
virtio_fs_daemon = "@DEFVIRTIOFSDAEMON@"
|
||||||
|
Loading…
Reference in New Issue
Block a user