Re: [PATCH v2 2/2] x86:kvm:hyperv: make VP_INDEX managed by userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux