[Xen-devel] [PATCH v2 1/8] xen: move XENMAPSPACE_grant_table code into grant_table.c

2017-09-06 Thread Juergen Gross
The x86 and arm versions of XENMAPSPACE_grant_table handling are nearly identical. Move the code into a function in grant_table.c and add an architecture dependant hook to handle the differences. This at once fixes a bug in the arm code which didn't unlock the grant table in error case. Signed-of

Re: [Xen-devel] [PATCH v2 1/8] xen: move XENMAPSPACE_grant_table code into grant_table.c

2017-09-06 Thread Paul Durrant
er ; Ian Jackson > ; Tim (Xen.org) ; > jbeul...@suse.com > Subject: [Xen-devel] [PATCH v2 1/8] xen: move XENMAPSPACE_grant_table > code into grant_table.c > > The x86 and arm versions of XENMAPSPACE_grant_table handling are nearly > identical. Move the code into a function in grant_tab

Re: [Xen-devel] [PATCH v2 1/8] xen: move XENMAPSPACE_grant_table code into grant_table.c

2017-09-06 Thread Juergen Gross
rnel.org; Wei Liu >> ; George Dunlap ; >> Andrew Cooper ; Ian Jackson >> ; Tim (Xen.org) ; >> jbeul...@suse.com >> Subject: [Xen-devel] [PATCH v2 1/8] xen: move XENMAPSPACE_grant_table >> code into grant_table.c >> >> The x86 and arm versions of XENMAP

Re: [Xen-devel] [PATCH v2 1/8] xen: move XENMAPSPACE_grant_table code into grant_table.c

2017-09-06 Thread Wei Liu
On Wed, Sep 06, 2017 at 10:26:25AM +0200, Juergen Gross wrote: > The x86 and arm versions of XENMAPSPACE_grant_table handling are nearly > identical. Move the code into a function in grant_table.c and add an > architecture dependant hook to handle the differences. > > This at once fixes a bug in t