On 06-07-23, 12:59, Viresh Kumar wrote:
Currently, the grant mapping related device tree properties are added if the backend domain is not Dom0. While Dom0 is privileged and can do foreign mapping for the entire guest memory, it is still desired for Dom0 to access guest's memory via grant mappings and hence map only what is required.
This commit adds the "grant_usage" parameter for virtio devices, which provides better control over the functionality.
Signed-off-by: Viresh Kumar viresh.kumar@linaro.org Reviewed-by: Anthony PERARD anthony.perard@citrix.com
V3.1->V4:
- Added Reviewed-by tags.
- Other patches from the series are already applied.
- No code changes.
Hi George / Nick,
Can you guys please review / ack this patch ?