Merge pull request #5 from avsm/master

Fix Xen META file for requires from 266b621f2ce6fea6064
Fix console on resume - the event channel wasn't being renewed.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #6 from jonludlam/resume-fix

Fix console on resume - the event channel wasn't being renewed.
Switch to ocamlfind xen-{gnt,evtchn}

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #7 from djs55/xen-gnt

Switch to ocamlfind xen-{gnt,evtchn}
sync CHANGES
Fix dependencies: this library does not depend on mirage-{xen,unix}

It only depends on mirage-types (plus a set of standard libraries)

Signed-off-by: David Scott <dave.scott@citrix.com>
update CHANGES

Signed-off-by: David Scott <dave.scott@citrix.com>
Switch build to OASIS

Note: mirage-console-xen does still depend on mirage-xen since
it needs access to the Start_info page.

Signed-off-by: David Scott <dave.scott@citrix.com>
Add initial support for the console xenstore connection protocol

Includes a simple test CLI which should be able to attach consoles.

Signed-off-by: David Scott <dave.scott@citrix.com>
update CHANGES

Signed-off-by: David Scott <dave.scott@citrix.com>
travis: add xenstore_transport

Signed-off-by: David Scott <dave.scott@citrix.com>
Add a console backend to the library and CLI

Connect a console to a VM like this:

```
[root@st30 ~]# ./mirage-console connect trusty
Operating on VM domain id: 19
Creating device 1 (linux device /dev/tty1)
{ ref = 128; event_channel = 13 }
```

Then inside the guest:

```
[root@trusty ~]# cat > /dev/hvc1
hello
there
```

And observe in dom0:

```
hello
there
```

Then hit Control+C and it all cleans up.

Signed-off-by: David Scott <dave.scott@citrix.com>
update README.md

Signed-off-by: David Scott <dave.scott@citrix.com>
[xen]: (protocol extension) allow consoles to be given string labels

The label allows the VM to look up a console by label rather than by
numeric id.

This is considered experimental behaviour.

Signed-off-by: David Scott <dave.scott@citrix.com>
update CHANGES

Signed-off-by: David Scott <dave.scott@citrix.com>
add travis

Signed-off-by: David Scott <dave.scott@citrix.com>
travis: work around my lack of bash-fu

Signed-off-by: David Scott <dave.scott@citrix.com>
Update CHANGES

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #8 from djs55/add-travis

add travis