]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
linux-user: fix page_unprotect when host page size > target page size
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 29 Mar 2010 00:12:51 +0000 (02:12 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 1 Apr 2010 19:51:59 +0000 (21:51 +0200)
commit45d679d64350c44df93d918ddacd6ae0c6da9dbb
treea2918d748b8c125d6ce4d41506bf3fdcf0a4c092
parent60e99246d6b4d1de32aec3281483cdd85b415570
linux-user: fix page_unprotect when host page size > target page size

When the host page size is bigger that the target one, unprotecting a
page should:
- mark all the target pages corresponding to the host page as writable
- invalidate all tb corresponding to the host page (and not the target
  page)

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
exec.c