linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel
@ 2017-08-11 13:23 Hans de Goede
  2017-08-11 13:23 ` [RFC 1/2] misc: Add vboxguest driver for Virtual Box Guest integration Hans de Goede
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Hans de Goede @ 2017-08-11 13:23 UTC (permalink / raw)
  To: Arnd Bergmann, Greg Kroah-Hartman, Alexander Viro
  Cc: Hans de Goede, Michael Thayer, Knut St . Osmundsen, Larry Finger,
	linux-kernel, linux-fsdevel

Hello Greg, Arnd, Alexander, et al.,

Here is a first RFC version of my cleaned up version of the
VirtualBox vboxguest and vboxsf guest drivers.

This is an RFC because there are still some checkpatch and other small
style issues which I need to fix.

I'm posting this now because the majority of the major cleanup these 2
drivers needed before being suitable for mainlining has been done now
and I believe the code is ready for a quick look by others (but not
ready yet for a full review). 

I've removed all depenencies on vbox's OO-independent runtime and
the runtime itself, reducing the vboxguest driver from 100000+ lines
of code to aprox. 6500 and the vboxsf driver from 60000 lines to 5000.
This reduces the non debug vboxguest.ko size from 450kB to less then 100 kB. 
I've also cleaned up various other warts such as doing hardware init in
module_init rather then in a pci_probe callback.

The vboxguest driver introduces a new userspace API + ABI in the form
of ioctls on a character device. VirtualBox upstream not willing to
commit to keeping this ABI stable was one of the things which has
kept this driver driver out of mainline sofar. I've been talking to
VirtualBox upstream about mainlining the guest drivers and VirtualBox
upstream has agreed to consider the userspace ABI stable and only
extend it in a backwards compatible manner.

As said this is a RFC, the main comments I'm looking for is an answer
to these 2 questions:

Greg, Arnd would you be willing to merge the vboxguest driver under
drivers/misc (in principle), assuming I do the remaining cleanup
and the driver gets a favorable review of course ?

Al, the same question for you for the vboxsf (shared folder) driver?

Regards,

Hans

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-08-25 11:53 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-11 13:23 [RFC 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel Hans de Goede
2017-08-11 13:23 ` [RFC 1/2] misc: Add vboxguest driver for Virtual Box Guest integration Hans de Goede
2017-08-11 21:23   ` Arnd Bergmann
2017-08-12 21:56     ` Hans de Goede
2017-08-12 23:22       ` Greg Kroah-Hartman
2017-08-14  7:38       ` Hans de Goede
2017-08-14  9:30       ` Arnd Bergmann
2017-08-14 12:15         ` Hans de Goede
2017-08-21 11:43           ` Hans de Goede
2017-08-21 12:04             ` Hans de Goede
2017-08-11 13:23 ` [RFC 2/2] fs: Add VirtualBox guest shared folder (vboxsf) support Hans de Goede
2017-08-11 15:44 ` [RFC 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel Greg Kroah-Hartman
2017-08-11 16:02 ` Arnd Bergmann
2017-08-11 16:09   ` Hans de Goede
2017-08-11 16:32     ` Arnd Bergmann
2017-08-11 17:43       ` Hans de Goede
2017-08-11 19:34         ` Arnd Bergmann
2017-08-25 11:53           ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).