5cb0bae4bf
virtio-fs allow sharing a directory between the host and the guest. It require virtiofsd daemon running before starting Qemu. The wiki [1] recommand to enable the following kernel options: CONFIG_VIRTIO CONFIG_VIRTIO_FS CONFIG_DAX CONFIG_FS_DAX CONFIG_DAX_DRIVER CONFIG_ZONE_DEVICE But virtio-fs works fine with only VIRTIO_FS. Note: ZONE_DEVICE can only be enabled on aarch64 since kernel >= 5.7. ARCH_ENABLE_MEMORY_HOTREMOVE support is missing for previous kernel [2]. [1] https://virtio-fs.gitlab.io/howto-qemu.html [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bbd6ec605c0fc286c3f8ce60b4ed44635361d58b Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
67 lines
1.3 KiB
Plaintext
67 lines
1.3 KiB
Plaintext
CONFIG_SYSVIPC=y
|
|
CONFIG_POSIX_MQUEUE=y
|
|
CONFIG_NO_HZ_IDLE=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_TASKSTATS=y
|
|
CONFIG_SCHED_AUTOGROUP=y
|
|
CONFIG_PROFILING=y
|
|
CONFIG_ARCH_VEXPRESS=y
|
|
CONFIG_COMPAT=y
|
|
CONFIG_FW_CFG_SYSFS=y
|
|
CONFIG_FW_CFG_SYSFS_CMDLINE=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
CONFIG_BLK_DEV_BSGLIB=y
|
|
CONFIG_BINFMT_MISC=y
|
|
CONFIG_TRANSPARENT_HUGEPAGE=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_PACKET_DIAG=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_NET_KEY=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_ADVANCED_ROUTER=y
|
|
CONFIG_BRIDGE=m
|
|
CONFIG_NET_SCHED=y
|
|
CONFI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