Commit 0fd16957 authored by Hans de Goede's avatar Hans de Goede Committed by Al Viro
Browse files

fs: Add VirtualBox guest shared folder (vboxsf) support



VirtualBox hosts can share folders with guests, this commit adds a
VFS driver implementing the Linux-guest side of this, allowing folders
exported by the host to be mounted under Linux.

This driver depends on the guest <-> host IPC functions exported by
the vboxguest driver.

Acked-by: default avatarChristoph Hellwig <hch@infradead.org>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent f35aa2bc
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -17610,6 +17610,12 @@ F: include/linux/vbox_utils.h
F:	include/uapi/linux/vbox*.h
F:	drivers/virt/vboxguest/
VIRTUAL BOX SHARED FOLDER VFS DRIVER:
M:	Hans de Goede <hdegoede@redhat.com>
L:	linux-fsdevel@vger.kernel.org
S:	Maintained
F:	fs/vboxsf/*
VIRTUAL SERIO DEVICE DRIVER
M:	Stephen Chandler Paul <thatslyude@gmail.com>
S:	Maintained
+1 −0
Original line number Diff line number Diff line
@@ -264,6 +264,7 @@ source "fs/pstore/Kconfig"
source "fs/sysv/Kconfig"
source "fs/ufs/Kconfig"
source "fs/erofs/Kconfig"
source "fs/vboxsf/Kconfig"

endif # MISC_FILESYSTEMS

+1 −0
Original line number Diff line number Diff line
@@ -133,3 +133,4 @@ obj-$(CONFIG_CEPH_FS) += ceph/
obj-$(CONFIG_PSTORE)		+= pstore/
obj-$(CONFIG_EFIVAR_FS)		+= efivarfs/
obj-$(CONFIG_EROFS_FS)		+= erofs/
obj-$(CONFIG_VBOXSF_FS)		+= vboxsf/

fs/vboxsf/Kconfig

0 → 100644
+10 −0
Original line number Diff line number Diff line
config VBOXSF_FS
	tristate "VirtualBox guest shared folder (vboxsf) support"
	depends on X86 && VBOXGUEST
	select NLS
	help
	  VirtualBox hosts can share folders with guests, this driver
	  implements the Linux-guest side of this allowing folders exported
	  by the host to be mounted under Linux.

	  If you want to use shared folders in VirtualBox guests, answer Y or M.

fs/vboxsf/Makefile

0 → 100644
+5 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: MIT

obj-$(CONFIG_VBOXSF_FS) += vboxsf.o

vboxsf-y := dir.o file.o utils.o vboxsf_wrappers.o super.o
Loading