Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
xen.35703
602ffae9-tools-libs-light-fix-xl-save--c-handli...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 602ffae9-tools-libs-light-fix-xl-save--c-handling.patch of Package xen.35703
Subject: tools/libs/light: fix xl save -c handling From: Juergen Gross jgross@suse.com Fri Feb 19 15:13:37 2021 +0100 Date: Fri Feb 19 17:52:41 2021 +0000: Git: 87a067fd8f4d4f7c6be02c3d38145115ac542017 libxl_domain_resume() won't work correctly for the case it was called due to a "xl save -c" command, i.e. to continue the suspended domain. The information to do that is not saved in libxl__dm_resume_state for non-HVM domains. Fixes: 6298f0eb8f443 ("libxl: Re-introduce libxl__domain_resume") Reported-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Tested-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Acked-by: Wei Liu <wl@xen.org> --- xen-4.14.2-testing.orig/tools/libxl/libxl_dom_suspend.c +++ xen-4.14.2-testing/tools/libxl/libxl_dom_suspend.c @@ -637,12 +637,13 @@ void libxl__domain_resume(libxl__egc *eg goto out; } + dmrs->suspend_cancel = suspend_cancel; + if (type != LIBXL_DOMAIN_TYPE_HVM) { rc = 0; goto out; } - dmrs->suspend_cancel = suspend_cancel; dmrs->dm_resumed_callback = domain_resume_done; libxl__dm_resume(egc, dmrs); /* must be last */ return;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor