diff options
| author | Alexander Graf | 2012-02-02 03:14:18 +0100 |
|---|---|---|
| committer | Riku Voipio | 2012-04-06 17:49:58 +0200 |
| commit | 39879bbbea4661a4004ca26673e3d1e6ae1e0bc3 (patch) | |
| tree | 732cc32cf7b2a2b889dee88b9bc08c562b838ebd /linux-user | |
| parent | linux-user: fix fallocate (diff) | |
| download | qemu-39879bbbea4661a4004ca26673e3d1e6ae1e0bc3.tar.gz qemu-39879bbbea4661a4004ca26673e3d1e6ae1e0bc3.tar.xz qemu-39879bbbea4661a4004ca26673e3d1e6ae1e0bc3.zip | |
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 <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
