summaryrefslogtreecommitdiff
path: root/target/s390x/kvm.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-08-18 13:43:52 +0200
committerCornelia Huck <cohuck@redhat.com>2017-08-30 18:23:26 +0200
commitf16bbb9bbde3285dd40c806b46f80b49dfebfc4a (patch)
tree5697f3b7e63743cb284696afd633be62bf33f4ac /target/s390x/kvm.c
parent5e7164c50c9f6ac531a0e3c7a49b3771ddefb8f3 (diff)
downloadqemu-f16bbb9bbde3285dd40c806b46f80b49dfebfc4a.zip
s390x/kvm: move KVM declarations and stubs to separate files
Let's do it just like the other architectures. Introduce kvm-stub.c for stubs and kvm_s390x.h for the declarations. Change license to GPL2+ and keep copyright notice. As we are dropping the sysemu/kvm.h include from cpu.h, fix up includes. Suggested-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20170818114353.13455-18-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/kvm.c')
-rw-r--r--target/s390x/kvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c
index e271f958a4..d07763ff2c 100644
--- a/target/s390x/kvm.c
+++ b/target/s390x/kvm.c
@@ -30,6 +30,7 @@
#include "qemu-common.h"
#include "cpu.h"
#include "internal.h"
+#include "kvm_s390x.h"
#include "qemu/error-report.h"
#include "qemu/timer.h"
#include "sysemu/sysemu.h"