From d82a726d153bdd9de98cdab27ed2f4e1d8eb47a1 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Thu, 26 Jul 2012 16:47:37 +0100 Subject: 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 Acked-by: Ian Jackson Committed-by: Ian Campbell --- tools/ocaml/libs/xl/xenlight_stubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/ocaml') 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(); -- cgit v1.2.3