s390x/kvm: factor out actual handling of STOP interrupts
authorDavid Hildenbrand <david@redhat.com>
Thu, 28 Sep 2017 20:36:56 +0000 (22:36 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 20 Oct 2017 11:32:10 +0000 (13:32 +0200)
commit3047f8b549a5af0027d7921ed9dbeba233895ab9
tree2e000ed2093538c7b2f3f082585d7b849ccff807
parent74b4c74d5efb0a489bdf0acc5b5d0197167e7649
s390x/kvm: factor out actual handling of STOP interrupts

For KVM, the KVM module decides when a STOP can be performed (when the
STOP interrupt can be processed). Factor it out so we can use it
later for TCG.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170928203708.9376-19-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/internal.h
target/s390x/kvm.c
target/s390x/sigp.c