KVM: s390: add capability indicating COW support
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 15 May 2012 12:15:25 +0000 (14:15 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 18 May 2012 00:06:01 +0000 (21:06 -0300)
commit1526bf9ccf310f1d35c1275b8b477a249d25aaf2
tree61c7b138818c52df2dfcdc8a58ee891b198f424e
parentd8368af8b46b904def42a0f341d2f4f29001fa77
KVM: s390: add capability indicating COW support

Currently qemu/kvm on s390 uses a guest mapping that does not
allow the guest backing page table to be write-protected to
support older systems. On those older systems a host write
protection fault will be delivered to the guest.

Newer systems allow to write-protect the guest backing memory
and let the fault be delivered to the host, thus allowing COW.

Use a capability bit to tell qemu if that is possible.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/s390/include/asm/sclp.h
arch/s390/kvm/kvm-s390.c
drivers/s390/char/sclp_cmd.c
include/linux/kvm.h
This page took 0.026298 seconds and 5 git commands to generate.