Re: [patch 3] Xen core patch : runtime VT console disable

From: Ian Pratt
Date: Thu Nov 18 2004 - 05:16:14 EST


> Andrew Morton <akpm@xxxxxxxx> writes:
>
> > > +int console_use_vt = 1;
> >
> > Should this not have static scope?
>
> I'd like to have that one globally visible, so that code somewhere in
> arch/{xen|um} can enable/disable that at boot time depending on the
> virtual machine configuration.

Yep, that's why we need it global. In
arch/xen/i386/kernel/setup.c we set it to zero if the virtual
machine doesn't have access to the console hardware.

Ian
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/