From: Thomas Huth Date: Wed, 9 Oct 2013 12:15:54 +0000 (+0200) Subject: KVM: s390: Fix access to CR6 in TPI handler X-Git-Tag: v3.14-rc1~127^2~36^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f092669e743048f50c714a1af7f8e3478d7b9e1b;p=pandora-kernel.git KVM: s390: Fix access to CR6 in TPI handler The TPI handler currently uses vcpu->run->s.regs.crs[6] to get the current value of CR6. I think this is wrong, because vcpu->run->s.regs.crs is only updated when kvm_arch_vcpu_ioctl_run() drops back to userspace. So let's change the TPI handler to use vcpu->arch.sie_block->gcr[6] instead. Signed-off-by: Thomas Huth Acked-by: Christian Borntraeger Signed-off-by: Cornelia Huck --- Reading git-diff-tree failed