[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Patch v2 20/29] s390x/kvm: allow runtime-instrumentation f
From: |
David Hildenbrand |
Subject: |
[Qemu-devel] [Patch v2 20/29] s390x/kvm: allow runtime-instrumentation for "none" machine |
Date: |
Mon, 8 Aug 2016 17:32:49 +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.6.6
- [Qemu-devel] [Patch v2 07/29] s390x/cpumodel: introduce CPU feature group definitions, (continued)
- [Qemu-devel] [Patch v2 07/29] s390x/cpumodel: introduce CPU feature group definitions, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 12/29] s390x/cpumodel: check and apply the CPU model, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 05/29] s390x/cpumodel: generate CPU feature lists for CPU models, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 18/29] s390x/sclp: propagate hmfai, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 02/29] s390x/cpumodel: "host" and "qemu" as CPU subclasses, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 04/29] s390x/cpumodel: introduce CPU features, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 26/29] qmp: add QMP interface "query-cpu-model-baseline", David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 24/29] qmp: add QMP interface "query-cpu-model-expansion", David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 29/29] s390x/cpumodel: implement QMP interface "query-cpu-model-baseline", David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 08/29] s390x/cpumodel: register defined CPU models as subclasses, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 20/29] s390x/kvm: allow runtime-instrumentation for "none" machine,
David Hildenbrand <=
- [Qemu-devel] [Patch v2 28/29] s390x/cpumodel: implement QMP interface "query-cpu-model-comparison", David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 23/29] s390x/kvm: let the CPU model control CMM(A), David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 27/29] s390x/cpumodel: implement QMP interface "query-cpu-model-expansion", David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 14/29] s390x/sclp: introduce sclp feature blocks, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 16/29] s390x/sclp: propagate the ibc val(lowest and unblocked ibc), David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 19/29] linux-headers: update against kvm/next, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 13/29] s390x/sclp: factor out preparation of cpu entries, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 09/29] s390x/cpumodel: store the CPU model in the CPU instance, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 21/29] s390x/kvm: implement CPU model support, David Hildenbrand, 2016/08/08
- [Qemu-devel] [Patch v2 22/29] s390x/kvm: disable host model for existing compat machines, David Hildenbrand, 2016/08/08