]> git.proxmox.com Git - mirror_qemu.git/commit
s390x: sigp: Reorder the SIGP STOP code
authorEric Farman <farman@linux.ibm.com>
Mon, 13 Dec 2021 21:09:19 +0000 (22:09 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 18 Jan 2022 14:00:57 +0000 (15:00 +0100)
commit59b9b5186e44a90088a91ed7a7493b03027e4f1f
tree62c0e049ab24d3cf5f1fece2bfa43d6bc9422027
parentb2173046a64beed76715f310f98538f159276af1
s390x: sigp: Reorder the SIGP STOP code

Let's wait to mark the VCPU STOPPED until the possible
STORE STATUS operation is completed, so that we know the
CPU is fully stopped and done doing anything. (When we
also clear the possible sigp_order field for STOP orders.)

Suggested-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Message-Id: <20211213210919.856693-2-farman@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/sigp.c