]> 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)
commitd0569d9190aced17780c52fee79473fa4f0e9c2e
tree83963e7a11847fed996217396b0d5658458a5688
parent4de391807fd43f807db40068e2186585153c65c3
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: 1f2a3053391d ("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