>>> On 21.08.17 at 20:05, <jgr...@suse.com> 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 the arm code which didn't unlock the grant > table in error case. > > Signed-off-by: Juergen Gross <jgr...@suse.com>
This will need re-basing over the XSA-235 fix which went in yesterday. Perhaps worth having a local variable for d->grant_table in gnttab_map_frame(), but apart from that the change looks fine. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel