Re: [Qemu-devel] [PATCH] linux-user/mmap.c: Support shared memory mapping in mmap_frag()

2015-12-31 Thread Chen Gang
Oh, sorry, please skip this patch (or discussion), I have send a new fix patch for the related issue, so let the old ACDSee.exe and the latest WinRAR.exe setup programs run successfully under real WinXP system dlls. The related root cause is not related with shared memory, so at least now, we

[Qemu-devel] [PATCH] linux-user/mmap.c: Support shared memory mapping in mmap_frag()

2015-12-29 Thread chengang
From: Chen Gang It is a temporary fix for i386 target system running Windows. Also remove useless variable 'p'. Signed-off-by: Chen Gang --- linux-user/mmap.c | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-)

Re: [Qemu-devel] [PATCH] linux-user/mmap.c: Support shared memory mapping in mmap_frag()

2015-12-29 Thread Chen Gang
Hello all: This patch is only for a discussion, I guess this patch is valuable for i386 wine running Windows. Theoretically, this patch is incorrect, we have to implement softmmu to support different host and target pages (e.g. host 8KB, target 4KB): - If host 8KB is mapped as PRIVATE | FIXED,