Re: [PATCH v2] Improve docs for IOCTL_GNTDEV_MAP_GRANT_REF

From: Juergen Gross
Date: Tue Feb 01 2022 - 01:08:16 EST


On 31.01.22 18:23, Demi Marie Obenour wrote:
The current implementation of gntdev guarantees that the first call to
IOCTL_GNTDEV_MAP_GRANT_REF will set @index to 0. This is required to
use gntdev for Wayland, which is a future desire of Qubes OS.
Additionally, requesting zero grants results in an error, but this was
not documented either. Document both of these.

Signed-off-by: Demi Marie Obenour <demiobenour@xxxxxxxxx>

Reviewed-by: Juergen Gross <jgross@xxxxxxxx>


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature