On 08/17/2017 02:22 AM, David Hildenbrand wrote: > Let's do it just like the other architectures. Introduce kvm-stub.c > for stubs and kvm_s390x.h for the declarations. > > Add a fake declaration of struct kvm_s390_irq so we don't need other > ugly CONFIG_KVM checks. > > Change license to GPL2+ and keep copyright notice. > > Suggested-by: Thomas Huth <th...@redhat.com> > Signed-off-by: David Hildenbrand <da...@redhat.com> > --- > target/s390x/Makefile.objs | 1 + > target/s390x/cpu.h | 121 > +-------------------------------------------- > target/s390x/kvm-stub.c | 111 +++++++++++++++++++++++++++++++++++++++++ > target/s390x/kvm_s390x.h | 51 +++++++++++++++++++ > 4 files changed, 164 insertions(+), 120 deletions(-) > create mode 100644 target/s390x/kvm-stub.c > create mode 100644 target/s390x/kvm_s390x.h
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~