1. 15 Dec, 2011 1 commit
  2. 10 Oct, 2011 3 commits
  3. 17 Mar, 2011 1 commit
  4. 06 Jan, 2011 1 commit
    • Ian Campbell's avatar
      ocaml: evtchn+xc bindings: use libxenctrl and libxenguest · c0df87ff
      Ian Campbell authored
      Now that tools/libxc is licensed under LGPL I don't think there is any need for
      an LGPL reimplementation under tools/ocaml.
      For the most part the conversion to the up-to-date libxc API (xc_lib.c
      essentially implemented the same interface as an older libxc) was pretty
      automatic. There are some functions which appear to no longer exist in libxc
      which I therefore simply removed the bindings for and a small number of
      interfaces which had changed.
      Many of the functions bound by the stubs have no in-tree users (which I think
      is fine for a language binding) so I have no way to confirm correctness other
      than by eye. I was however able to confirm that oxenstored still worked and to
      build a XCP toolstack which could successfully start a PV guest.
      Uses the new XC_OPENFLAG_NON_REENTRANT option to avoid potential conflicts
      between pthreads and the ocaml runtime.
      Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
      Cc: Vincent Hanquez <Vincent.Hanquez@eu.citrix.com>
      Committed-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
  5. 23 Nov, 2010 1 commit
    • Ian Campbell's avatar
      ocaml: install built modules · 986d69e0
      Ian Campbell authored
      Previously the install target was having no effect because it ended up
      calling the default target in the subdir Makefile instead of the
      install target.
      Resolve this by tying the tools/ocaml Makefiles into the generic
      handling done by tools/Rules.mk.
      Other changes arising in one way or another from this:
      - Add libs/xl/META.in
      - Update .hgignore for META files
      - Create leading directories
      - Remove existing module before installation in install targer
        (worksaround what appears to be a quirk of "ocamlfind install")
      - Use the globally defined $(DESTDIR)
      - Move "ocamlfind printfconf destdir" to a common variable,
        repurposing exising unused OCAMLDESTDIR, incorporating $(DESTDIR) at
        the same time.
      - Drop a few unused variabe definitions (mainly to avoid deciding if
        $(DESTDIR) made sense for them or not.
      - Pass -destdir to ocamlfind in uninstall target for symmetry with
        install target.
      Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
      Signed-off-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
  6. 07 May, 2010 1 commit
  7. 06 May, 2010 1 commit