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 "ocamlfind" {build}
19 "jbuilder" {>= "1.0+beta9"}
20 "mirage-console-lwt" {>= "2.2.0"}
21 "mirage-console-xen-proto"
22 "lwt"
23 "xenstore"
24 "xen-evtchn"
25 "xen-gnt"
26 "shared-memory-ring-lwt"
27 "cstruct" {< "6.1.0"}
28]
29synopsis: "Implementations of Mirage consoles, for Unix and Xen"
30description: """
31The Unix version of the console currently uses standard output. The code is in
32
33 unix/console.{ml,mli}
34
35The Xen kernel version of the console uses the primary PV console ring. The
36code is in
37
38 xen/console.{ml,mli}
39
40There is also a Unix userspace utility which creates and services Xen consoles
41("console backends"):
42
43Connect a console to a VM like this:
44
45```
46[root@st30 ~]# ./mirage-console connect trusty
47Operating on VM domain id: 19
48Creating device 1 (linux device /dev/tty1)
49{ ref = 128; event_channel = 13 }
50```
51
52Then inside the guest:
53
54```
55[root@trusty ~]# cat > /dev/hvc1
56hello
57there
58```
59
60And observe in dom0:
61
62```
63hello
64there
65```
66
67Then hit Control+C and it all cleans up."""
68url {
69 src:
70 "https://github.com/mirage/mirage-console/releases/download/v2.3.3/mirage-console-2.3.3.tbz"
71 checksum: [
72 "sha256=cea9913045018dbda194e8c94a5d85b84206934e93bb50c082a0854cd08d5dbb"
73 "md5=5333550e819614a59547a3ee98cf33ef"
74 ]
75}
76flags: deprecated