mirage/mirage-console

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

mirage-console – implementations of Mirage consoles, for Unix and Xen

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.