Skip to content
Commit 7d951f3c authored by David Vrabel's avatar David Vrabel
Browse files

x86/xen: use vmap() to map grant table pages in PVH guests

Commit b7dd0e35

 (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: default avatarDavid Vrabel <david.vrabel@citrix.com>
Reported-by: default avatarMukesh Rathor <mukesh.rathor@oracle.com>
Tested-by: default avatarMukesh Rathor <mukesh.rathor@oracle.com>
Cc: stable@vger.kernel.org
parent 8d5999df
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment