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/libxl/libxl.h | |
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/libxl/libxl.h')
-rw-r--r-- | tools/libxl/libxl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index e6e549f318..70a1e78199 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -711,7 +711,8 @@ int libxl_device_nic_getinfo(libxl_ctx *ctx, uint32_t domid, libxl_device_nic *nic, libxl_nicinfo *nicinfo); /* Keyboard */ -int libxl_device_vkb_add(libxl_ctx *ctx, uint32_t domid, libxl_device_vkb *vkb); +int libxl_device_vkb_add(libxl_ctx *ctx, uint32_t domid, libxl_device_vkb *vkb, + const libxl_asyncop_how *ao_how); int libxl_device_vkb_remove(libxl_ctx *ctx, uint32_t domid, libxl_device_vkb *vkb, const libxl_asyncop_how *ao_how); |