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

Re: [Xen-devel] Xen attention key

To: Bin Ren <br260@xxxxxxxxx>
Subject: Re: [Xen-devel] Xen attention key
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 17 Nov 2003 19:30:37 +0000
Cc: Devel Xen <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 17 Nov 2003 19:34:24 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 17 Nov 2003 18:13:31 GMT." <C06471BC-1929-11D8-AF56-000A9576014E@xxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> Xen internally registers a series of key handlers. When a key is 
> pressed,
> the corresponding key handler is invoked, which 'printk' (not 'printf' 
> to stdout)
> internal statistical information, very useful for debugging.

I think the 'attention key' is of dubious use, given that domain 0
takes over the VGA console as soon as it starts. Plus the current
'virtualisation' of PS/2 access has never really worked 100% anyway.

For start-of-day (bootstrap) debugging we have the serial line -- I
think that everyone who's doing the type of low-level hacking where
those keys are useful has serial-line acces. 

For later debugging, I think we can just add a temporary DOM0_OP to
execute a keyboard handler, and then use xi_read_console_ring to get
the debug output. The eventual aim should be that most debug keys are
only useful to low-level developers, and any others have some better
defined access method (e.g., we need a better method for pulling
performance counter values out of Xen).

This then allows us to have the keyboard (and mouse) belonging solely
to domain-0 after it has booted, as is already the case for the
display device, which gets rid of the current flawed and pointless
'virtualisation' of PS/2 access.

 -- Keir


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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