Re: [PATCH] config: Add 'make kvmconfig'

Rabin Vincent
2011-10-27T18:11:05Z

On Thu, Oct 27, 2011 at 17:37, Sasha Levin <levinsasha928@gmail.com> wrote:
> +config KVMTOOL_TEST_ENABLE
> +       bool "Enable options to create a bootable tools/kvm/ kernel"
> +       select NET
> +       select NETDEVICES
> +       select PCI
> +       select BLK_DEV
> +       select NETWORK_FILESYSTEMS
> +       select INET
> +       select EXPERIMENTAL
> +       select SERIAL_8250
> +       select SERIAL_8250_CONSOLE
> +       select IP_PNP
> +       select IP_PNP_DHCP
> +       select BINFMT_ELF
> +       select PCI_MSI
> +       select KGDB
> +       select KGDB_SERIAL_CONSOLE
> +       select VIRTIO
> +       select VIRTIO_RING
> +       select VIRTIO_PCI
> +       select VIRTIO_BLK
> +       select VIRTIO_CONSOLE
> +       select VIRTIO_NET
> +       select 9P_FS
> +       select NET_9P
> +       select NET_9P_VIRTIO

This lot doesn't seem to be enough for me on next-20111025. I seem to
have to also enable CONFIG_FB_VESA for the kernel to boot.

Without CONFIG_FB_VESA, I just get:

$ tools/kvm/kvm run --debug arch/x86/boot/bzImage --disk
~/kernel/linux-0.2.img
# kvm run -k arch/x86/boot/bzImage -m 448 -c 4 --name guest-11466
PPrroobbiinngg EEDDDD ((eedddd==ooffff ttoo ddiissaabbllee))...... ookk
<no more output>