From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756898AbdHYOhh (ORCPT ); Fri, 25 Aug 2017 10:37:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56794 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755711AbdHYOhg (ORCPT ); Fri, 25 Aug 2017 10:37:36 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com BB96B7E43D Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=hdegoede@redhat.com From: Hans de Goede To: Arnd Bergmann , Greg Kroah-Hartman Cc: Hans de Goede , Michael Thayer , "Knut St . Osmundsen" , Larry Finger , linux-kernel@vger.kernel.org Subject: [RFC v2 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel Date: Fri, 25 Aug 2017 16:37:30 +0200 Message-Id: <20170825143732.10836-1-hdegoede@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 25 Aug 2017 14:37:36 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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