diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-18 01:32:50 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-01-30 12:50:03 +0100 |
commit | 5c55841d16dbf7c759fa6fb2ecc5e615b86d17db (patch) | |
tree | 1ec79bd32aa238448f2a0aa24661cb83ce4cec54 /drivers/lguest/core.c | |
parent | lguest: fix drivers/lguest Makefile entry (diff) | |
download | linux-5c55841d16dbf7c759fa6fb2ecc5e615b86d17db.tar.xz linux-5c55841d16dbf7c759fa6fb2ecc5e615b86d17db.zip |
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/core.c')
-rw-r--r-- | drivers/lguest/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/core.c b/drivers/lguest/core.c index cb4c67025d52..f10abc8d7635 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; } |