search for: phys_cap

Displaying 4 results from an estimated 4 matches for "phys_cap".

2011 Oct 05
3
[PATCH] libxc: reset ctx->completed on each domain restore
2012 Feb 20
18
[PATCH] libxl: fix compile error of libvirt
a, libxl_event.h is included in libxl.h. So, the former one also need to be installed. b, define __XEN_TOOLS__ in libxl.h: the head file "xen/sysctl.h" need check this macro. It is the same way used by the xen libxc public headers(tools/libxc/xenctrl.h and tools/libxc/xenctrlosdep.h). Signed-off-by: Bamvor Jian Zhang <bjzhang@suse.com> diff -r 87218bd367be
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in the libxl interface followed by auto-generation of a destructor function for each type. In the future it may be possible to use the related data structures for other purposes, for example auto-generation of the functions to marshal between C and language binding data types. tools/_libxl_types.h should be identical both before
2010 Jun 28
8
[PATCH] add xl ocaml bindings
..._field(v, 5, caml_copy_int64(c_val->total_pages)); + Store_field(v, 6, caml_copy_int64(c_val->free_pages)); + Store_field(v, 7, caml_copy_int64(c_val->scrub_pages)); + Store_field(v, 8, Val_int(c_val->nr_nodes)); + Store_field(v, 9, hwcap); + Store_field(v, 10, caml_copy_int32(c_val->phys_cap)); + + CAMLreturn(v); +} + +value stub_xl_domain_make(value info) +{ + CAMLparam1(info); + struct libxl_ctx ctx; + uint32_t domid; + libxl_domain_create_info c_info; + int ret; + + domain_create_info_val (&c_info, info); + + INIT_CTX(); + + ret = libxl_domain_make(&ctx, &c_info, &do...