[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH RFC 7/8] i386/kvm: hv-tlbflush/ipi require hv-vpinde
From: |
Vitaly Kuznetsov |
Subject: |
[Qemu-devel] [PATCH RFC 7/8] i386/kvm: hv-tlbflush/ipi require hv-vpindex |
Date: |
Fri, 25 Jan 2019 12:41:54 +0100 |
The corresponding hypercalls require using VP indexes.
Signed-off-by: Vitaly Kuznetsov <address@hidden>
---
target/i386/kvm.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/target/i386/kvm.c b/target/i386/kvm.c
index 7461bf05dd..14d74ca9c7 100644
--- a/target/i386/kvm.c
+++ b/target/i386/kvm.c
@@ -1183,6 +1183,12 @@ static int hyperv_handle_properties(CPUState *cs,
if (cpu->hyperv_stimer && !cpu->hyperv_time) {
r |= hv_report_missing_dep(cpu, "hv-stimer", "hv-time");
}
+ if (cpu->hyperv_tlbflush && !cpu->hyperv_vpindex) {
+ r |= hv_report_missing_dep(cpu, "hv-tlbflush", "hv-vpindex");
+ }
+ if (cpu->hyperv_ipi && !cpu->hyperv_vpindex) {
+ r |= hv_report_missing_dep(cpu, "hv-ipi", "hv-vpindex");
+ }
/* Not exposed by KVM but needed to make CPU hotplug in Windows work */
env->features[FEAT_HYPERV_EDX] |= HV_CPU_DYNAMIC_PARTITIONING_AVAILABLE;
--
2.20.1
- Re: [Qemu-devel] [PATCH RFC 4/8] i386/kvm: Implement 'hv-all' pass-through mode, (continued)
- Re: [Qemu-devel] [PATCH RFC 4/8] i386/kvm: Implement 'hv-all' pass-through mode, Vitaly Kuznetsov, 2019/01/25
- Re: [Qemu-devel] [PATCH RFC 4/8] i386/kvm: Implement 'hv-all' pass-through mode, Roman Kagan, 2019/01/28
- Re: [Qemu-devel] [PATCH RFC 4/8] i386/kvm: Implement 'hv-all' pass-through mode, Vitaly Kuznetsov, 2019/01/28
- Re: [Qemu-devel] [PATCH RFC 4/8] i386/kvm: Implement 'hv-all' pass-through mode, Dr. David Alan Gilbert, 2019/01/28
- Re: [Qemu-devel] [PATCH RFC 4/8] i386/kvm: Implement 'hv-all' pass-through mode, Eduardo Habkost, 2019/01/28
- Re: [Qemu-devel] [PATCH RFC 4/8] i386/kvm: Implement 'hv-all' pass-through mode, Vitaly Kuznetsov, 2019/01/29
- Re: [Qemu-devel] [PATCH RFC 4/8] i386/kvm: Implement 'hv-all' pass-through mode, Vitaly Kuznetsov, 2019/01/29
- Re: [Qemu-devel] [PATCH RFC 4/8] i386/kvm: Implement 'hv-all' pass-through mode, Dr. David Alan Gilbert, 2019/01/29
- Re: [Qemu-devel] [PATCH RFC 4/8] i386/kvm: Implement 'hv-all' pass-through mode, Daniel P . Berrangé, 2019/01/29
[Qemu-devel] [PATCH RFC 6/8] i386/kvm: hv-stimer requires hv-time and hv-synic, Vitaly Kuznetsov, 2019/01/25
[Qemu-devel] [PATCH RFC 7/8] i386/kvm: hv-tlbflush/ipi require hv-vpindex,
Vitaly Kuznetsov <=
[Qemu-devel] [PATCH RFC 8/8] i386/kvm: add support for Direct Mode for Hyper-V synthetic timers, Vitaly Kuznetsov, 2019/01/25
[Qemu-devel] [PATCH RFC 1/8] Update linux headers (5.0-rc2), Vitaly Kuznetsov, 2019/01/25
Re: [Qemu-devel] [PATCH RFC 0/8] i386/kvm/hyper-v: refactor and implement 'hv-stimer-direct' and 'hv-all' enlightenments, no-reply, 2019/01/31