Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-30 Thread Gabriel C
Rusty Russell wrote: > On Mon, 2007-07-30 at 06:18 +0530, Satyam Sharma wrote: >> On 7/30/07, Rusty Russell <[EMAIL PROTECTED]> wrote: >>> +config LGUEST_NET >>> + tristate >>> + depends on LGUEST_GUEST && NET >> default y ? > > Thanks, that does work better. Clean configs get an "N"

Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-30 Thread Gabriel C
Rusty Russell wrote: On Mon, 2007-07-30 at 06:18 +0530, Satyam Sharma wrote: On 7/30/07, Rusty Russell [EMAIL PROTECTED] wrote: +config LGUEST_NET + tristate + depends on LGUEST_GUEST NET default y ? Thanks, that does work better. Clean configs get an N otherwise 8( I

Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Gabriel C
Rusty Russell wrote: > On Sun, 2007-07-29 at 17:18 +0200, Gabriel C wrote: >> Hi Rusty, >> >> Lguest should depend on BLOCK too , without BLOCK set I get this error: > > Hi Gabriel, > > Thanks for the report! It's probably better to fix this properly > rather than hack it as I did for

Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Rusty Russell
On Mon, 2007-07-30 at 06:18 +0530, Satyam Sharma wrote: > On 7/30/07, Rusty Russell <[EMAIL PROTECTED]> wrote: > > +config LGUEST_NET > > + tristate > > + depends on LGUEST_GUEST && NET > > default y ? Thanks, that does work better. Clean configs get an "N" otherwise 8( > I /think/

Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Satyam Sharma
On 7/30/07, Rusty Russell <[EMAIL PROTECTED]> wrote: > [...] > Gabriel C reports lguest doesn't compile with CONFIG_BLOCK=n. Fix > this by introducing a config var for the block device, which depends > on LGUEST && BLOCK. Do the same for the net driver, rather then > depending gratuitously on

[PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Rusty Russell
On Sun, 2007-07-29 at 17:18 +0200, Gabriel C wrote: > Hi Rusty, > > Lguest should depend on BLOCK too , without BLOCK set I get this error: Hi Gabriel, Thanks for the report! It's probably better to fix this properly rather than hack it as I did for NET. Linus, please apply: Gabriel

[PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Rusty Russell
On Sun, 2007-07-29 at 17:18 +0200, Gabriel C wrote: Hi Rusty, Lguest should depend on BLOCK too , without BLOCK set I get this error: Hi Gabriel, Thanks for the report! It's probably better to fix this properly rather than hack it as I did for NET. Linus, please apply: Gabriel C

Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Satyam Sharma
On 7/30/07, Rusty Russell [EMAIL PROTECTED] wrote: [...] Gabriel C reports lguest doesn't compile with CONFIG_BLOCK=n. Fix this by introducing a config var for the block device, which depends on LGUEST BLOCK. Do the same for the net driver, rather then depending gratuitously on CONFIG_NET.

Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Rusty Russell
On Mon, 2007-07-30 at 06:18 +0530, Satyam Sharma wrote: On 7/30/07, Rusty Russell [EMAIL PROTECTED] wrote: +config LGUEST_NET + tristate + depends on LGUEST_GUEST NET default y ? Thanks, that does work better. Clean configs get an N otherwise 8( I /think/ the default y

Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Gabriel C
Rusty Russell wrote: On Sun, 2007-07-29 at 17:18 +0200, Gabriel C wrote: Hi Rusty, Lguest should depend on BLOCK too , without BLOCK set I get this error: Hi Gabriel, Thanks for the report! It's probably better to fix this properly rather than hack it as I did for NET. You are