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