|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] mm: improve message in populate physmap when the domain is direct mapped
commit 3f3a26badbe9e980c759e2246cb248ceef018968
Author: Julien Grall <julien.grall@xxxxxxxxxx>
AuthorDate: Tue Oct 27 14:47:33 2015 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Oct 27 14:47:33 2015 +0100
mm: improve message in populate physmap when the domain is direct mapped
The current domain and the domain pointed by the variable "d" are not
the same.
However, when it's not possible to get a reference on the page, the
target domain ID is not printed. This makes the message difficult to
understand.
Improve the message by printing the target domain ID.
Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
xen/common/memory.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/common/memory.c b/xen/common/memory.c
index 241655b..23f90c6 100644
--- a/xen/common/memory.c
+++ b/xen/common/memory.c
@@ -140,8 +140,8 @@ static void populate_physmap(struct memop_args *a)
if ( !get_page(page, d) )
{
gdprintk(XENLOG_INFO,
- "mfn %#"PRI_xen_pfn" doesn't belong to the"
- " domain\n", mfn);
+ "mfn %#"PRI_xen_pfn" doesn't belong to d%d\n",
+ mfn, d->domain_id);
goto out;
}
put_page(page);
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |