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] Console Input (readline) in Mini-OS

To: Rohit Kumar <rohitkk@xxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Console Input (readline) in Mini-OS
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=v9CRXnt9NB+jegaPDJh8uCDHGVWSFIioVXxwGl2obKs=; b=fUyz+bTYEuVPyiMvN/0RZydowW3goOmKQCPTq1Zb0ITShqnBTT3Onw3Hq9sygg+3Wn YvzZUUOZ/gJxkNbVIds6Any17k3YeIa/QZORtDElVIaP9oeW0E1YhcW+1u0JWRiQGumJ 210QsmqMUaQQ8n/ZM9CzfaPJoL2qh94ko3Wu0=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D02B9F9.6030203@xxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuZCE4kHULWhL3s+0CPeqTP3IGzfA==
Thread-topic: [Xen-devel] Console Input (readline) in Mini-OS
User-agent: Microsoft-Entourage/12.27.0.100910
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

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