]> Git Repo - qemu.git/commit - include/exec/cpu-all.h
linux-user: take RESERVED_VA into account for g2h_valid()
authorAlexander Graf <[email protected]>
Thu, 2 Feb 2012 02:14:18 +0000 (03:14 +0100)
committerRiku Voipio <[email protected]>
Fri, 6 Apr 2012 15:49:58 +0000 (18:49 +0300)
commit39879bbbea4661a4004ca26673e3d1e6ae1e0bc3
tree732cc32cf7b2a2b889dee88b9bc08c562b838ebd
parent20249ae189ac0baa5011770bccabf3ee802eb2ab
linux-user: take RESERVED_VA into account for g2h_valid()

When running with -R (RESERVED_VA > 0) all guest virtual addresses
are within the [0..RESERVED_VA] range. Reflect this with g2h_valid()
too so we can safely check for boundaries of our guest address space.

This is required to have the /proc/self/maps code not show maps that
aren't accessible from the guest process's point of view.

Signed-off-by: Alexander Graf <[email protected]>
Signed-off-by: Riku Voipio <[email protected]>
cpu-all.h
This page took 0.024985 seconds and 4 git commands to generate.