s390x/cpumodel: factor out determination of default model name
commit7d00bf94dfa41d0d5759cc3ebe02b66a780c5789
authorDavid Hildenbrand <david@redhat.com>
Fri, 18 Aug 2017 11:43:41 +0000 (18 13:43 +0200)
committerCornelia Huck <cohuck@redhat.com>
Wed, 30 Aug 2017 16:23:25 +0000 (30 18:23 +0200)
tree6405fee961a0741f8b96776921e8975bba282d4c
parentfe7cb8eab27811af76c54d29658fa83d9a9095b9
s390x/cpumodel: factor out determination of default model name

Now we can drop inclusion of "sysemu/kvm.h" from "s390-virtio.c".

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170818114353.13455-7-david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-virtio.c
target/s390x/cpu.h
target/s390x/cpu_models.c