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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] better console support

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] better console support
From: Joe Bonasera <joe.bonasera@xxxxxxx>
Date: 2007年1月25日 10:47:49 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, edward.pilatowicz@xxxxxxx
Delivery-date: 2007年1月25日 10:46:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1DE9DDE.83DB%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C1DE9DDE.83DB%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.5 (X11/20060925)
Keir Fraser wrote:
On 25/1/07 17:00, "Joe Bonasera" <joe.bonasera@xxxxxxx> wrote:
There seems to be a some confusion over properly setting
up what Xen and dom0 use for console devices.
Is anybody actively working on changes in this area?
I'm not sure there's any confusion. By default Xen uses the VGA console
until dom0 starts executing, at which point it gives it up. At that point
Xen has no console devices. If the user overrides any settings, for example
to give Xen com1 then we make efforts to prevent dom0 from conflicting
(e.g., by silently disallowing its attempts to mess with com1).
 -- Keir
The silently disallowing thing, as well as the vga vs. vga all the time
is what is causing Solaris users confusion.
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.
The algorithm I'm envisioning is something like:
 hyper_cons_dev = ... /* from Xen capabilites, one of
 com1, com2, vga, or vgakeep */
 dom0_cons_dev = ... /* from dom0 command line, one of
 com1, com2, vga, or hypervisor --
 where hypervisor means use the
 HYPERVISOR_console_io() calls */
then in our dom0 startup we could do something like :
 if (hyper_cons_dev is vgakeep)
 if (dom0_cons_dev is vga)
 set dom0_cons_dev = hypervisor
 endif
 else if (hyper_cons_dev is vga)
 /* should just work */
 else if (hyper_cons_dev is same as dom0_cons_dev)
 set dom0_cons_dev = hypervisor
 endif
If that's a non-issue for Linux that's ok, it could
just ignore the new capability.
Joe
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Stabilisation phase for xen-unstable , Keir Fraser
Next by Date: Re: [Xen-devel] better console support , Keir Fraser
Previous by Thread: Re: [Xen-devel] better console support , Keir Fraser
Next by Thread: Re: [Xen-devel] better console support , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /