-
Notifications
You must be signed in to change notification settings - Fork 651
VirtualBox driver, for legacy compatibility and portability #1287
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Here is the initial PR:
The host networking and shared folders are not yet implemented, and might require loading a kernel module. |
Regarding ARM Macs (M1), there is a beta version out for VirtualBox 7.0 but it only runs Intel images: https://forums.virtualbox.org/viewtopic.php?f=8&t=107344 So it is not anticipated that this driver will ever be useful for newer Macs, fortunately those have Vz ? |
We need a "delete" callback in Lima, in order to clean up the VirtualBox registry after stopping the VM CreateDisk() error
Start(_ context.Context) (chan error, error)
Stop(_ context.Context) error
Register(_ context.Context) error
Unregister(_ context.Context) error It will be part of pkg/stop, like how "CreateDisk" is part of pkg/start. |
The additional disk was hardcoded to
Added a hardcoded parameter for it, but it should probably be talking to the driver... |
Description
Once upon a time, there was something called Docker Machine and it was running on VirtualBox.
It did have some other drivers, like qemu, but the virtualbox driver was the portable and default...
Now that Lima has a driver framework, it could be useful to have a "vbox" driver next to the "qemu" ?
It does support features like host networking and shared folders, that QEMU is still struggling with.
https://www.virtualbox.org/manual/ch06.html#network_hostonly
https://www.virtualbox.org/manual/ch04.html#sharedfolders
Pros: might run on more platforms, such as legacy releases or other operating systems
https://www.virtualbox.org/manual/ch01.html#hostossupport
https://docs.freebsd.org/en/books/handbook/virtualization/#virtualization-host-virtualbox
Cons: only supports Intel images, no support for COW images (resulting in larger files)
But the biggest advantage is having another driver that also works on non-Mac hosts.
And it can help to improve the driver API, if testing with more different implementations ?
The text was updated successfully, but these errors were encountered: