linux-stable/arch/s390/kvm
Dominik Dingel b31605c12f KVM: s390: make cmma usage conditionally
When userspace reset the guest without notifying kvm, the CMMA state
of the pages might be unused, resulting in guest data corruption.
To avoid this, CMMA must be enabled only if userspace understands
the implications.

CMMA must be enabled before vCPU creation. It can't be switched off
once enabled.  All subsequently created vCPUs will be enabled for
CMMA according to the CMMA state of the VM.

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
[remove now unnecessary calls to page_table_reset_pgste]
2014-04-22 13:24:13 +02:00
..
diag.c KVM: s390: make cmma usage conditionally 2014-04-22 13:24:13 +02:00
gaccess.h KVM: s390: Helper for converting real addresses to absolute 2013-09-24 19:12:20 +02:00
intercept.c KVM: s390: enable Transactional Execution 2014-01-17 13:12:01 +01:00
interrupt.c 3 fixes 2014-03-25 15:44:06 +01:00
irq.h KVM: s390: irq routing for adapter interrupts. 2014-03-21 13:43:00 +01:00
Kconfig KVM: s390: irq routing for adapter interrupts. 2014-03-21 13:43:00 +01:00
kvm-s390.c KVM: s390: make cmma usage conditionally 2014-04-22 13:24:13 +02:00
kvm-s390.h KVM: s390: make cmma usage conditionally 2014-04-22 13:24:13 +02:00
Makefile KVM: s390: irq routing for adapter interrupts. 2014-03-21 13:43:00 +01:00
priv.c KVM: s390: make cmma usage conditionally 2014-04-22 13:24:13 +02:00
sigp.c KVM: s390: Fix possible memory leak in SIGP functions 2014-03-25 13:27:11 +01:00
trace-s390.h KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
trace.h KVM: s390: Don't enable skeys by default 2014-04-22 09:36:26 +02:00