summaryrefslogtreecommitdiffstats
path: root/drivers/lguest
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-17 22:32:50 -0200
committerRusty Russell <rusty@rustcorp.com.au>2008-01-30 22:50:03 +1100
commit5c55841d16dbf7c759fa6fb2ecc5e615b86d17db (patch)
tree1ec79bd32aa238448f2a0aa24661cb83ce4cec54 /drivers/lguest
parent7ea08093e0ccbad030188ded3cb082d8b8094d35 (diff)
downloadop-kernel-dev-5c55841d16dbf7c759fa6fb2ecc5e615b86d17db.zip
op-kernel-dev-5c55841d16dbf7c759fa6fb2ecc5e615b86d17db.tar.gz
lguest: remove pv_info dependency
Currently, 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 paravirt override. Reason for that is the reference to pv_info structure in initial loading tests. This patch removes it in favour of a more generic error message. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest')
-rw-r--r--drivers/lguest/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/core.c b/drivers/lguest/core.c
index cb4c670..f10abc8 100644
--- a/drivers/lguest/core.c
+++ b/drivers/lguest/core.c
@@ -253,7 +253,7 @@ static int __init init(void)
/* Lguest can't run under Xen, VMI or itself. It does Tricky Stuff. */
if (paravirt_enabled()) {
- printk("lguest is afraid of %s\n", pv_info.name);
+ printk("lguest is afraid of being a guest\n");
return -EPERM;
}
OpenPOWER on IntegriCloud