diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2012-10-18 09:35:09 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2012-10-18 09:35:09 +0100 |
commit | b3b123b5a943cd2e289c6cb429836f6b16648771 (patch) | |
tree | 292d5282b3a330887a69287562cfe0824c806e23 /tools/libxl/libxl_create.c | |
parent | 191e485a1929a02706ec3301f3185b2b89c3253f (diff) | |
download | xen-b3b123b5a943cd2e289c6cb429836f6b16648771.tar.gz xen-b3b123b5a943cd2e289c6cb429836f6b16648771.tar.bz2 xen-b3b123b5a943cd2e289c6cb429836f6b16648771.zip |
libxl: propagate user supplied values into event for_user field.
This was ommited in the majority of cases. Add as a parameter to
libxl__event_new and the NEW_EVENT wrapper to help prevent it being
forgotten in the future.
Signed-off-by: Ian Campbell <ian.campbell@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, 2 insertions, 1 deletions
diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c index eedf38fbcc..e81747b2bc 100644 --- a/tools/libxl/libxl_create.c +++ b/tools/libxl/libxl_create.c @@ -705,7 +705,8 @@ static void domcreate_console_available(libxl__egc *egc, libxl__domain_create_state *dcs) { libxl__ao_progress_report(egc, dcs->ao, &dcs->aop_console_how, NEW_EVENT(egc, DOMAIN_CREATE_CONSOLE_AVAILABLE, - dcs->guest_domid)); + dcs->guest_domid, + dcs->aop_console_how.for_event)); } static void domcreate_bootloader_done(libxl__egc *egc, |