VBox guest additions: end of bonding period; first quarter goals
During the community bonding period I played around with the existing guest additions patch, getting it to build and switching my repository over to git to preserve my sanity. I’ve learned a lot about the way Haiku drivers and modules work, especially in the last few days, and it seems that a few things are simpler than I originally thought they’d be and some things are more difficult.
As an example of the latter, it turns out that drivers can’t provide APIs to other drivers; only modules can do this. This posed a problem for the shared folders module, which needs to either be in a separate module or contain extreme hackiness. As a driver, the original vboxguest couldn’t allow vboxsf to use its API. To solve this, mmu_man and I decided that the best first task would be to break up the existing vboxguest driver into a module (vboxguest) containing the guest additions and a driver (vboxdev) which exposes the library to userspace as /dev/misc/vboxguest. This is now finished.
It turns out guest properties and clipboard sharing are already working, and mouse pointer integration is at least partially implemented, though I’ve not managed to get it to work yet. This should free up a bit of time for some of the other things.
As my first major subproject, I’m planning to implement a shared folders filesystem module - as I (and possibly a couple of other students?) are coding exclusively in VirtualBox, it makes sense to focus on the things that make development easier first, and being able to share files with the host is certainly useful at times.
scgtrp's blog
- VBox Guest Additions: A slightly late final progress report
- VBox guest additions: 3/4 term report
- VBox Guest Additions: midterm status report
- VBox guest additions: status; second quarter goals
- VBox guest additions: end of bonding period; first quarter goals
- GSoC Introduction: VirtualBox Guest Additions