From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: better console support Date: Thu, 25 Jan 2007 18:55:29 +0000 Message-ID: References: <45B8FB55.1080306@sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45B8FB55.1080306@sun.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Joe Bonasera Cc: xen-devel@lists.xensource.com, edward.pilatowicz@sun.com List-Id: xen-devel@lists.xenproject.org On 25/1/07 18:47, "Joe Bonasera" wrote: > The standard internal testing setup inside Sun that most > people run with is debug Xen and debug dom0 both > sharing either the VGA console or a single serial port console. > We also see field support of the eventual product needing the > ability to interact with both consoles on the same physical > device. So we want to make the dom0 just handle sharing the console > as automatically as possible. You can already detect if Xen has locked out com1 or com2: try reading one of the UART registers (or perhaps write-then-read). If you get back all ones then you're locked out. Maybe a vgakeep flag would be useful. We could add a SIF_VGA_IN_USE flag or something. -- Keir