]> git.baikalelectronics.ru Git - kernel.git/commit
xen/grant-table: fix suspend for non-PV guests
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 16 Jun 2014 10:12:03 +0000 (11:12 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 18 Jun 2014 09:58:01 +0000 (10:58 +0100)
commit3f22d9d0f79a3c9b42b2d5c6ca3ca6a3f78c310b
tree9562b159bf963cd10c46e8ad5248e32b488fd031
parent7c7e439f4434f4c7763f2a3962e3ee7781fd4a24
xen/grant-table: fix suspend for non-PV guests

Commit 2fc547b3d561d9c84e0879e6dd0e2d5869a17108 (xen: refactor suspend
pre/post hooks) broke resuming PVHVM (auto-translated physmap) guests.

The gnttab_suspend() would clear the mapping for the grant table
frames, but the ->unmap_frames() call is only applicable to PV guests.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reported-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/grant-table.c