s390x/cpumodel: take care of the cpuid format bit for KVM
commit64bc98f4b97d4757b4ca42ccfc27397e09302fbd
authorDavid Hildenbrand <david@redhat.com>
Wed, 31 May 2017 19:34:33 +0000 (31 21:34 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 6 Jun 2017 08:50:40 +0000 (6 10:50 +0200)
tree6024a5f720791908e0192de9b0628df918577b2b
parentc68f4503e08ea54405660897fba7c125d3953021
s390x/cpumodel: take care of the cpuid format bit for KVM

Let's also properly forward that bit. It should always be set. I
verified it under z/VM, it seems to be always set there. For now,
zKVM guests never get that bit set when the CPU model is active.

The PoP mentiones, that z800 + z900 (HW generation 7) always set this
bit to 0, so let's take care of that.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170531193434.6918-2-david@redhat.com>
Acked-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
target/s390x/cpu_models.c
target/s390x/cpu_models.h
target/s390x/kvm.c