aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ocaml
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2012-07-26 16:47:37 +0100
committerRoger Pau Monne <roger.pau@citrix.com>2012-07-26 16:47:37 +0100
commitd82a726d153bdd9de98cdab27ed2f4e1d8eb47a1 (patch)
tree2d140c1b487034b7fd5ec1d962e7f5416b0d4cc4 /tools/ocaml
parent2c5f57a30850ba8f6371222bcf14be9b8a747de8 (diff)
downloadxen-d82a726d153bdd9de98cdab27ed2f4e1d8eb47a1.tar.gz
xen-d82a726d153bdd9de98cdab27ed2f4e1d8eb47a1.tar.bz2
xen-d82a726d153bdd9de98cdab27ed2f4e1d8eb47a1.zip
libxl: convert libxl_device_vfb_add to an async operation
Split libxl_device_vfb_add into libxl__device_vfb_add (to be used inside already running ao's), and make libxl_device_vfb_add a stub to call libxl__device_vfb_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.c2
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 3d2493bfc0..adda67f54f 100644
--- a/tools/ocaml/libs/xl/xenlight_stubs.c
+++ b/tools/ocaml/libs/xl/xenlight_stubs.c
@@ -369,7 +369,7 @@ value stub_xl_device_vfb_add(value info, value domid)
device_vfb_val(&gc, &lg, &c_info, info);
INIT_CTX();
- ret = libxl_device_vfb_add(ctx, Int_val(domid), &c_info);
+ ret = libxl_device_vfb_add(ctx, Int_val(domid), &c_info, 0);
if (ret != 0)
failwith_xl("vfb_add", &lg);
FREE_CTX();