summary refs log tree commit diff stats
path: root/target/s390x/cpu_models_user.c
diff options
context:
space:
mode:
authorCho, Yu-Chen <acho@suse.com>2021-07-07 18:53:24 +0800
committerCornelia Huck <cohuck@redhat.com>2021-07-07 14:01:59 +0200
commit7ab3eb42b0d795f7321c4fca0ea06cb76a005b04 (patch)
tree9e305ae6d1c5d306bdf97393fa4e202c7bd24b69 /target/s390x/cpu_models_user.c
parent67043607d17cf62f4ae8110151c44fb73295e66f (diff)
downloadfocaccia-qemu-7ab3eb42b0d795f7321c4fca0ea06cb76a005b04.tar.gz
focaccia-qemu-7ab3eb42b0d795f7321c4fca0ea06cb76a005b04.zip
target/s390x: split sysemu part of cpu models
split sysemu part of cpu models,
also create a tiny _user.c with just the (at least for now),
empty implementation of apply_cpu_model.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Cho, Yu-Chen <acho@suse.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210707105324.23400-15-acho@suse.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/cpu_models_user.c')
-rw-r--r--target/s390x/cpu_models_user.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/s390x/cpu_models_user.c b/target/s390x/cpu_models_user.c
new file mode 100644
index 0000000000..df24d12d9e
--- /dev/null
+++ b/target/s390x/cpu_models_user.c
@@ -0,0 +1,20 @@
+/*
+ * CPU models for s390x - User-mode
+ *
+ * Copyright 2016 IBM Corp.
+ *
+ * Author(s): David Hildenbrand <dahi@linux.vnet.ibm.com>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or (at
+ * your option) any later version. See the COPYING file in the top-level
+ * directory.
+ */
+
+#include "qemu/osdep.h"
+#include "cpu.h"
+#include "s390x-internal.h"
+#include "qapi/error.h"
+
+void apply_cpu_model(const S390CPUModel *model, Error **errp)
+{
+}