WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] RE: [PATCH] fixed serial console support

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: [Xen-ia64-devel] RE: [PATCH] fixed serial console support
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Thu, 01 Dec 2005 09:11:39 -0700
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Dec 2005 16:09:31 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD5875E74@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: LOSL
References: <516F50407E01324991DD6D07B0531AD5875E74@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2005-11-30 at 13:52 -0800, Magenheimer, Dan (HP Labs Fort
Collins) wrote:
> Is there one place (or a small number of places) where
> some Xen-specific code could be added to Linux to
> disable the 8250 (using "if (running_on_xen)" without
> CONFIG_SERIAL_8250=n?   It would be nice to retain
> transparent paravirtualization if possible.

   It really seems like we need some way to hide individual devices.  I
would only feel comfortable hiding a UART using "running_on_xen" for
guest domain if we could do it such that only the console UART is
hidden.  Are there any hypervisor callbacks we can use to tell a
privileged domain the physical address of the console UART?  If so we
might be able to exit out of registering the serial device fairly
easily.  Maybe it could be done via an "ignore_uart=" boot parameter
passed into dom0(?)  Otherwise we'd need to trap the ioremap in the
hypervisor or mess with SAL PCI calls for PCI UARTs and ACPI namespace
for non-PCI.  I'm sure all of these have fairly serious problems and
implications.

>  Also,
> will this eliminate the need to have CONFIG_VT=y
> on dom0 and CONFIG_VT=n on domU?

   I don't know, I never really understood the problem there.  Xen
provides a ttyS (serial) console device to dom0  and a tty (vt) device
to non-dom0 domains.  I would therefore have expected domU to need
CONFIG_VT=y.  What was the problem with CONFIG_VT on domU before?
Thanks,

        Alex

-- 
Alex Williamson                             HP Linux & Open Source Lab


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>