s390x/kvm: execute the first cpu reset on the vcpu thread
commit159855f098489160df9cb13ce1667a4d6dd76895
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Thu, 28 Aug 2014 11:58:52 +0000 (28 13:58 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 1 Sep 2014 07:23:02 +0000 (1 09:23 +0200)
tree783587b25ea7fccd6bae32ceb531f1269d33d47d
parent1fad8b3be32c2e91acbd55f2b0af57ed0723b1bb
s390x/kvm: execute the first cpu reset on the vcpu thread

As all full cpu resets currently call into the kernel to do initial cpu reset,
let's run this reset (triggered by cpu_s390x_init()) on the proper vcpu thread.

Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
target-s390x/cpu.c