aboutsummaryrefslogtreecommitdiff
path: root/hw
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 /hw
parent5e7164c50c9f6ac531a0e3c7a49b3771ddefb8f3 (diff)
downloadqemu-f16bbb9bbde3285dd40c806b46f80b49dfebfc4a.zip
qemu-f16bbb9bbde3285dd40c806b46f80b49dfebfc4a.tar.gz
qemu-f16bbb9bbde3285dd40c806b46f80b49dfebfc4a.tar.bz2
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 'hw')
-rw-r--r--hw/intc/s390_flic_kvm.c1
-rw-r--r--hw/s390x/s390-stattrib-kvm.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/intc/s390_flic_kvm.c b/hw/intc/s390_flic_kvm.c
index be3fd00..7ead17a 100644
--- a/hw/intc/s390_flic_kvm.c
+++ b/hw/intc/s390_flic_kvm.c
@@ -13,6 +13,7 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
+#include "kvm_s390x.h"
#include <sys/ioctl.h>
#include "qemu/error-report.h"
#include "qapi/error.h"
diff --git a/hw/s390x/s390-stattrib-kvm.c b/hw/s390x/s390-stattrib-kvm.c
index ff3f89f..ed95d13 100644
--- a/hw/s390x/s390-stattrib-kvm.c
+++ b/hw/s390x/s390-stattrib-kvm.c
@@ -17,6 +17,7 @@
#include "sysemu/kvm.h"
#include "exec/ram_addr.h"
#include "cpu.h"
+#include "kvm_s390x.h"
Object *kvm_s390_stattrib_create(void)
{