forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the Kconfig and Makefile to allow lguest to actually be compiled. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
- Loading branch information
1 parent
6db7016
commit 709e892
Showing
4 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
config LGUEST | ||
tristate "Linux hypervisor example code" | ||
depends on X86 && PARAVIRT && NET && EXPERIMENTAL && !X86_PAE | ||
select LGUEST_GUEST | ||
select HVC_DRIVER | ||
---help--- | ||
This is a very simple module which allows you to run | ||
multiple instances of the same Linux kernel, using the | ||
"lguest" command found in the Documentation/lguest directory. | ||
Note that "lguest" is pronounced to rhyme with "fell quest", | ||
not "rustyvisor". See Documentation/lguest/lguest.txt. | ||
|
||
If unsure, say N. If curious, say M. If masochistic, say Y. | ||
|
||
config LGUEST_GUEST | ||
bool | ||
help | ||
The guest needs code built-in, even if the host has lguest | ||
support as a module. The drivers are tiny, so we build them | ||
in too. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Guest requires the paravirt_ops replacement and the bus driver. | ||
obj-$(CONFIG_LGUEST_GUEST) += lguest.o lguest_asm.o lguest_bus.o | ||
|
||
# Host requires the other files, which can be a module. | ||
obj-$(CONFIG_LGUEST) += lg.o | ||
lg-y := core.o hypercalls.o page_tables.o interrupts_and_traps.o \ | ||
segments.o io.o lguest_user.o switcher.o |