From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Console Input (readline) in Mini-OS Date: Sat, 11 Dec 2010 07:52:06 +0000 Message-ID: References: <4D02B9F9.6030203@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4D02B9F9.6030203@cs.ucla.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Rohit Kumar , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 10/12/2010 23:38, "Rohit Kumar" wrote: > I have been playing with Mini-OS and have been using a combination of > console_print and printk for printing messages on the console. > > I couldn't find anything to do console input. I was trying to do it > through HYPERVISOR_console_io(CONSOLEIO_read, ...) but that doesn't seem > to be helping. > > Could anyone tell me how to go about this? There is a shared ring protocol to xenconsoled in dom0, which minios already supports. See extras/mini-os/console/xencons_ring.c. I don't know exactly how to set it up, I don't hack or use minios myself. But that's where the code is. -- Keir > Thanks, > Rohit > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel