qemu-e2k/target-s390x
Christian Borntraeger fdec991857 s390: autodetect map private
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 lot more swap overhead etc.)
Newer systems allow the distinction via KVM_CAP_S390_COW. With this feature
qemu can use the standard qemu alloc if available, otherwise it will use
the old s390 hack.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2012-07-10 18:27:33 +02:00
..
Makefile.objs build: move other target-*/ objects to nested Makefile.objs 2012-06-07 09:21:11 +02:00
cpu-qom.h
cpu.c target-s390x: Let cpu_s390x_init() return S390CPU 2012-06-11 00:23:04 +02:00
cpu.h s390-virtio: Let s390_cpu_addr2state() return S390CPU 2012-06-11 00:23:04 +02:00
helper.c target-s390x: Let cpu_s390x_init() return S390CPU 2012-06-11 00:23:04 +02:00
helper.h
kvm.c s390: autodetect map private 2012-07-10 18:27:33 +02:00
machine.c
op_helper.c
translate.c qemu-log: use LOG_UNIMP for some target CPU cases 2012-06-21 18:45:22 +00:00