]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30321376dc872ad8b43071bb9403a913198747a3
tree3c93cf1e6884e88d5f84699e8ef9a789c357a516
parent2f00a3cfa5b829290c49747041e4e7632fc6bd3a
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