x86/xen: use vmap() to map grant table pages in PVH guests
authorDavid Vrabel <david.vrabel@citrix.com>
Tue, 5 Aug 2014 10:49:19 +0000 (11:49 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 11 Aug 2014 10:59:35 +0000 (11:59 +0100)
commit7d951f3ccb0308c95bf76d5eef9886dea35a7013
tree473182667937676ac764fde845347308f8065737
parent8d5999df35314607c38fbd6bdd709e25c3a4eeab
x86/xen: use vmap() to map grant table pages in PVH guests

Commit b7dd0e350e0b (x86/xen: safely map and unmap grant frames when
in atomic context) causes PVH guests to crash in
arch_gnttab_map_shared() when they attempted to map the pages for the
grant table.

This use of a PV-specific function during the PVH grant table setup is
non-obvious and not needed.  The standard vmap() function does the
right thing.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reported-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Tested-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Cc: stable@vger.kernel.org
arch/x86/xen/grant-table.c