grant-table: call set_phys_to_machine after mapping grant refs
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 25 Oct 2013 10:41:44 +0000 (10:41 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 25 Oct 2013 10:41:44 +0000 (10:41 +0000)
commit3d24bbd7dddbea54358a9795abaf051b0f18973c
tree3c93cf1e6884e88d5f84699e8ef9a789c357a516
parent3d1975b57097820c131c692d2e0d075641370369
grant-table: call set_phys_to_machine after mapping grant refs

When mapping/unmapping grant refs, call
set_phys_to_machine to update the P2M with the new mappings for
autotranslate guests.
This is (almost) a nop on x86.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Changes in v9:
- add in-code comments.
drivers/xen/grant-table.c