[Qemu-devel] [PATCH 1/1] s390: autodetect map private

2012-07-10 Thread Alexander Graf
From: Christian Borntraeger By default qemu will use MAP_PRIVATE for guest pages. This will write protect pages and thus break on s390 systems that dont support this feature. Therefore qemu has a hack to always use MAP_SHARED for s390. But MAP_SHARED has other problems (no dirty pages tracking, a

Re: [Qemu-devel] [PATCH 1/1] s390: autodetect map private

2012-06-05 Thread Alexander Graf
On 15.05.2012, at 14:49, Christian Borntraeger wrote: > From: Christian Borntraeger > > kvm on specific s390 systems must not use MAP_PRIVATE since > host read-only page faults are delivered to the guest. Newer > systems allow the distinction via KVM_CAP_S390_COW > > Signed-off-by: Christian B

[Qemu-devel] [PATCH 1/1] s390: autodetect map private

2012-05-15 Thread Christian Borntraeger
From: Christian Borntraeger kvm on specific s390 systems must not use MAP_PRIVATE since host read-only page faults are delivered to the guest. Newer systems allow the distinction via KVM_CAP_S390_COW Signed-off-by: Christian Borntraeger CC: Avi Kivity --- exec.c| 54