Skip to content

Commit 6d8a2e8

Browse files
author
Jon Ludlam
authored
Merge pull request xapi-project#11 from jonludlam/stdext-pack
Use packed stdext
2 parents 9d47361 + d2367b7 commit 6d8a2e8

File tree

9 files changed

+34
-7512
lines changed

9 files changed

+34
-7512
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
1.0.1 (23-Jun-2016):
2+
* Use stdext 2.0.0
3+
14
1.0.0 (27-Apr-2016):
25
* Don't use oasis to install binaries
36
* Rename /xapi/* to /xenops/* in Xenstore

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ J=4
66

77
export OCAMLRUNPARAM=b
88

9+
setup.ml: _oasis
10+
@oasis setup
11+
912
setup.bin: setup.ml
1013
@ocamlopt.opt -o $@ $< || ocamlopt -o $@ $< || ocamlc -o $@ $<
1114
@rm -f setup.cmx setup.cmi setup.o setup.cmo

_oasis

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OASISFormat: 0.3
22
Name: xenops
3-
Version: 1.0.0
3+
Version: 1.0.1
44
Synopsis: Various Xen operations
55
Authors: Vincent Hanquez, Dave Scott, Jon Ludlam
66
License: LGPL-2.1 with OCaml linking exception

_tags

Lines changed: 0 additions & 62 deletions
This file was deleted.

list_domains/list_domains.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
* GNU Lesser General Public License for more details.
1313
*)
14-
open Pervasiveext
1514

1615
let domid = ref None
1716
let minimal = ref false
@@ -54,6 +53,8 @@ let hashtbl_of_domaininfo x : (string, string) Hashtbl.t =
5453
let shadow_mib =
5554
try Some (Int64.of_int (Xenctrl.shadow_allocation_get xc_handle x.domid))
5655
with _ -> None in
56+
let open Stdext.Pervasiveext in
57+
let open Stdext in
5758
let shadow_bytes = may Memory.bytes_of_mib shadow_mib in
5859
let shadow_pages = may Memory.pages_of_mib shadow_mib in
5960
Hashtbl.add table "shadow bytes" (Opt.default "N/A" (may Int64.to_string shadow_bytes));

0 commit comments

Comments
 (0)