summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-12-11 16:58:42 +0000
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-12-13 11:20:30 -0500
commitc1d15f5c8bc1170dafe16e988e55437245966dfe (patch)
treebb1c364882addcaa8ac053ed12ae7a501f54a3be /arch
parent380108d891acf8db5cf0d477176c7ed2b62b7928 (diff)
downloadlinux-c1d15f5c8bc1170dafe16e988e55437245966dfe.tar.bz2
xen/balloon: Seperate the auto-translate logic properly (v2)
The auto-xlat logic vs the non-xlat means that we don't need to for auto-xlat guests (like PVH, HVM or ARM): - use P2M - use scratch page. However the code in increase_reservation does modify the p2m for auto_translate guests, but not in decrease_reservation. Fix that by avoiding any p2m modifications in both increase_reservation and decrease_reservation for auto_translated guests. And also avoid allocating or using scratch pages for auto_translated guests. Lastly, since !auto-xlat is really another way of saying 'xen_pv' remove the redundant 'xen_pv_domain' check. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> [v2: Updated the description] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions