From e73316d594256cedb926cb76444e8ee00a5032b9 Mon Sep 17 00:00:00 2001 From: Christian Borntraeger Date: Wed, 7 Sep 2016 12:50:40 +0200 Subject: s390x/kvm: disable cpu model for the 2.7 machine cpu model was merged with 2.8, it is wrong to abuse ri_allowed which was enabled with 2.7. Signed-off-by: Christian Borntraeger Signed-off-by: Cornelia Huck --- include/hw/s390x/s390-virtio-ccw.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/hw/s390x/s390-virtio-ccw.h b/include/hw/s390x/s390-virtio-ccw.h index a0c1fc8..6ecae00 100644 --- a/include/hw/s390x/s390-virtio-ccw.h +++ b/include/hw/s390x/s390-virtio-ccw.h @@ -36,9 +36,12 @@ typedef struct S390CcwMachineClass { /*< public >*/ bool ri_allowed; + bool cpu_model_allowed; } S390CcwMachineClass; /* runtime-instrumentation allowed by the machine */ bool ri_allowed(void); +/* cpu model allowed by the machine */ +bool cpu_model_allowed(void); #endif -- cgit v1.1