x86 / ioreq: use a MEMF_no_refcount allocation for server pages...
authorPaul Durrant <paul@xen.org>
Tue, 24 Mar 2020 16:40:09 +0000 (17:40 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 24 Mar 2020 16:40:09 +0000 (17:40 +0100)
commit0a393d881f27ecddd7be762ba24951d6cb67751d
treefa36d6428b480a6051b4885da05a6df5d1d4d497
parent4203f4d3dfcd73adaeea997f546e0ea27a3c170a
x86 / ioreq: use a MEMF_no_refcount allocation for server pages...

... 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>
xen/arch/x86/hvm/ioreq.c