On 02/08/2013 01:13, walt wrote:
On 08/01/2013 03:08 PM, Kerin Millar wrote:
On 30/07/2013 22:04, walt wrote:
On 07/29/2013 06:29 PM, Harry Putnam wrote:
Can anyone post a .config for a 3.8.13 kernel that is known to work on
a vbox install of gentoo as guest.
Working on a fresh install but don't have gentoo running anywhere to
rob a .config from.
This one worked for me.
<snip>
This config is missing various options that would significantly enhance kernel
performance in its capacity as a guest.
For core paravirtualization support:
CONFIG_PARAVIRT_GUEST
CONFIG_KVM_CLOCK
CONFIG_KVM_GUEST
For virtio support:
CONFIG_VIRTIO
CONFIG_VIRTIO_PCI
CONFIG_VIRTIO_BLK
CONFIG_SCSI_VIRTIO
CONFIG_VIRTIO_NET
For the scsi/net virtio drivers to work in the guest, qemu must be started with
the appropriate options. Further details can be found here:
http://www.linux-kvm.org/page/Virtio
Thanks Kerin. I don't know about Harry, but I'm no expert in virtualization.
Just to clarify: I know that virtualbox and kvm are both extensions of qemu,
but not exactly identical to each other. Would those same kernel options be
useful in virtualbox as well as kvm/qemu?
KVM allows for hardware-assisted virtualization via Intel VT-d or AMD-V
extensions. Without KVM, qemu is terribly slow. Collectively, the kernel
options that I mentioned would entail the use of KVM.
Regarding VirtualBox, it does support a virtio-net type ethernet adapter
so you would certainly benefit from enabling CONFIG_VIRTIO_NET in a guest.
I'm not entirely certain as to where VirtualBox stands with regard to
PVOPS support [1] but it would probably also help to enable
CONFIG_PARAVIRT_GUEST (even though there are no directly applicable
sub-options).
--Kerin
[1]
http://www.slideshare.net/xen_com_mgr/the-sexy-world-of-linux-kernel-pvops-project