Skip to contentSkip to conversation

Console Input (readline) in Mini-OS

DISCUSSION Rohit Kumar 2 participants 2 messages Dec 10, 2010 – Dec 11, 2010

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 8 lines · Rohit Kumar

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

Quoted 7 lines

Thanks,
Rohit

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel