diff options
author | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-06-28 18:43:24 +0100 |
---|---|---|
committer | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-06-28 18:43:24 +0100 |
commit | 87b978d599f831935e32019bc7420112c9d4244a (patch) | |
tree | 91de1afea917804ac928721cb02a47bb4135b470 /tools/libxl/libxl_save_msgs_gen.pl | |
parent | 2602bfcf679e4a9e0641f21be0c2f2b2d4c47a3b (diff) | |
download | xen-87b978d599f831935e32019bc7420112c9d4244a.tar.gz xen-87b978d599f831935e32019bc7420112c9d4244a.tar.bz2 xen-87b978d599f831935e32019bc7420112c9d4244a.zip |
libxl: prepare for asynchronous writing of qemu save file
* Combine the various calls to libxl__device_model_savefile into one
at the start of libxl__domain_suspend, storing the result in the
dss. Consequently a few functions take a dss instead of some or all
of their other arguments.
* Make libxl__domain_save_device_model's API into an asynchronous
style which takes a callback. The function is, however, still
synchronous; it will be made actually async in the next patch.
* Consequently make libxl__remus_domain_checkpoint_callback into an
asynchronous callback.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_save_msgs_gen.pl')
-rwxr-xr-x | tools/libxl/libxl_save_msgs_gen.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxl_save_msgs_gen.pl b/tools/libxl/libxl_save_msgs_gen.pl index a9ac808ff0..ee126c786a 100755 --- a/tools/libxl/libxl_save_msgs_gen.pl +++ b/tools/libxl/libxl_save_msgs_gen.pl @@ -25,7 +25,7 @@ our @msgs = ( 'unsigned long', 'total'] ], [ 3, 'scxW', "suspend", [] ], [ 4, 'scxW', "postcopy", [] ], - [ 5, 'scxW', "checkpoint", [] ], + [ 5, 'scxA', "checkpoint", [] ], [ 6, 'scxA', "switch_qemu_logdirty", [qw(int domid unsigned enable)] ], # toolstack_save done entirely `by hand' |