Re: [PATCH 3/4] xen: add grant interface version dependent constants to gnttab_ops

2017-09-12 Thread Boris Ostrovsky
On 09/08/2017 10:48 AM, Juergen Gross wrote: > Instead of having multiple variables with constants like > grant_table_version or grefs_per_grant_frame add those to struct > gnttab_ops and access them just via the gnttab_interface pointer. > > Signed-off-by: Juergen Gross One

Re: [PATCH 3/4] xen: add grant interface version dependent constants to gnttab_ops

2017-09-12 Thread Boris Ostrovsky
On 09/08/2017 10:48 AM, Juergen Gross wrote: > Instead of having multiple variables with constants like > grant_table_version or grefs_per_grant_frame add those to struct > gnttab_ops and access them just via the gnttab_interface pointer. > > Signed-off-by: Juergen Gross One possible suggestion

[PATCH 3/4] xen: add grant interface version dependent constants to gnttab_ops

2017-09-08 Thread Juergen Gross
Instead of having multiple variables with constants like grant_table_version or grefs_per_grant_frame add those to struct gnttab_ops and access them just via the gnttab_interface pointer. Signed-off-by: Juergen Gross --- drivers/xen/grant-table.c | 73

[PATCH 3/4] xen: add grant interface version dependent constants to gnttab_ops

2017-09-08 Thread Juergen Gross
Instead of having multiple variables with constants like grant_table_version or grefs_per_grant_frame add those to struct gnttab_ops and access them just via the gnttab_interface pointer. Signed-off-by: Juergen Gross --- drivers/xen/grant-table.c | 73