summaryrefslogtreecommitdiffstats
path: root/target/s390x/cpu.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2017-09-28 22:36:54 +0200
committerCornelia Huck2017-10-20 13:32:10 +0200
commit74b4c74d5efb0a489bdf0acc5b5d0197167e7649 (patch)
tree45b71699d0352d8d70bc5dfc109a6e09abe806f4 /target/s390x/cpu.c
parents390x/kvm: drop two debug prints (diff)
downloadqemu-74b4c74d5efb0a489bdf0acc5b5d0197167e7649.tar.gz
qemu-74b4c74d5efb0a489bdf0acc5b5d0197167e7649.tar.xz
qemu-74b4c74d5efb0a489bdf0acc5b5d0197167e7649.zip
s390x/kvm: factor out SIGP code into sigp.c
We want to use the same code base for TCG, so let's cleanly factor it out. The sigp mutex is currently not really needed, as everything is protected by the iothread mutex. But this could change later, so leave it in place and initialize it properly from common code. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20170928203708.9376-17-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/cpu.c')
-rw-r--r--target/s390x/cpu.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c
index a21d5519c1..92f6707bcb 100644
--- a/target/s390x/cpu.c
+++ b/target/s390x/cpu.c
@@ -400,14 +400,6 @@ void s390_cmma_reset(void)
}
}
-int s390_cpu_restart(S390CPU *cpu)
-{
- if (kvm_enabled()) {
- return kvm_s390_cpu_restart(cpu);
- }
- return -ENOSYS;
-}
-
int s390_get_memslot_count(void)
{
if (kvm_enabled()) {