diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2012-07-26 16:47:37 +0100 |
---|---|---|
committer | Roger Pau Monne <roger.pau@citrix.com> | 2012-07-26 16:47:37 +0100 |
commit | d82a726d153bdd9de98cdab27ed2f4e1d8eb47a1 (patch) | |
tree | 2d140c1b487034b7fd5ec1d962e7f5416b0d4cc4 /tools/libxl/libxl_create.c | |
parent | 2c5f57a30850ba8f6371222bcf14be9b8a747de8 (diff) | |
download | xen-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/libxl/libxl_create.c')
-rw-r--r-- | tools/libxl/libxl_create.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c index a9704dee65..aafacd8c85 100644 --- a/tools/libxl/libxl_create.c +++ b/tools/libxl/libxl_create.c @@ -932,7 +932,6 @@ static void domcreate_launch_dm(libxl__egc *egc, libxl__ao_devices *aodevs, const uint32_t domid = dcs->guest_domid; libxl_domain_config *const d_config = dcs->guest_config; libxl__domain_build_state *const state = &dcs->build_state; - libxl_ctx *const ctx = CTX; if (ret) { LOG(ERROR, "unable to add disk devices"); @@ -976,7 +975,7 @@ static void domcreate_launch_dm(libxl__egc *egc, libxl__ao_devices *aodevs, libxl__device_console console; for (i = 0; i < d_config->num_vfbs; i++) { - libxl_device_vfb_add(ctx, domid, &d_config->vfbs[i]); + libxl__device_vfb_add(gc, domid, &d_config->vfbs[i]); libxl__device_vkb_add(gc, domid, &d_config->vkbs[i]); } |