From: Rusty Russell <rusty@rustcorp.com.au>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Andi Kleen <ak@muc.de>,
lkml - Kernel Mailing List <linux-kernel@vger.kernel.org>,
virtualization <virtualization@lists.linux-foundation.org>
Subject: [PATCH 4/8] lguest: the Makefile and Kconfig
Date: Tue, 10 Apr 2007 21:08:05 +1000 [thread overview]
Message-ID: <1176203285.26372.29.camel@localhost.localdomain> (raw)
In-Reply-To: <1176203231.26372.27.camel@localhost.localdomain>
This is the Kconfig and Makefile to allow lguest to actually be
compiled.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
drivers/Kconfig | 2 ++
drivers/Makefile | 1 +
drivers/lguest/Kconfig | 20 ++++++++++++++++++++
drivers/lguest/Makefile | 7 +++++++
4 files changed, 30 insertions(+)
===================================================================
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -87,4 +87,6 @@ source "drivers/kvm/Kconfig"
source "drivers/kvm/Kconfig"
source "drivers/uio/Kconfig"
+
+source "drivers/lguest/Kconfig"
endmenu
===================================================================
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -86,3 +86,4 @@ obj-$(CONFIG_HID) += hid/
obj-$(CONFIG_HID) += hid/
obj-$(CONFIG_PPC_PS3) += ps3/
obj-$(CONFIG_SSB) += ssb/
+obj-$(CONFIG_LGUEST_GUEST) += lguest/
===================================================================
--- /dev/null
+++ b/drivers/lguest/Kconfig
@@ -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.
===================================================================
--- /dev/null
+++ b/drivers/lguest/Makefile
@@ -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-objs := core.o hypercalls.o page_tables.o interrupts_and_traps.o \
+ segments.o io.o lguest_user.o switcher.o
next prev parent reply other threads:[~2007-04-10 11:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1176203068.26372.21.camel@localhost.localdomain>
2007-04-10 11:05 ` [PATCH 1/8] lguest: the guest code Rusty Russell
[not found] ` <1176203130.26372.23.camel@localhost.localdomain>
2007-04-10 11:06 ` [PATCH 2/8] lguest: the host code Rusty Russell
[not found] ` <1176203176.26372.25.camel@localhost.localdomain>
2007-04-10 11:07 ` [PATCH 3/8] lguest: the asm offsets Rusty Russell
[not found] ` <1176203231.26372.27.camel@localhost.localdomain>
2007-04-10 11:08 ` Rusty Russell [this message]
2007-04-10 11:08 ` [PATCH 5/8] lguest: the console driver Rusty Russell
2007-04-10 11:09 ` [PATCH 5/8] lguest: the net driver Rusty Russell
2007-04-10 11:11 ` [PATCH 6/8] " Rusty Russell
[not found] ` <1176203475.26372.37.camel@localhost.localdomain>
2007-04-10 11:12 ` PATCH 7/8] lguest: the block driver Rusty Russell
[not found] ` <1176203528.26372.40.camel@localhost.localdomain>
2007-04-10 11:12 ` [PATCH 8/8] lguest: the documentation, example launcher Rusty Russell
2007-04-10 11:28 ` PATCH 7/8] lguest: the block driver Pekka Enberg
[not found] ` <84144f020704100428r6e35e34cued8758c94728a6a0@mail.gmail.com>
2007-04-10 11:36 ` Pekka Enberg
[not found] ` <84144f020704100436y3405f104x8345c72556d961e9@mail.gmail.com>
2007-04-11 4:00 ` Rusty Russell
2007-04-11 5:29 ` Pekka Enberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1176203285.26372.29.camel@localhost.localdomain \
--to=rusty@rustcorp.com.au \
--cc=ak@muc.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).