xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xen.org>
To: Rohit Kumar <rohitkk@cs.ucla.edu>, xen-devel@lists.xensource.com
Subject: Re: Console Input (readline) in Mini-OS
Date: Sat, 11 Dec 2010 07:52:06 +0000	[thread overview]
Message-ID: <C928DE26.C895%keir@xen.org> (raw)
In-Reply-To: <4D02B9F9.6030203@cs.ucla.edu>

On 10/12/2010 23:38, "Rohit Kumar" <rohitkk@cs.ucla.edu> 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

      reply	other threads:[~2010-12-11  7:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-10 23:38 Console Input (readline) in Mini-OS Rohit Kumar
2010-12-11  7:52 ` Keir Fraser [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C928DE26.C895%keir@xen.org \
    --to=keir@xen.org \
    --cc=rohitkk@cs.ucla.edu \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).