Hello,
I have successfully got VirtualBox 4.1.8 running from a Solaris 11 zone from a Solaris 11 server (no desktop/GUI).
At first, I just installed it on the global zone and simply mapped /opt/VirtualBox to the non-global-zones and added to PATH:
GZ# zonecfg -z NGZ "add fs; set dir=/opt/VirtualBox; set special=/opt/VirtualBox; set type=lofs; end"
GZ# zonecfg -z NGZ "add device; set match=/dev/vboxdrv; end"
GZ# zonecfg -z NGZ "add device; set match=/dev/vboxusbmon; end"
NGZ$ export PATH=$PATH:/opt/VirtualBox
It appears to run without problems, but once in a while I've experienced network connectivity problems: the connection was simply lost and I had to restart network/physical:default from withing the zone.
I'm still not sure if this is related to the NGZ "installation" method I've used of if it's due to some other problem in my GZ networking (802.3ad).
I have noticed that repeating the GZ installation procedure inside the NGZ is harmless, so it might be the safest or "best-practice".
Regards,
Note: Of course, as no desktop/GUI is available everything has to be in terms of VBoxManage and VBoxHeadless.
Note: Here's the information I have gathered:
Regards,
Carlos.