On Tue, Jun 13, 2023 at 11:32:16AM +0530, 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.ku...@linaro.org> > --- > V3->V3.1: > - Print "0" or "1" in xenstore instead of "True" or "False" for grant_usage.
Reviewed-by: Anthony PERARD <anthony.per...@citrix.com> Thanks, -- Anthony PERARD