[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] libxl: Fix xl shutdown for HVM without PV drivers
commit 60d6ba1916dce0622a53b00dbae3c01d0761057e Author: Olaf Hering <olaf@xxxxxxxxx> AuthorDate: Wed Mar 18 17:51:51 2020 +0100 Commit: Wei Liu <wl@xxxxxxx> CommitDate: Sat Mar 21 16:44:15 2020 +0000 libxl: Fix xl shutdown for HVM without PV drivers A return value of zero means no PV drivers. Restore a hunk which was removed. Fixes commit b183e180bce93037d3ef385a8c2338bbfb7f23d9 Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> Acked-by: Wei Liu <wl@xxxxxxx> --- tools/libxl/libxl_domain.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/libxl/libxl_domain.c b/tools/libxl/libxl_domain.c index 41d08394f3..fef2cd4e13 100644 --- a/tools/libxl/libxl_domain.c +++ b/tools/libxl/libxl_domain.c @@ -774,6 +774,9 @@ int libxl__domain_pvcontrol(libxl__egc *egc, libxl__xswait_state *pvcontrol, if (rc < 0) return rc; + if (!rc) + return ERROR_NOPARAVIRT; + shutdown_path = libxl__domain_pvcontrol_xspath(gc, domid); if (!shutdown_path) return ERROR_FAIL; -- 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 |