diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2012-07-26 16:47:36 +0100 |
---|---|---|
committer | Roger Pau Monne <roger.pau@citrix.com> | 2012-07-26 16:47:36 +0100 |
commit | 2c5f57a30850ba8f6371222bcf14be9b8a747de8 (patch) | |
tree | 2a8a0dfc0c67255ffeb61e3a9874d7e7a6f8b938 /tools/ocaml | |
parent | 57ad6afe2a08a03c40bcd336bfb27e008e1d3e53 (diff) | |
download | xen-2c5f57a30850ba8f6371222bcf14be9b8a747de8.tar.gz xen-2c5f57a30850ba8f6371222bcf14be9b8a747de8.tar.bz2 xen-2c5f57a30850ba8f6371222bcf14be9b8a747de8.zip |
libxl: convert libxl_device_vkb_add to an async operation
Split libxl_device_vkb_add into libxl__device_vkb_add (to be used
inside already running ao's), and make libxl_device_vkb_add a stub to
call libxl__device_vkb_add.
Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/ocaml')
-rw-r--r-- | tools/ocaml/libs/xl/xenlight_stubs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ocaml/libs/xl/xenlight_stubs.c b/tools/ocaml/libs/xl/xenlight_stubs.c index 0e9c65e8cd..3d2493bfc0 100644 --- a/tools/ocaml/libs/xl/xenlight_stubs.c +++ b/tools/ocaml/libs/xl/xenlight_stubs.c @@ -315,7 +315,7 @@ value stub_xl_device_vkb_add(value info, value domid) device_vkb_val(&gc, &lg, &c_info, info); INIT_CTX(); - ret = libxl_device_vkb_add(ctx, Int_val(domid), &c_info); + ret = libxl_device_vkb_add(ctx, Int_val(domid), &c_info, 0); if (ret != 0) failwith_xl("vkb_add", &lg); FREE_CTX(); |