[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Patch v4 20/30] s390x/kvm: allow runtime-instrumentation f
From: |
David Hildenbrand |
Subject: |
[Qemu-devel] [Patch v4 20/30] s390x/kvm: allow runtime-instrumentation for "none" machine |
Date: |
Mon, 5 Sep 2016 10:52:34 +0200 |
To be able to query the correct host model for the "none" machine,
let's allow runtime-instrumentation for that machine.
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: David Hildenbrand <address@hidden>
---
hw/s390x/s390-virtio-ccw.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
index 91d9cef..f7dd2c8 100644
--- a/hw/s390x/s390-virtio-ccw.c
+++ b/hw/s390x/s390-virtio-ccw.c
@@ -249,6 +249,11 @@ bool ri_allowed(void)
return s390mc->ri_allowed;
}
+ /*
+ * Make sure the "none" machine can have ri, otherwise it won't * be
+ * unlocked in KVM and therefore the host CPU model might be wrong.
+ */
+ return true;
}
return 0;
}
--
2.8.4
- [Qemu-devel] [Patch v4 00/30] s390x CPU models: exposing features, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 05/30] s390x/cpumodel: generate CPU feature lists for CPU models, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 19/30] linux-headers: update against kvm/next, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 09/30] s390x/cpumodel: store the CPU model in the CPU instance, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 01/30] qmp: details about CPU definitions in query-cpu-definitions, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 16/30] s390x/sclp: propagate the ibc val(lowest and unblocked ibc), David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 21/30] s390x/kvm: implement CPU model support, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 07/30] s390x/cpumodel: introduce CPU feature group definitions, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 20/30] s390x/kvm: allow runtime-instrumentation for "none" machine,
David Hildenbrand <=
- [Qemu-devel] [Patch v4 28/30] s390x/cpumodel: implement QMP interface "query-cpu-model-expansion", David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 27/30] qmp: add QMP interface "query-cpu-model-baseline", David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 25/30] qmp: add QMP interface "query-cpu-model-expansion", David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 04/30] s390x/cpumodel: introduce CPU features, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 29/30] s390x/cpumodel: implement QMP interface "query-cpu-model-comparison", David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 14/30] s390x/sclp: introduce sclp feature blocks, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 06/30] s390x/cpumodel: generate CPU feature group lists, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 13/30] s390x/sclp: factor out preparation of cpu entries, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 15/30] s390x/sclp: indicate sclp features, David Hildenbrand, 2016/09/05
- [Qemu-devel] [Patch v4 03/30] s390x/cpumodel: expose CPU class properties, David Hildenbrand, 2016/09/05