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

From: Christoph Hellwig
Date: Thu Nov 18 2004 - 05:58:42 EST


On Wed, Nov 17, 2004 at 11:51:14PM +0000, Ian Pratt wrote:
>
> This patch enables the VT console to be disabled at runtime even if it
> is built into the kernel. arch-xen needs this to avoid trying to
> initialise a VT in virtual machine that doesn't have access to the
> console hardware.

You should only need the conditional initialization - all the runtime
checks couldn't be reached anymore if the device isn't actually registered.

-
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/