On 16/06/2017 19:37, Roman Kagan wrote: > control the value of VP_INDEX. > > This patch achieves that, by storing vp_index explicitly on vcpu, and > allowing HV_X64_MSR_VP_INDEX to be set from the host side. For > compatibility it's initialized to KVM vcpu index. Also a few variables > are renamed to make clear distinction betweed this Hyper-V vp_index and > KVM vcpu_id (== APIC id). Besides, a new capability, > KVM_CAP_HYPERV_VP_INDEX, is added to allow the userspace to skip > attempting msr writes where unsupported, to avoid spamming error logs. > > Signed-off-by: Roman Kagan <rkagan@xxxxxxxxxxxxx> The new capability needs documentation. Paolo