GSoC Introduction: VirtualBox Guest Additions

Blog post by scgtrp on Fri, 2011-04-29 11:45

Hello. I'm Mike and I'll be porting part of the VirtualBox guest additions to Haiku. My full proposal is here, but briefly, the features I plan to port include:

  • Mouse pointer integration
  • Shared folders
  • Shared clipboard
  • Time synchronization
  • An improved video driver
  • Guest control (executing commands on the guest from the host)
  • Guest properties

During the community bonding period I plan to spend a bit of time reading more code and discussing with the developers to learn more about how things work in both Haiku and VirtualBox. I also plan to play with mmu_man's patch to get it to work with the latest versions of VirtualBox and Haiku so that I have a working base to start from when the coding period starts.

Comments

Re: GSoC Introduction: VirtualBox Guest Additions

All of this is extremely important to have, so the best of luck to you.

It may not be in the realm of your project, but a driver for the network adapter VirtualBox gives to "Other" operating systems by default (AMD PCnet) would be extremely excellent to have as I commonly see people attempting to install Haiku in VirtualBox and getting a strong negative reaction when networking doesn't work. I know there are pre-configured packages that enable the Intel adapter emulation, but a good number of people install from the ISO and expect it to work with VirtualBox's defaults.

Re: GSoC Introduction: VirtualBox Guest Additions

That's not quite in the scope of this project, but I agree it would be useful. If nobody else has done it by then, I'll certainly keep it in mind as a possible project after GSoC is over.

Re: GSoC Introduction: VirtualBox Guest Additions

agildehaus wrote:

It may not be in the realm of your project, but a driver for the network adapter VirtualBox gives to "Other" operating systems by default (AMD PCnet) would be extremely excellent to have as I commonly see people attempting to install Haiku in VirtualBox and getting a strong negative reaction when networking doesn't work. I know there are pre-configured packages that enable the Intel adapter emulation, but a good number of people install from the ISO and expect it to work with VirtualBox's defaults.

Another alternative – and perhaps easier – would be to contact the VirtualBox community and ask them to add Haiku as a Operating System Type with a working setup.

Re: GSoC Introduction: VirtualBox Guest Additions

bemoan on this ticket to get them to fix this:

http://www.virtualbox.org/ticket/7214

I should also say I am really looking forward to seeing the VirtualBox Guest Additions coming to Haiku.

Re: GSoC Introduction: VirtualBox Guest Additions

richienyhus wrote:

bemoan on this ticket to get them to fix this:

http://www.virtualbox.org/ticket/7214

I've missed that one. I think it would be better to create a patch for Haiku only. If I was a VirtualBox developer, I would hesitate on adding an old, discontinued operating system that don't run in VirtualBox without lots of tweaking. Haiku on the other hand is a fully functional, under development operating system that runs very well in VirtualBox.

It is probably necessary to push this ticket within the VirtualBox community. The fact that there is a GSoC project ongoing to add guest additions to Haiku is a good argument. Too bad I'm not the right person to do this.

richienyhus wrote:

I should also say I am really looking forward to seeing the VirtualBox Guest Additions coming to Haiku.

Oh yeah!

Re: GSoC Introduction: VirtualBox Guest Additions

deejam wrote:

I think it would be better to create a patch for Haiku only. If I was a VirtualBox developer, I would hesitate on adding an old, discontinued operating system that don't run in VirtualBox without lots of tweaking. Haiku on the other hand is a fully functional, under development operating system that runs very well in VirtualBox.

It is probably necessary to push this ticket within the VirtualBox community. The fact that there is a GSoC project ongoing to add guest additions to Haiku is a good argument. Too bad I'm not the right person to do this.

I agree on both points. I tried make a comment in the ticket on the first point, however I do not have the clarity of mind at this point in time (I am from Christchurch) to argue as well as you can. If it is possible could you repost your first point in that ticket?

Re: GSoC Introduction: VirtualBox Guest Additions

Executing commands on the guest would be very nice, especially when you combine it with something powerful like 'git bisect'.