This does not work with recent xen
mseri opened this issue · comments
Installing it on a ubuntu 17.10 fails with multiple gcc warning/errors
Same on Fedora 27 :(
+ /home/gabori/.opam/4.04.2/bin/ocamlfind ocamlc -g -c xenlight/xenlight_stubs.c
In file included from xenlight/xenlight_stubs.c:420:0:
xenlight/caml_types.h: In function ‘domain_create_info_val’:
xenlight/caml_types.h:1343:7: error: ‘libxl_domain_create_info {aka struct libxl_domain_create_info}’ has no member named ‘pvh’
c_val->pvh = Defbool_val(Field(v, 12));
^~
xenlight/caml_types.h: In function ‘Val_domain_create_info’:
xenlight/caml_types.h:1395:62: error: ‘libxl_domain_create_info {aka struct libxl_domain_create_info}’ has no member named ‘pvh’
domain_create_info_field = Val_defbool(domain_create_info_c->pvh);
^~
I have xen-devel
4.9.1
Still does not work on Fedora 27 :(
+ /root/.opam/4.04.2/bin/ocamlfind ocamlc -g -ccopt -Wno-unused-function -ccopt -g -ccopt -ggdb -ccopt -Wno-format-truncation -c xenlight/xenlight_stubs.c
In file included from xenlight/xenlight_stubs.c:420:0:
xenlight/caml_types.h: In function ‘domain_build_info_val’:
xenlight/caml_types.h:1968:24: error: ‘struct <anonymous>’ has no member named ‘mca_caps’
c_val->u.hvm.mca_caps = Int64_val(Field(Field(Field(v, 40), 0), 44));
^
xenlight/caml_types.h: In function ‘Val_domain_build_info’:
xenlight/caml_types.h:2313:68: error: ‘struct <anonymous>’ has no member named ‘mca_caps’
anon_field = caml_copy_int64(domain_build_info_c->u.hvm.mca_caps);
^
This is getting out of control. We need to find a different way of dealing with it
Once we get things to work with 4.06
, we can just use xenctrl.dummy
with the system xenctrl package on Fedora and things should work :)
Now it doesn't work on Debian 9 Stretch either, with xen 4.8 :( - but I think it used to.
Now we have the same problem, but with xen 4.11 😭