s390x: avoid calling kvm_ functions outside of target/s390x/
commit5e7164c50c9f6ac531a0e3c7a49b3771ddefb8f3
authorDavid Hildenbrand <david@redhat.com>
Fri, 18 Aug 2017 11:43:51 +0000 (18 13:43 +0200)
committerCornelia Huck <cohuck@redhat.com>
Wed, 30 Aug 2017 16:23:25 +0000 (30 18:23 +0200)
tree1d20e6d48e59ce7d72439f939fb595d74e813a84
parentb6089b059c111ae4c083a5f6d1b6038ec7c92b47
s390x: avoid calling kvm_ functions outside of target/s390x/

Let's just introduce an helper.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170818114353.13455-17-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-virtio-ccw.c
target/s390x/cpu.c
target/s390x/cpu.h