projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c006f
)
libxl: libxl__prepare_ao_device should reset num_exec
author
Roger Pau Monne
<roger.pau@citrix.com>
Fri, 25 Jan 2013 08:54:18 +0000
(08:54 +0000)
committer
Roger Pau Monne
<roger.pau@citrix.com>
Fri, 25 Jan 2013 08:54:18 +0000
(08:54 +0000)
num_exec was not cleared when calling libxl__prepare_ao_device.
Signed-off-by: Roger Pau Monné <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
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl_device.c
b/tools/libxl/libxl_device.c
index 51dd06e483cc8099ae875ee7252819e389de471a..58d3f35dfa0512fb2922cf89ad82fe84ffe512ee 100644
(file)
--- a/
tools/libxl/libxl_device.c
+++ b/
tools/libxl/libxl_device.c
@@
-409,6
+409,7
@@
void libxl__prepare_ao_device(libxl__ao *ao, libxl__ao_device *aodev)
aodev->ao = ao;
aodev->rc = 0;
aodev->dev = NULL;
+ aodev->num_exec = 0;
/* Initialize timer for QEMU Bodge and hotplug execution */
libxl__ev_time_init(&aodev->timeout);
aodev->active = 1;