Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35888 - Kernel Optimized for Virtual Users (VMWare, Virtual PC, etc)
Summary: Kernel Optimized for Virtual Users (VMWare, Virtual PC, etc)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-15 11:47 UTC by Lester Henderson
Modified: 2004-04-09 08:03 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lester Henderson 2003-12-15 11:47:18 UTC
It would be nice to have a kernel that has been optimized to use in emulated x86 environments such as virtual pc or vmware.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2003-12-15 14:38:50 UTC
What exactly do you mean by "optimized" ? ... As for emulated environments, the best solution is usually just to optimize it like a real kernel, e.g. use the right C compiler optimizations [ most virtual machines emulate the host CPU instruction set ] and to remove everything you don't need such as IDE controller drivers for anything but the emulated controller causing less kernel bloat. And enable-preemptive-scheduling.
Comment 2 Lester Henderson 2003-12-15 16:32:13 UTC
By optimized, it would be great to have either a pre-defined kernel that is already 'menuconfiged' to be optimal for virtual systems, probally it would make sense to have a vmware and virtualpc version,  just having a script that can run against one of the default kernels would make sense.

The reason this would be nice is that in my case for example, I am constantly testing scenarios and i find I always have to go though the exercise to manually configure so that it runs well in the test environments (vms), by having a script that could be run lets say like

emerge gentoo-sources
emerge genkernel

genkernel --config --vmware
or
genkernel --virtualpc

rather than having to go through the myrid of options you now can quickly get a copy of gentoo running in a vm and then perform the testing as needed.  -- does that make sense?
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-12-16 08:53:21 UTC
Daniel, perhaps we can add some preconfigured .config's to genkernel and add a "--forvm" flag?
Comment 4 Jason Cox (RETIRED) gentoo-dev 2004-04-08 21:17:38 UTC
Are we giong to add a default config for genkernel for virtual machines? Has anyone else toyed with this idea? 
Comment 5 Jason Cox (RETIRED) gentoo-dev 2004-04-09 08:03:10 UTC
I think we should leave the configs as they are. They are a controversial topic, but they are chosen a certain way for a reason.