|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1/1] xen/gnttab: print log at level XENLOG_ERR before panic
Print log at level XENLOG_ERR (instead XENLOG_INFO) as domain_crash()
indicates there is fatal error.
Signed-off-by: Dongli Zhang <dongli.zhang@xxxxxxxxxx>
---
xen/common/grant_table.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c
index 80728ea..725c618 100644
--- a/xen/common/grant_table.c
+++ b/xen/common/grant_table.c
@@ -1282,7 +1282,7 @@ unmap_common(
if ( unlikely((rd = rcu_lock_domain_by_id(dom)) == NULL) )
{
/* This can happen when a grant is implicitly unmapped. */
- gdprintk(XENLOG_INFO, "Could not find domain %d\n", dom);
+ gdprintk(XENLOG_ERR, "Could not find domain %d\n", dom);
domain_crash(ld); /* naughty... */
return;
}
--
2.7.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |