Console Input (readline) in Mini-OS
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
Quoted 8 lines · Rohit Kumar
I have been playing with Mini-OS and have been using a combination of
console_printand 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