]> xenbits.xensource.com Git - xen.git/commit
memory: don't hand MFN info to translated guests
authorJan Beulich <jbeulich@suse.com>
Wed, 5 Apr 2017 14:39:53 +0000 (16:39 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 5 Apr 2017 14:39:53 +0000 (16:39 +0200)
commitd18627583df28facd9af473ea1ac4a56e93e6ea9
tree6e7e86aba5daf1e60d81bdd64152478431d21e88
parent1cf4d2ec0d7c0cb53729ca810e416793030f6f07
memory: don't hand MFN info to translated guests

We shouldn't hand MFN info back from increase-reservation for
translated domains, just like we don't for populate-physmap and
memory-exchange. For full symmetry also check for a NULL guest handle
in populate_physmap() (but note this makes no sense in
memory_exchange(), as there the array is also an input).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Released-acked-by: Julien Grall <julien.grall@arm.com>
xen/common/memory.c