aboutsummaryrefslogtreecommitdiff
path: root/target/s390x/kvm-stub.c
diff options
context:
space:
mode:
authorJanosch Frank <frankja@linux.ibm.com>2020-02-14 10:16:21 -0500
committerCornelia Huck <cohuck@redhat.com>2020-02-26 18:57:07 +0100
commitb91a03946e0f65ddd22927dd80ca1276bf89c5af (patch)
treeba8175e82f81da10ad349dfc17b52a44b384b200 /target/s390x/kvm-stub.c
parentddda37483dd17c9936fdde9ebf8f6ca2692b3842 (diff)
s390x: Add missing vcpu reset functions
Up to now we only had an ioctl to reset vcpu data QEMU couldn't reach for the initial reset, which was also called for the clear reset. To be architecture compliant, we also need to clear local interrupts on a normal reset. Because of this and the upcoming protvirt support we need to add ioctls for the missing clear and normal resets. Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Acked-by: David Hildenbrand <david@redhat.com> Message-Id: <20200214151636.8764-3-frankja@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/kvm-stub.c')
-rw-r--r--target/s390x/kvm-stub.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/target/s390x/kvm-stub.c b/target/s390x/kvm-stub.c
index 5152e2bdf1..c4cd497f85 100644
--- a/target/s390x/kvm-stub.c
+++ b/target/s390x/kvm-stub.c
@@ -83,7 +83,15 @@ void kvm_s390_cmma_reset(void)
{
}
-void kvm_s390_reset_vcpu(S390CPU *cpu)
+void kvm_s390_reset_vcpu_initial(S390CPU *cpu)
+{
+}
+
+void kvm_s390_reset_vcpu_clear(S390CPU *cpu)
+{
+}
+
+void kvm_s390_reset_vcpu_normal(S390CPU *cpu)
{
}