xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Console Input (readline) in Mini-OS
@ 2010-12-10 23:38 Rohit Kumar
  2010-12-11  7:52 ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Rohit Kumar @ 2010-12-10 23:38 UTC (permalink / raw)
  To: xen-devel

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?

Thanks,
Rohit

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Console Input (readline) in Mini-OS
  2010-12-10 23:38 Console Input (readline) in Mini-OS Rohit Kumar
@ 2010-12-11  7:52 ` Keir Fraser
  0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2010-12-11  7:52 UTC (permalink / raw)
  To: Rohit Kumar, xen-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-11  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-10 23:38 Console Input (readline) in Mini-OS Rohit Kumar
2010-12-11  7:52 ` Keir Fraser

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).