This patchset contains fixes for two hyperv implementation flaws in KVM that surfaced when the userspace (QEMU) started to use it more actively. In both cases more control is delegated from KVM to userspace. v3 -> v4: - fix too early vp_index initialization v2 -> v3: - add documentation - add handling of args[0] to KVM_CAP_HYPERV_SYNIC2 v1 -> v2: - add patch 1 - add capability in patch 2 Roman Kagan (2): kvm: x86: hyperv: add KVM_CAP_HYPERV_SYNIC2 kvm: x86: hyperv: make VP_INDEX managed by userspace Documentation/virtual/kvm/api.txt | 18 +++++++++++ arch/x86/include/asm/kvm_host.h | 2 ++ arch/x86/kvm/hyperv.h | 3 +- include/uapi/linux/kvm.h | 2 ++ arch/x86/kvm/hyperv.c | 67 +++++++++++++++++++++++++-------------- arch/x86/kvm/x86.c | 10 +++++- 6 files changed, 77 insertions(+), 25 deletions(-) -- 2.13.0