Name: mirage-console
Owner: MirageOS
Description: Portable console handling for Mirage applications
Created: 2013-11-08 23:07:35.0
Updated: 2016-11-12 10:25:49.0
Pushed: 2017-11-25 03:27:08.0
Homepage: null
Size: 212
Language: OCaml
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
%%VERSION%%
The Unix version of the console currently uses standard output. The code is in
unix/console.{ml,mli}
The Xen kernel version of the console uses the primary PV console ring. The code is in
xen/console.{ml,mli}
There is also a Unix userspace utility which creates and services Xen consoles (“console backends”):
Connect a console to a VM like this:
t@st30 ~]# ./mirage-console connect trusty
ating on VM domain id: 19
ting device 1 (linux device /dev/tty1)
f = 128; event_channel = 13 }
Then inside the guest:
t@trusty ~]# cat > /dev/hvc1
o
e
And observe in dom0:
o
e
Then hit Control+C and it all cleans up.