s390x: Move reset normal to shared reset handler
commiteac4f82791f1807c423e85670837db103b9d59b3
authorJanosch Frank <frankja@linux.ibm.com>
Wed, 27 Nov 2019 17:50:42 +0000 (27 12:50 -0500)
committerCornelia Huck <cohuck@redhat.com>
Sat, 14 Dec 2019 09:25:50 +0000 (14 10:25 +0100)
treea8f9e66fba44f15fb99f8b010f317efbaadc1a1c
parentec9227339fce99412830d44a37eb0bd2fadd5f75
s390x: Move reset normal to shared reset handler

Let's start moving the cpu reset functions into a single function with
a switch/case, so we can later use fallthroughs and share more code
between resets.

This patch introduces the reset function by renaming cpu_reset().

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20191127175046.4911-3-frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu-qom.h
target/s390x/cpu.c
target/s390x/cpu.h
target/s390x/sigp.c