lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <516869A7.7060500@infradead.org>
Date:	Fri, 12 Apr 2013 13:08:07 -0700
From:	Randy Dunlap <rdunlap@...radead.org>
To:	Borislav Petkov <bp@...en8.de>
CC:	Ingo Molnar <mingo@...nel.org>, "H. Peter Anvin" <hpa@...or.com>,
	Pekka Enberg <penberg@...nel.org>,
	Sasha Levin <levinsasha928@...il.com>,
	Fengguang Wu <fengguang.wu@...el.com>,
	lkml <linux-kernel@...r.kernel.org>, x86-ml <x86@...nel.org>
Subject: Re: [PATCH] x86: Add a Kconfig shortcut for a kvm-bootable kernel

On 04/12/13 11:19, Borislav Petkov wrote:
> --
> From efa9a7f7a460bc46d1dd37b691afa88070a34059 Mon Sep 17 00:00:00 2001
> From: Borislav Petkov <bp@...e.de>
> Date: Fri, 12 Apr 2013 20:01:47 +0200
> Subject: [PATCH] x86: Add a Kconfig shortcut for a kvm-bootable kernel
> 
> This is pretty useful for the case where people want to boot the
> resulting kernel in qemu/kvm. Instead of going and searching for each
> required option through the Kconfig maze, this single option should
> simply enable all stuff which is required to boot the resulting kernel
> in the guest.
> 
> Originally-by: Pekka Enberg <penberg@...nel.org>
> Originally-by: Sasha Levin <levinsasha928@...il.com>
> Signed-off-by: Borislav Petkov <bp@...e.de>
> Cc: Fengguang Wu <fengguang.wu@...el.com>
> ---
>  arch/x86/Kconfig | 37 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 37 insertions(+)
> 
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 70c0f3da0476..3ca241172812 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -596,6 +596,43 @@ config SCHED_OMIT_FRAME_POINTER
>  
>  	  If in doubt, say "Y".
>  
> +config KVM_TEST_ENABLE
> +	bool "Enable options for a kernel suitable for testing in kvm"
> +	select NET
> +	select NETDEVICES
> +	select PCI
> +	select BLOCK
> +	select BLK_DEV
> +	select NETWORK_FILESYSTEMS
> +	select INET
> +	select EXPERIMENTAL
> +	select TTY
> +	select SERIAL_8250
> +	select SERIAL_8250_CONSOLE
> +	select IP_PNP
> +	select IP_PNP_DHCP
> +	select BINFMT_ELF
> +	select PCI_MSI
> +	select HAVE_ARCH_KGDB
> +	select DEBUG_KERNEL
> +	select KGDB
> +	select KGDB_SERIAL_CONSOLE
> +	select VIRTUALIZATION
> +	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
> +	---help---
> +	  Select stuff which is required for booting the kernel as a guest
> +	  in qemu/kvm. This entails basic stuff like serial support, kgdb

Use commas, please:

	                                        like serial support, kgdb,
	  9p, virtio, and other basic ...

> +	  9p virtio and other basic functionality so that you can be able
> +	  to have serial output from the guest, networking, etc.
> +
>  menuconfig PARAVIRT_GUEST
>  	bool "Paravirtualized guest support"
>  	---help---
> 


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ