]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: s390: Unlink vcpu on destroy - v2
authorCarsten Otte <cotte@de.ibm.com>
Tue, 12 May 2009 15:21:51 +0000 (17:21 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:56 +0000 (11:48 +0300)
commitabf4a71ed95ff29d696bf04633958b2068ed2e0b
tree5a4a819da281ab9ac33de188ddd21cbfc4e8ef74
parentb037a4f34ec51b6c8ccb352a04056c04a4bfc269
KVM: s390: Unlink vcpu on destroy - v2

This patch makes sure we do unlink a vcpu's sie control block
from the system control area in kvm_arch_vcpu_destroy. This
prevents illegal accesses to the sie control block from other
virtual cpus after free.

Reported-by: Mijo Safradin <mijo@linux.vnet.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Christian Ehrhardt <ehrhardt@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/kvm/kvm-s390.c