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:
kaf24@firebug.cl.cam.ac.uk committed 2005-11-24 19:49:15 +01:00
1 parent fb94b59330
commit 5601f6c62f
1 file changed
+5 -4
+5 -4
View File
@@ -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);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.