From 64bc98f4b97d4757b4ca42ccfc27397e09302fbd Mon Sep 17 00:00:00 2001 From: David Hildenbrand Date: Wed, 31 May 2017 21:34:33 +0200 Subject: 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 Message-Id: <20170531193434.6918-2-david@redhat.com> Acked-by: Jason J. Herne Signed-off-by: Christian Borntraeger --- target/s390x/cpu_models.c | 1 + 1 file changed, 1 insertion(+) (limited to 'target/s390x/cpu_models.c') diff --git a/target/s390x/cpu_models.c b/target/s390x/cpu_models.c index 8d27363b07..9e235353a4 100644 --- a/target/s390x/cpu_models.c +++ b/target/s390x/cpu_models.c @@ -740,6 +740,7 @@ void s390_realize_cpu_model(CPUState *cs, Error **errp) /* copy over properties that can vary */ cpu->model->lowest_ibc = max_model->lowest_ibc; cpu->model->cpu_id = max_model->cpu_id; + cpu->model->cpu_id_format = max_model->cpu_id_format; cpu->model->cpu_ver = max_model->cpu_ver; check_consistency(cpu->model); -- cgit v1.2.3