Bug 217744 - XEN:kernel does not support for canceled suspend
Summary: XEN:kernel does not support for canceled suspend
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.3-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-xen mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-03-13 11:56 UTC by Ouyang Zhaowei
Modified: 2017-03-13 12:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ouyang Zhaowei 2017-03-13 11:56:42 UTC
When running on Xen, it's possible that a suspend request to the hypervisor
fails(return from HYPERVISOR_suspend different than 0), such as when VM dirty pages are faster than the rate of copying. This means that the suspend hasn't succeed, and the resume procedure needs to properly handle this case.
Comment 1 Ouyang Zhaowei 2017-03-13 12:09:38 UTC
The patch to fix this bug refers to:
https://reviews.freebsd.org/rS314840
Comment 2 Ouyang Zhaowei 2017-03-13 12:20:35 UTC
These two patches also need to apply to improve migration.
https://svnweb.freebsd.org/base?view=revision&revision=299423
https://svnweb.freebsd.org/base?view=revision&revision=298934

(In reply to Ouyang Zhaowei from comment #1)