[Lguest] [PATCH 0/7] More lguest massage.

Glauber de Oliveira Costa gcosta at redhat.com
Fri Jan 18 11:35:50 EST 2008


urrently, lguest module can't be compiled without the PARAVIRT flag being
on.This is a fake dependency, since the module itself shouldn't need any
paravirtoverride. Reason for that is the reference to pv_info structure
ininitial loading tests.

his patch removes it in favour of a more generic error message.

Signed-off-by:Glauber de Oliveira Costa <gcosta at redhat.com>
---
drivers/lguest/core.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff--git a/drivers/lguest/core.c b/drivers/lguest/core.c
indexbb42fd0..97b76d6 100644
---a/drivers/lguest/core.c
+++b/drivers/lguest/core.c
@@-255,7 +255,7 @@ static int __init init(void)

	/* Lguest can't run under Xen, VMI or itself.  It does Tricky Stuff. */
	if (paravirt_enabled()) {
-		printk("lguestis afraid of %s\n", pv_info.name);
+		printk("lguestcan't run under another hypervisor");
		return -EPERM;
	}

--
1.5.0.6




More information about the Lguest mailing list