[Qemu-devel] [PATCH 2/2] exec.c: Use subpages for large unaligned mappings

2012-07-25 Thread Tyler Hall
of TARGET_PAGE_SIZE. Accesses through softmmu are unable to handle this and will segfault. Handling full pages through subpages is not optimal, but only non-page-aligned mappings take the penalty. Signed-off-by: Tyler Hall --- exec.c | 13 + 1 file changed, 9 insertions(+), 4

[Qemu-devel] [PATCH 1/2] exec.c: Fix off-by-one error in register_subpage

2012-07-25 Thread Tyler Hall
for mappings that do not extend to a page boundary, though they do register an extra byte. Signed-off-by: Tyler Hall --- exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.c b/exec.c index feb4795..27b100c 100644 --- a/exec.c +++ b/exec.c @@ -2271,7 +2271,7 @