]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Also reset registers in sync regs for initial cpu reset
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 3 Mar 2020 08:10:57 +0000 (03:10 -0500)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 11 Mar 2020 07:25:26 +0000 (08:25 +0100)
commitd8b92b702b853d6aaa0906b8e7a15d345d2d22d8
tree83963e7a11847fed996217396b0d5658458a5688
parent30efd6fd815bb44f2d1d4e9108518e26f9a2dc46
KVM: s390: Also reset registers in sync regs for initial cpu reset

When we do the initial CPU reset we must not only clear the registers
in the internal data structures but also in kvm_run sync_regs. For
modern userspace sync_regs is the only place that it looks at.

Fixes: 38935048a722 ("KVM: s390: Add new reset vcpu API")
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c