linux_dsm_epyc7002/arch/s390/kvm
Cornelia Huck 9e6dabeffd KVM: s390: Fix RUNNING flag misinterpretation
CPUSTAT_RUNNING was implemented signifying that a vcpu is not stopped.
This is not, however, what the architecture says: RUNNING should be
set when the host is acting on the behalf of the guest operating
system.

CPUSTAT_RUNNING has been changed to be set in kvm_arch_vcpu_load()
and to be unset in kvm_arch_vcpu_put().

For signifying stopped state of a vcpu, a host-controlled bit has
been used and is set/unset basically on the reverse as the old
CPUSTAT_RUNNING bit (including pushing it down into stop handling
proper in handle_stop()).

Cc: stable@kernel.org
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2011-11-17 16:25:43 +02:00
..
diag.c KVM: s390: Fix RUNNING flag misinterpretation 2011-11-17 16:25:43 +02:00
gaccess.h [S390] Use gmap translation for accessing guest memory 2011-07-24 10:48:21 +02:00
intercept.c KVM: s390: Fix RUNNING flag misinterpretation 2011-11-17 16:25:43 +02:00
interrupt.c KVM: s390: Fix RUNNING flag misinterpretation 2011-11-17 16:25:43 +02:00
Kconfig virtio: expose for non-virtualization users too 2011-07-23 16:20:30 +09:30
kvm-s390.c KVM: s390: Fix RUNNING flag misinterpretation 2011-11-17 16:25:43 +02:00
kvm-s390.h [S390] remove kvm mmu reload on s390 2011-07-24 10:48:21 +02:00
Makefile [S390] move sie code to entry.S 2011-07-24 10:48:21 +02:00
priv.c [S390] kvm: handle tprot intercepts 2011-07-24 10:48:20 +02:00
sigp.c KVM: s390: Fix RUNNING flag misinterpretation 2011-11-17 16:25:43 +02:00