Talk:VirtualBox

Nothing on Kernel updates
When I update my kernel to a new version I have to rebuild everything. Should there be a section on this?

Why is libstdc 3.3 required?
When I download the binary from Sun site it installs itself and works great without any stdlibc 3.3 installed on my machine. So why on earth the binary Gentoo VirtualBox 3.x package requires libstdc 3.3? Filed a bug, will see what they say: https://bugs.gentoo.org/show_bug.cgi?id=286163

I removed the requirement for <gcc4.3
The wiki said <gcc4.3 had to be installed and configured. However - looking through the issue queue of virtualbox I found that it was already sorted out way back in 2009.

See http://www.virtualbox.org/ticket/936 for more details

Old versions
Since there is no longer any version of VirtualBox older than 3.0.12 in the portage tree, suggest that we remove the stuff specifically pertaining to older versions (there's quite a bit of it).

gist the virtualbox init script
gists are embeddable, but is it possible to use embedding in this wiki?

Note for x64
The beginning of this article says that vBox is not an emulator, but that is only partially correct, as vBox emulates x86 on the x64 platform...(yeah, I grab the wrong iso sometimes and get the error...)

CFLAGS for Gentoo Guest?
Emerging packages seems to go a lot slower than the hardware would suggest on a Macbook Pro w/ Snow Leopard. I'm now using "-O2 -pipe -fomit-frame-pointer -march=nocona" in my guest Gentoo instance...if there are suggestions for improvements, might they be included here? Or is the V'box overhead just high?

If your host is using gcc 4.2+, using march=native should get you close to being correct. Look at the the output of "cat /proc/cpuinfo" and set -mtune to the processor type. On an x64 guest, the processor type is "core2" Consider adjusting CFLAGS above to "-O2 -pipe -fomit-frame-pointer -march=native -mtune=core2"

NOTE: It seems there is not a definitive benchmark to prove this is the best setup, but it does fall in line with the regular Gentoo installation instructions of checking cpuinfo and adjusting CFLAGS accordingly.