libxl: convert libxl__device_disk_local_attach to an async op
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 26 Jul 2012 15:47:29 +0000 (16:47 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Thu, 26 Jul 2012 15:47:29 +0000 (16:47 +0100)
commit6c80432517e30bfe178981b1939b17bea6e2f434
tree25faad410c76a55fa7b2463d26a5790eef2be5fc
parentd2b17a8cb3fc7d6fa32da0a516e05f9da5907794
libxl: convert libxl__device_disk_local_attach to an async op

This will be needed in future patches, when libxl__device_disk_add
becomes async also. Create a new status structure that defines the
local attach of a disk device and use it in
libxl__device_disk_local_attach.

This is done in this patch to split the changes introduced when
libxl__device_disk_add becomes async.

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>
tools/libxl/libxl.c
tools/libxl/libxl_bootloader.c
tools/libxl/libxl_internal.h