diff options
author | Alex Bennée | 2020-09-15 15:43:10 +0200 |
---|---|---|
committer | Alex Bennée | 2020-09-16 10:56:39 +0200 |
commit | fb730c8683807d549c4aa8dfc98e3d1d470fd784 (patch) | |
tree | 8fda933d58401e8516407bddf08a178e085b30ab /tests/tsan | |
parent | Merge remote-tracking branch 'remotes/kraxel/tags/vga-20200915-pull-request' ... (diff) | |
download | qemu-fb730c8683807d549c4aa8dfc98e3d1d470fd784.tar.gz qemu-fb730c8683807d549c4aa8dfc98e3d1d470fd784.tar.xz qemu-fb730c8683807d549c4aa8dfc98e3d1d470fd784.zip |
linux-user: test, don't assert addr != test in pgb_reserved_va
On older kernels which don't implement MAP_FIXED_NOREPLACE the kernel
may still fail to give us the address we asked for despite having
already probed the map for a valid hole. Asserting isn't particularly
useful to the user so let us move the check up and expand the
error_report a little to give them a fighting chance of working around
the problem.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Cc: Bug 1895080 <1895080@bugs.launchpad.net>
Ameliorates: ee94743034
Message-Id: <20200915134317.11110-2-alex.bennee@linaro.org>
Diffstat (limited to 'tests/tsan')
0 files changed, 0 insertions, 0 deletions