[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] mm: don't use domain_shutdown() when re-offlining a page
commit 9d0ded563a31b176bd8fd636c150426f0184b1bc Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Thu Dec 7 11:09:31 2017 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Dec 7 11:09:31 2017 +0100 mm: don't use domain_shutdown() when re-offlining a page It goes all silent, leaving open what has actually caused the crash. Use domain_crash() instead, which leaves a log message before calling domain_shutdown(..., SHUTDOWN_crash). Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/common/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c index 5616a82..c0c2d82 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -1546,7 +1546,7 @@ int offline_page(unsigned long mfn, int broken, uint32_t *status) if ( (pg->count_info & PGC_broken) && (owner = page_get_owner(pg)) ) { *status = PG_OFFLINE_AGAIN; - domain_shutdown(owner, SHUTDOWN_crash); + domain_crash(owner); return 0; } -- 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 |