aboutsummaryrefslogtreecommitdiff
path: root/module-common.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2014-05-07 13:40:39 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2014-05-07 16:14:36 +0000
commitfe680d0dac85e0f2d6c3b53838c250f6e0b1f49b (patch)
tree43ab4eec93ccf476c53edb0e6cbf043a3f91cb4c /module-common.c
parent8d1dc5d188b84a2b2aeb9bd39fddb3d2c67be60c (diff)
exec: Limit translation limiting in address_space_translate to xen
The address_space_translate() function cuts the returned plen (page size) to hardcoded TARGET_PAGE_SIZE. This function can be used on pages bigger than that so this limiting should not be used on such pages. Since originally the limiting was introduced for XEN, we can safely limit this piece of code to XEN. So does the patch. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions