mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Quieten down grant-table transfer failure when it is because
a domain is dying. Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
fb94b59330
commit
5601f6c62f
1 file changed
+5
-4
@@ -726,10 +726,11 @@ gnttab_transfer(
|
||||
unlikely(e->tot_pages >= e->max_pages) ||
|
||||
unlikely(!gnttab_prepare_for_transfer(e, d, gop.ref)) )
|
||||
{
|
||||
DPRINTK("gnttab_transfer: Transferee has no reservation headroom "
|
||||
"(%d,%d) or provided a bad grant ref (%08x) or "
|
||||
"is dying (%lx)\n",
|
||||
e->tot_pages, e->max_pages, gop.ref, e->domain_flags);
|
||||
if ( !test_bit(_DOMF_dying, &e->domain_flags) )
|
||||
DPRINTK("gnttab_transfer: Transferee has no reservation "
|
||||
"headroom (%d,%d) or provided a bad grant ref (%08x) "
|
||||
"or is dying (%lx)\n",
|
||||
e->tot_pages, e->max_pages, gop.ref, e->domain_flags);
|
||||
spin_unlock(&e->page_alloc_lock);
|
||||
put_domain(e);
|
||||
(void)__put_user(GNTST_general_error, &uop[i].status);
|
||||
|
||||