diff options
author | David Hildenbrand | 2017-08-18 13:43:52 +0200 |
---|---|---|
committer | Cornelia Huck | 2017-08-30 18:23:26 +0200 |
commit | f16bbb9bbde3285dd40c806b46f80b49dfebfc4a (patch) | |
tree | 5697f3b7e63743cb284696afd633be62bf33f4ac /include | |
parent | s390x: avoid calling kvm_ functions outside of target/s390x/ (diff) | |
download | qemu-f16bbb9bbde3285dd40c806b46f80b49dfebfc4a.tar.gz qemu-f16bbb9bbde3285dd40c806b46f80b49dfebfc4a.tar.xz qemu-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 'include')
-rw-r--r-- | include/hw/s390x/css.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/s390x/css.h b/include/hw/s390x/css.h index 5b017e1fc3..0653d3c9be 100644 --- a/include/hw/s390x/css.h +++ b/include/hw/s390x/css.h @@ -16,6 +16,7 @@ #include "hw/s390x/adapter.h" #include "hw/s390x/s390_flic.h" #include "hw/s390x/ioinst.h" +#include "sysemu/kvm.h" /* Channel subsystem constants. */ #define MAX_DEVNO 65535 |