[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Console Input (readline) in Mini-OS


  • To: Rohit Kumar <rohitkk@xxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Sat, 11 Dec 2010 07:52:06 +0000
  • Cc:
  • Delivery-date: Fri, 10 Dec 2010 23:53:14 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=vWpvvPUyGdCtcuOUFg+q8yTWlKMcQyHYo0GQQmMn68iDGm9X5/4TtgjEdpXg/TGB8b GvFsV5aRWv1XidmyFZDUV8CoeKm2A5kKT5umJv72QcKiPXONUSD2qeRE5NEzkZOkj/Iu Jz/d6lCepF+1KVfXtzgh6ZKyiOEi0kwHlW69s=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcuZCE4kHULWhL3s+0CPeqTP3IGzfA==
  • Thread-topic: [Xen-devel] Console Input (readline) in Mini-OS

On 10/12/2010 23:38, "Rohit Kumar" <rohitkk@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.