Commit df402865 authored by Hans de Goede's avatar Hans de Goede Committed by Greg Kroah-Hartman
Browse files

staging: 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.

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20191028111744.143863-2-hdegoede@redhat.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d6d5df1d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -17335,6 +17335,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:	drivers/staging/vboxsf/*
VIRTUAL SERIO DEVICE DRIVER
M:	Stephen Chandler Paul <thatslyude@gmail.com>
S:	Maintained
+2 −0
Original line number Diff line number Diff line
@@ -125,4 +125,6 @@ source "drivers/staging/exfat/Kconfig"

source "drivers/staging/qlge/Kconfig"

source "drivers/staging/vboxsf/Kconfig"

endif # STAGING
+1 −0
Original line number Diff line number Diff line
@@ -53,3 +53,4 @@ obj-$(CONFIG_UWB) += uwb/
obj-$(CONFIG_USB_WUSB)		+= wusbcore/
obj-$(CONFIG_EXFAT_FS)		+= exfat/
obj-$(CONFIG_QLGE)		+= qlge/
obj-$(CONFIG_VBOXSF_FS)		+= vboxsf/
+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.
+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