Avoid page_set_flags() assert in qemu-user host page protection code
commit01c0bef1625d8e5d6d5c6abaf413214d667615ad
authorJuergen Lock <nox@jelal.kn-bremen.de>
Wed, 31 Mar 2010 21:00:36 +0000 (31 23:00 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 9 Apr 2010 20:01:30 +0000 (9 22:01 +0200)
tree7652520902c472bcab25b2344aa962be406868e7
parent46a183da7684ef915bcb6647be5c2235c62047c5
Avoid page_set_flags() assert in qemu-user host page protection code

V2 that uses endaddr = end-of-guest-address-space if !h2g_valid(endaddr)
after I found out that indeed works; and also disables the FreeBSD 6.x
/compat/linux/proc/self/maps fallback because it can return partial lines
if (at least I think that's the reason) the mappings change between
subsequent read() calls.

Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
exec.c