[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH V3.1] libxl: arm: Add grant_usage parameter for virtio devices


  • To: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Tue, 13 Jun 2023 11:48:17 +0100
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: <xen-devel@xxxxxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Vincent Guittot <vincent.guittot@xxxxxxxxxx>, <stratos-dev@xxxxxxxxxxxxxxxxxxx>, Alex Bennée <alex.bennee@xxxxxxxxxx>, Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>, Oleksandr Tyshchenko <olekstysh@xxxxxxxxx>, Erik Schilling <erik.schilling@xxxxxxxxxx>
  • Delivery-date: Tue, 13 Jun 2023 10:48:50 +0000
  • Ironport-data: A9a23:tFMhs6Llo0roVqR+FE+RmZIlxSXFcZb7ZxGr2PjKsXjdYENShmNWm GYaD26EPvbcNjb8f99wa9uzpx5TusPVmIBmSwBlqX01Q3x08seUXt7xwmUcnc+xBpaaEB84t ZV2hv3odp1coqr0/0/1WlTZhSAgk/rOHvykU7Ss1hlZHWdMUD0mhQ9oh9k3i4tphcnRKw6Ws Jb5rta31GWNglaYCUpKrfrbwP9TlK6q4mhA4AVlPakjUGL2zBH5MrpOfcldEFOgKmVkNrbSb /rOyri/4lTY838FYj9yuu+mGqGiaue60Tmm0hK6aYD76vRxjnVaPpIAHOgdcS9qZwChxLid/ jnvWauYEm/FNoWU8AgUvoIx/ytWZcWq85efSZSzXFD6I+QrvBIAzt03ZHzaM7H09c4uOW9Kq d05dQkwYz+oituT6ojldulF05FLwMnDZOvzu1llxDDdS/0nXYrCU+PB4towMDUY354UW6yEP oxANGQpNU6bC/FMEg5/5JYWleG0hn75YntApUicv6Yf6GnP1g1hlrPqNbI5f/TTHJwExxvB+ zyuE2LRXC48asWzzz6/1nuN3MmIjwSlf709G+jtnhJtqALKnTFCYPEMbnOloOO0kU74WM9aI lY8/isopLI1skuxQbHVTxC+5XKJoBMYc95RCPEhrhGAzOzT+QnxLmoLVDlac/Q9qdQ7Azct0 zehnc7tBDFpmK2YTzSa7Lj8hS2zPyMYK3NEajIFURcC//HnoYc6lBWJScxseIauksf8BTbrh jyHsgA5n/AXjNUXzOO//FbOmTXqoYLGJiY84gjHGGio6AV0aaahZoqh81+d6uxPRK6cR0WBv XUZ3dCZ7foPAIulkC2LSf8KWrqu4p6tNznRgkVzDoIh3zuo8n+nO4tX5VlWKV1oMYAfcj/oZ EvSvwx54J5VNWGtK6htbOqZAtwn16H6Gfz5V/rfaZxFZZ0ZSeOc1HgwPwjKhTmryRVy1/hlY v93bPpAE15DMapjkBuXGt4g3JAAyxkb71mNeZDSmkHPPaWlWJKFdVsUGALQPr5ntv/c/1m9H 8V3bJXTlUgGOAHqSmyOqNNIcwhXRZQuLcquw/G7YNJvNeaP9IsJL/bKiY0sdIV+90i+vreZp yrtMqO0JbeWuJEmFelpQio5AF8XdcwjxU/XxAR1VbpS51AtYJy08IAUfIYtcL8s+YRLlKAkE aRUJ5rbU6gfE1wrHgjxi7Gn9OSOkzzx3Gqz09eNOmBjL/aMuSSUkjMbQucf3HZXVXfm3SfPi 7ahyhnaUfI+q/dKVa7rhAaU5wrp5xA1wbsiN3Yk1/EPIC0ABqA2cX2u5hL2SulQQSj+Ksyyj lnPW0tG+LOU/ufYMrDh3Mi5kmtgKMMmdmIyIoURxeje2fXyloZ7/bJ9bQ==
  • Ironport-hdrordr: A9a23:7WK/+q6A6TSrVfkmdwPXwMjXdLJyesId70hD6qhwISY6TiW9rb HLoB17726QtN9/YhwdcLy7VJVoBEmskqKdgrNhX4tKPjOHhILAFugLhuHfKn/bak7DH4ZmpM FdmsNFaeEYY2IUsfrH
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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.kumar@xxxxxxxxxx>
> ---
> V3->V3.1:
> - Print "0" or "1" in xenstore instead of "True" or "False" for grant_usage.

Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Thanks,

-- 
Anthony PERARD



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.