... now that it is safe to assign them.
This avoids relying on libxl (or whatever toolstack is in use) setting
max_pages up with sufficient 'slop' to allow all necessary ioreq server
pages to be allocated.
Signed-off-by: Paul Durrant <paul@xen.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
return 0;
}
- page = alloc_domheap_page(s->target, 0);
+ page = alloc_domheap_page(s->target, MEMF_no_refcount);
if ( !page )
return -ENOMEM;