s390x/kvm: move KVM declarations and stubs to separate files
commitf16bbb9bbde3285dd40c806b46f80b49dfebfc4a
authorDavid Hildenbrand <david@redhat.com>
Fri, 18 Aug 2017 11:43:52 +0000 (18 13:43 +0200)
committerCornelia Huck <cohuck@redhat.com>
Wed, 30 Aug 2017 16:23:26 +0000 (30 18:23 +0200)
tree5697f3b7e63743cb284696afd633be62bf33f4ac
parent5e7164c50c9f6ac531a0e3c7a49b3771ddefb8f3
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>
13 files changed:
hw/intc/s390_flic_kvm.c
hw/s390x/s390-stattrib-kvm.c
include/hw/s390x/css.h
target/s390x/Makefile.objs
target/s390x/cpu.c
target/s390x/cpu.h
target/s390x/cpu_models.c
target/s390x/interrupt.c
target/s390x/kvm-stub.c [new file with mode: 0644]
target/s390x/kvm.c
target/s390x/kvm_s390x.h [new file with mode: 0644]
target/s390x/machine.c
target/s390x/mmu_helper.c