On 03/05/2016 02:05 AM, Ian Jackson wrote:
+static void colo_proxy_async_call(libxl__egc *egc,
+ libxl__colo_save_state *css,
+ void func(libxl__colo_save_state *),
+ libxl__ev_child_callback callback)
+{
This is a straight clone-and-hack of drbd_async_call. Please make a
common function, or something.
Ok
+static void colo_proxy_async_wait_for_checkpoint(libxl__colo_save_state *css)
+{
+ int req;
+
+ req = colo_proxy_checkpoint(&css->cps, 5000000);
What is this magic number ? This seems quite odd...
It's an empirical timeout value(5s) for waiting a checkpoint.
Thanks
-Xie
Thanks,
Ian.
.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel