Re: [PATCH v2 6/6] gnttab: allow disabling grant table per-domain

2021-10-15 Thread Jan Beulich
On 22.09.2021 10:21, Roger Pau Monne wrote: > Allow setting max_grant_version to 0 in order to disable grant table > usage by a domain. This prevents allocating the grant-table structure > inside of Xen and requires guards to be added in several functions in > order to prevent dereferencing the str

Re: [PATCH v2 6/6] gnttab: allow disabling grant table per-domain

2021-10-15 Thread Jan Beulich
On 22.09.2021 11:19, Julien Grall wrote: > On 22/09/2021 13:21, Roger Pau Monne wrote: >> --- a/docs/man/xl.cfg.5.pod.in >> +++ b/docs/man/xl.cfg.5.pod.in >> @@ -583,8 +583,8 @@ L. >> =item B >> >> Specify the maximum grant table version the domain is allowed to use. >> Current >> -supporte

Re: [PATCH v2 6/6] gnttab: allow disabling grant table per-domain

2021-09-23 Thread Julien Grall
Hi Juergen, On 22/09/2021 14:38, Juergen Gross wrote: On 22.09.21 11:19, Julien Grall wrote: Hi Roger, On 22/09/2021 13:21, Roger Pau Monne wrote: Allow setting max_grant_version to 0 in order to disable grant table usage by a domain. This prevents allocating the grant-table structure inside

Re: [PATCH v2 6/6] gnttab: allow disabling grant table per-domain

2021-09-22 Thread Juergen Gross
On 22.09.21 11:19, Julien Grall wrote: Hi Roger, On 22/09/2021 13:21, Roger Pau Monne wrote: Allow setting max_grant_version to 0 in order to disable grant table usage by a domain. This prevents allocating the grant-table structure inside of Xen and requires guards to be added in several functi

Re: [PATCH v2 6/6] gnttab: allow disabling grant table per-domain

2021-09-22 Thread Julien Grall
Hi Roger, On 22/09/2021 13:21, Roger Pau Monne wrote: Allow setting max_grant_version to 0 in order to disable grant table usage by a domain. This prevents allocating the grant-table structure inside of Xen and requires guards to be added in several functions in order to prevent dereferencing th

[PATCH v2 6/6] gnttab: allow disabling grant table per-domain

2021-09-22 Thread Roger Pau Monne
Allow setting max_grant_version to 0 in order to disable grant table usage by a domain. This prevents allocating the grant-table structure inside of Xen and requires guards to be added in several functions in order to prevent dereferencing the structure. Note that a domain without a grant table co