this repo has no description
1opam-version: "2.0"
2maintainer: "anil@recoil.org"
3homepage: "https://github.com/mirage/mirage-console"
4bug-reports: "https://github.com/mirage/mirage-console/issues"
5dev-repo: "git+https://github.com/mirage/mirage-console.git"
6doc: "https://mirage.github.io/mirage-console/"
7authors: [ "Anil Madhavapeddy" "David Scott"]
8tags: [ "org:mirage" "org:xapi-project"]
9license: "ISC"
10
11build: [
12 ["jbuilder" "subst" "-p" name] {dev}
13 [ "jbuilder" "build" "-p" name "-j" jobs ]
14]
15
16depends: [
17 "ocaml" {>= "4.03.0"}
18 "jbuilder" {>= "1.0+beta9"}
19 "mirage-console-lwt" {>= "2.2.0"}
20 "mirage-console-xen-proto"
21 "lwt"
22 "io-page-xen" {>= "2.0.0"}
23 "xenstore"
24 "xen-evtchn"
25 "xen-gnt"
26 "shared-memory-ring-lwt"
27]
28synopsis: "Implementations of Mirage consoles, for Unix and Xen"
29description: """
30The Unix version of the console currently uses standard output. The code is in
31
32 unix/console.{ml,mli}
33
34The Xen kernel version of the console uses the primary PV console ring. The
35code is in
36
37 xen/console.{ml,mli}
38
39There is also a Unix userspace utility which creates and services Xen consoles
40("console backends"):
41
42Connect a console to a VM like this:
43
44```
45[root@st30 ~]# ./mirage-console connect trusty
46Operating on VM domain id: 19
47Creating device 1 (linux device /dev/tty1)
48{ ref = 128; event_channel = 13 }
49```
50
51Then inside the guest:
52
53```
54[root@trusty ~]# cat > /dev/hvc1
55hello
56there
57```
58
59And observe in dom0:
60
61```
62hello
63there
64```
65
66Then hit Control+C and it all cleans up."""
67url {
68 src:
69 "https://github.com/mirage/mirage-console/releases/download/v2.3.4/mirage-console-2.3.4.tbz"
70 checksum: [
71 "sha256=b0147914003d74a736e95233285f529dc8ebfc31af461e37a508331c6a4adcbf"
72 "md5=b81bd7033517c1e41527a2055ce0d22f"
73 ]
74}
75flags: deprecated