Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1720120

[RFC v2 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel

From Hans de Goede <hdegoede@redhat.com>
Newsgroups linux.kernel
Subject [RFC v2 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel
Date 2017-08-25 16:40 +0200
Message-ID <uinWa-5dr-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi All,

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

This time my cleanup is complete and the patches are ready for a
FULL review now.

This is still an RFC because VirtualBox upstream is considering making
some final ioctl ABI changes for the vboxguest chardev now that they
still can. As soon as I get the go ahead from them that the ioctl ABI
is stable I will send a non RFC version.

Here is (part of) the RFC v1 cover-letter which is still relevant:

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 4500.
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.

Regards,

Hans

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC v2 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel Hans de Goede <hdegoede@redhat.com> - 2017-08-25 16:40 +0200
  Re: [RFC v2 1/2] virt: Add vboxguest driver for Virtual Box Guest  integration Christoph Hellwig <hch@infradead.org> - 2017-08-25 17:00 +0200
    Re: [RFC v2 1/2] virt: Add vboxguest driver for Virtual Box Guest  integration Hans de Goede <hdegoede@redhat.com> - 2017-08-25 17:10 +0200
      Re: [RFC v2 1/2] virt: Add vboxguest driver for Virtual Box Guest  integration Christoph Hellwig <hch@infradead.org> - 2017-08-25 17:10 +0200
        Re: [RFC v2 1/2] virt: Add vboxguest driver for Virtual Box Guest  integration Christoph Hellwig <hch@infradead.org> - 2017-08-25 17:20 +0200
        Re: [RFC v2 1/2] virt: Add vboxguest driver for Virtual Box Guest  integration Hans de Goede <hdegoede@redhat.com> - 2017-08-25 17:20 +0200
      Re: [RFC v2 1/2] virt: Add vboxguest driver for Virtual Box Guest  integration Christoph Hellwig <hch@infradead.org> - 2017-08-25 17:10 +0200
        Re: [RFC v2 1/2] virt: Add vboxguest driver for Virtual Box Guest  integration Hans de Goede <hdegoede@redhat.com> - 2017-08-25 17:10 +0200
  Re: [RFC v2 2/2] fs: Add VirtualBox guest shared folder (vboxsf)  support Christoph Hellwig <hch@infradead.org> - 2017-08-25 17:10 +0200

csiph-web