[libvirt] VirtualBox 5 support

Dear libvirt-developer-team, I want to manage virtual machine of VirtualBox with libvirt. In a test I found out, that VirtualBox 5 is not support by the current version of libvirt. For this reason I have added this support in the source code. Now I want to commit these changes to the libvirt project, but I do not know, if there are any interests. Who can help me? Best Regards Martin -- Martin Pietsch Technische Univeristät Dresden Fakultät Mathematik und Naturwissenschaften / Fachrichtung Mathematik Besucheranschrift Willersbau, C-Flügel (Anbau), Raum C 232 Zellescher Weg 12-14 01069 Dresden Postanschrift Technische Universität Dresden Fachrichtung Mathematik 01062 Dresden Telefon +49-351-463 32646 Fax +49-351-463 37114 E-Mail martin.pietsch@tu-dresden.de

On Fri, May 20, 2016 at 12:51:11PM +0200, Martin Pietsch wrote:
Dear libvirt-developer-team,
I want to manage virtual machine of VirtualBox with libvirt. In a test I found out, that VirtualBox 5 is not support by the current version of libvirt. For this reason I have added this support in the source code. Now I want to commit these changes to the libvirt project, but I do not know, if there are any interests. Who can help me?
We are always interested to receive patches from willing contributors, especially for drivers like VirtualBox which do not have a large active set of people contributing. For first-time contributors to libvirt the best place to start is reading the "hacking" guidelines: http://libvirt.org/hacking.html My specific top points for new contributors people are - Always make patches against latest git master - Create a series of patches (commits), each patch focusing on solving a specific self-contained problem, rather than 1 single huge patch. - Ensure 'make syntax-check' passes after applying each patch - Use 'git send-email' to send series of well formatted emails with each patch (if you've not used it before, play with it by telling it to send the maill to yourself first :-) Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On 05/20/2016 06:58 AM, Daniel P. Berrange wrote:
On Fri, May 20, 2016 at 12:51:11PM +0200, Martin Pietsch wrote:
Dear libvirt-developer-team,
I want to manage virtual machine of VirtualBox with libvirt. In a test I found out, that VirtualBox 5 is not support by the current version of libvirt. For this reason I have added this support in the source code. Now I want to commit these changes to the libvirt project, but I do not know, if there are any interests. Who can help me? We are always interested to receive patches from willing contributors, especially for drivers like VirtualBox which do not have a large active set of people contributing.
For first-time contributors to libvirt the best place to start is reading the "hacking" guidelines:
http://libvirt.org/hacking.html
My specific top points for new contributors people are
- Always make patches against latest git master
- Create a series of patches (commits), each patch focusing on solving a specific self-contained problem, rather than 1 single huge patch.
- Ensure 'make syntax-check' passes after applying each patch
"and make check" :-). An easy way to perform these two checks for every commit on a branch is this: git rebase -i master -x "make -j8 syntax-check && make -j8 check" If there is an error at any step, make and git will stop and allow you to fix the problem, add the modifications to the commit, and continue (with "git rebase --continue"). If there are no errors, the two make commands will be run on every commit on the branch without requiring user intervention.
- Use 'git send-email' to send series of well formatted emails with each patch (if you've not used it before, play with it by telling it to send the maill to yourself first :-)

On Fri, 2016-05-20 at 09:39 -0400, Laine Stump wrote:
On 05/20/2016 06:58 AM, Daniel P. Berrange wrote:
On Fri, May 20, 2016 at 12:51:11PM +0200, Martin Pietsch wrote:
Dear libvirt-developer-team,
I want to manage virtual machine of VirtualBox with libvirt. In a test I found out, that VirtualBox 5 is not support by the current version of libvirt. For this reason I have added this support in the source code. Now I want to commit these changes to the libvirt project, but I do not know, if there are any interests. Who can help me?
We are always interested to receive patches from willing contributors, especially for drivers like VirtualBox which do not have a large active set of people contributing.
For first-time contributors to libvirt the best place to start is reading the "hacking" guidelines:
http://libvirt.org/hacking.html
My specific top points for new contributors people are
- Always make patches against latest git master
- Create a series of patches (commits), each patch focusing on solving a specific self-contained problem, rather than 1 single huge patch.
- Ensure 'make syntax-check' passes after applying each patch
"and make check" :-). An easy way to perform these two checks for every commit on a branch is this:
git rebase -i master -x "make -j8 syntax-check && make -j8 check"
If there is an error at any step, make and git will stop and allow you to fix the problem, add the modifications to the commit, and continue (with "git rebase --continue"). If there are no errors, the two make commands will be run on every commit on the branch without requiring user intervention.
You can also add EDITOR=true at the beginning of the command to make it entirely non-interactive, ie. removing the need to even confirm the rebase in your editor. Thanks Martin for the tip, by the way :) -- Andrea Bolognani Software Engineer - Virtualization Team

On 05/20/2016 06:51 AM, Martin Pietsch wrote:
Dear libvirt-developer-team,
I want to manage virtual machine of VirtualBox with libvirt. In a test I found out, that VirtualBox 5 is not support by the current version of libvirt. For this reason I have added this support in the source code. Now I want to commit these changes to the libvirt project, but I do not know, if there are any interests. Who can help me?
This came up recently in a bug report as well: https://bugzilla.redhat.com/show_bug.cgi?id=1275358 Maybe the bug reporter can help you test things if you're interested. Unfortunately we don't have a dedicated VirtualBox maintainer in libvirt so any help will be much appreciated Thanks, Cole
participants (5)
-
Andrea Bolognani
-
Cole Robinson
-
Daniel P. Berrange
-
Laine Stump
-
Martin Pietsch