diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-21 21:01:54 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-23 01:49:50 -0400 |
commit | 34b8867a034364ca33d0adb3a1c5b9982903c719 (patch) | |
tree | 7b6385b3985e7bdcca91103d01dea9f707e8b567 /arch/i386 | |
parent | c37ae93d597fc63bae979db76b527dcc7740dc9d (diff) |
Move lguest guest support to arch/x86.
Lguest has two sides: host support (to launch guests) and guest
support (replacement boot path and paravirt_ops). This moves the
guest side to arch/x86/lguest where it's closer to related code.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/Kconfig | 10 | ||||
-rw-r--r-- | arch/i386/Makefile | 3 |
2 files changed, 5 insertions, 8 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index 3523e82c8412..5bed8be34ba5 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -257,14 +257,8 @@ config VMI | |||
257 | at the moment), by linking the kernel to a GPL-ed ROM module | 257 | at the moment), by linking the kernel to a GPL-ed ROM module |
258 | provided by the hypervisor. | 258 | provided by the hypervisor. |
259 | 259 | ||
260 | config LGUEST_GUEST | 260 | source "arch/x86/lguest/Kconfig" |
261 | bool "Lguest guest support" | 261 | |
262 | select PARAVIRT | ||
263 | depends on !X86_PAE | ||
264 | help | ||
265 | Lguest is a tiny in-kernel hypervisor. Selecting this will | ||
266 | allow your kernel to boot under lguest. This option will increase | ||
267 | your kernel size by about 6k. If in doubt, say N. | ||
268 | endif | 262 | endif |
269 | 263 | ||
270 | config ACPI_SRAT | 264 | config ACPI_SRAT |
diff --git a/arch/i386/Makefile b/arch/i386/Makefile index b88e47ca3032..b81cb64d48e5 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile | |||
@@ -99,6 +99,9 @@ core-$(CONFIG_X86_ES7000) := arch/x86/mach-es7000/ | |||
99 | # Xen paravirtualization support | 99 | # Xen paravirtualization support |
100 | core-$(CONFIG_XEN) += arch/x86/xen/ | 100 | core-$(CONFIG_XEN) += arch/x86/xen/ |
101 | 101 | ||
102 | # lguest paravirtualization support | ||
103 | core-$(CONFIG_LGUEST_GUEST) += arch/x86/lguest/ | ||
104 | |||
102 | # default subarch .h files | 105 | # default subarch .h files |
103 | mflags-y += -Iinclude/asm-x86/mach-default | 106 | mflags-y += -Iinclude/asm-x86/mach-default |
104 | 107 | ||