Re: [Qemu-devel] [PATCHv2] Avoid page_set_flags() assert in qemu-user host page protection code

2010-04-10 Thread Aurelien Jarno
On Fri, Apr 09, 2010 at 10:02:41PM +0200, Aurelien Jarno wrote: On Wed, Mar 31, 2010 at 11:00:36PM +0200, Juergen Lock wrote: 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

Re: [Qemu-devel] [PATCHv2] Avoid page_set_flags() assert in qemu-user host page protection code

2010-04-10 Thread Juergen Lock
On Sat, Apr 10, 2010 at 05:22:08PM +0200, Aurelien Jarno wrote: On Fri, Apr 09, 2010 at 10:02:41PM +0200, Aurelien Jarno wrote: On Wed, Mar 31, 2010 at 11:00:36PM +0200, Juergen Lock wrote: V2 that uses endaddr = end-of-guest-address-space if !h2g_valid(endaddr) after I found out that

Re: [Qemu-devel] [PATCHv2] Avoid page_set_flags() assert in qemu-user host page protection code

2010-04-09 Thread Aurelien Jarno
On Wed, Mar 31, 2010 at 11:00:36PM +0200, Juergen Lock wrote: 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

[Qemu-devel] [PATCHv2] Avoid page_set_flags() assert in qemu-user host page protection code

2010-03-31 Thread Juergen Lock
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

Re: [Qemu-devel] [PATCHv2] Avoid page_set_flags() assert in qemu-user host page protection code

2010-03-31 Thread Richard Henderson
On 03/31/2010 02:00 PM, Juergen Lock wrote: 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