History

KVM: x86: hyperv: implement PV IPI send hypercalls

Using hypercall for sending IPIs is faster because this allows to specify any number of vCPUs (even > 64 with sparse CPU set), the whole procedure will take only one VMEXIT. Current Hyper-V TLFS (v5.0b) claims that HvCallSendSyntheticClusterIpi hypercall can't be 'fast' (passing parameters through registers) but apparently this is not true, Windows always uses it as 'fast' so we need to support that.

Vitaly Kuznetsov committed 8 years ago

Commit 214ff831 parent 2cefc5f5 files · +166 −0Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/kvm.h+1−0
@@ -955,6 +955,7 @@ struct kvm_ppc_resize_hpt { · 954 unmodified lines
955955 #define KVM_CAP_ARM_INJECT_SERROR_ESR 158
956956 #define KVM_CAP_MSR_PLATFORM_INFO 159
957957 #define KVM_CAP_PPC_NESTED_HV 160
958+#define KVM_CAP_HYPERV_SEND_IPI 161
958959
959960 #ifdef KVM_CAP_IRQ_ROUTING
960961