diff options
| author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-17 19:32:50 -0500 |
|---|---|---|
| committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-01-30 06:50:03 -0500 |
| commit | 5c55841d16dbf7c759fa6fb2ecc5e615b86d17db (patch) | |
| tree | 1ec79bd32aa238448f2a0aa24661cb83ce4cec54 | |
| parent | 7ea08093e0ccbad030188ded3cb082d8b8094d35 (diff) | |
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>
| -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) | |||
| 253 | 253 | ||
| 254 | /* Lguest can't run under Xen, VMI or itself. It does Tricky Stuff. */ | 254 | /* Lguest can't run under Xen, VMI or itself. It does Tricky Stuff. */ |
| 255 | if (paravirt_enabled()) { | 255 | if (paravirt_enabled()) { |
| 256 | printk("lguest is afraid of %s\n", pv_info.name); | 256 | printk("lguest is afraid of being a guest\n"); |
| 257 | return -EPERM; | 257 | return -EPERM; |
| 258 | } | 258 | } |
| 259 | 259 | ||
