libxl: Re-introduce libxl__domain_resume
authorAnthony PERARD <anthony.perard@citrix.com>
Sun, 26 May 2019 12:37:44 +0000 (13:37 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Sep 2019 09:42:42 +0000 (10:42 +0100)
commit6298f0eb8f443777744ed8f1d4b0eafd0faaf022
tree943c6fec57ed079828c88dfb0175d6eee1fe98b6
parentb215f2ab6a074e45db704e39f7cc24dcc5e92506
libxl: Re-introduce libxl__domain_resume

libxl__domain_resume is a rework libxl__domain_resume_deprecated. It
makes uses of ev_xswatch and ev_qmp, to replace synchronous QMP calls
and libxl__wait_for_device_model_deprecated call.

This patch also introduce libxl__dm_resume which is a sub-operation of
both libxl__domain_resume and libxl__domain_unpause and can be used
instead of libxl__domain_resume_device_model_deprecated.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_dom_suspend.c
tools/libxl/libxl_internal.h