OSDN Git Service

hw/xen: Only advertise ring-page-order for xen-block if gnttab supports it
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 30 Jan 2023 16:27:07 +0000 (17:27 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 7 Mar 2023 17:04:30 +0000 (17:04 +0000)
commit072519037dde8957cc8c519caad21e7816b46129
treeb3e64b694105299128d944c49602006f567ff61c
parent240cc11369fc692c037a6ec46b358e75a55df894
hw/xen: Only advertise ring-page-order for xen-block if gnttab supports it

Whem emulating Xen, multi-page grants are distinctly non-trivial and we
have elected not to support them for the time being. Don't advertise
them to the guest.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/block/xen-block.c