|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] libxl: fix device model timeout in libxl__dm_resume()
commit f43afb079031d90a7810dce380ad0d224b895ea3
Author: Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Fri Nov 15 08:04:14 2019 +0100
Commit: Wei Liu <wl@xxxxxxx>
CommitDate: Fri Nov 15 10:37:44 2019 +0000
libxl: fix device model timeout in libxl__dm_resume()
libxl__dm_resume() is using a wrong timeout for the start of the
device model. Instead of 60 seconds the timeout is set to 60
milliseconds.
Reported-by: Roman Shaposhnik <roman@xxxxxxxxxx>
Fixes: 6298f0eb8f4437 ("libxl: Re-introduce libxl__domain_resume")
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Acked-by: Wei Liu <wl@xxxxxxx>
Release-acked-by: Juergen Gross <jgross@xxxxxxxx>
---
tools/libxl/libxl_dom_suspend.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/libxl/libxl_dom_suspend.c b/tools/libxl/libxl_dom_suspend.c
index 248dbc33e3..35ae337261 100644
--- a/tools/libxl/libxl_dom_suspend.c
+++ b/tools/libxl/libxl_dom_suspend.c
@@ -515,7 +515,7 @@ void libxl__dm_resume(libxl__egc *egc,
rc = libxl__ev_time_register_rel(dmrs->ao,
&dmrs->time,
dm_resume_timeout,
- LIBXL_DEVICE_MODEL_START_TIMEOUT);
+ LIBXL_DEVICE_MODEL_START_TIMEOUT * 1000);
if (rc) goto out;
switch (libxl__device_model_version_running(gc, domid)) {
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |