KVM: s390: Set CPU in stopped state on initial cpu reset
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 11 Jun 2012 14:06:57 +0000 (16:06 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 13 Jun 2012 23:53:45 +0000 (20:53 -0300)
commit61bde82caee95426bf1ad53fefc8dc691b8ba37c
treefbca6b53225bddba6af6053879ff35c23b373aff
parent00763e41138267a307531397f9745835aecb8c7b
KVM: s390: Set CPU in stopped state on initial cpu reset

The initial cpu reset sets the cpu in the stopped state.
Several places check for the cpu state (e.g. sigp set prefix) and
not setting the STOPPED state triggered errors with newer guest
kernels after reboot.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/s390/kvm/kvm-s390.c