Skip to content

Commit

Permalink
lguest: remove pv_info dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Glauber de Oliveira Costa authored and Rusty Russell committed Jan 30, 2008
1 parent 7ea0809 commit 5c55841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/lguest/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5c55841

Please sign in to comment.