libxl: fix error message in device_backend_callback
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 10 Sep 2012 10:13:53 +0000 (11:13 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Mon, 10 Sep 2012 10:13:53 +0000 (11:13 +0100)
commit4760e67ccd29aba4406230d411ec2635dfb8f7a7
tree734ef2d0f29befb784029050c239f554c48fd0f0
parentaca51da7badfe63f0dc4848dc2a13d55c91f1b6f
libxl: fix error message in device_backend_callback

device_backend_callback error path always says "unable to disconnect",
but this can also happen during the connection of a device. Fix the
error message using the information in aodev->action.

Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_device.c