[Devel] [PATCH 0/2] kvm: hyperv: backport latest stuff from mainstream

Roman Kagan rkagan at virtuozzo.com
Tue Oct 3 11:34:54 MSK 2017


These are backports of the latest commits to hyperv subsystem in
mainsteram KVM (as of 4.13).  They address a couple of design flaws, and
are necessary for the latest hyperv code in QEMU to work properly.

Note that the first commit is done as an incremental patch on top of the
ones currently present in vzkernel but not upstream:

d385b9f5e7a4 kvm/x86: clear hyperv synic pages only when guest modifies MSRs
f89c2961cdda Revert "kvm/x86: do not clear hyperv synic pages when setting MSRs"
94ae198054b5 kvm/x86: do not clear hyperv synic pages when setting MSRs

Ideally those should just be dropped, and this series be reworked as a
pure backport.  Let me know if you want it this way.

The series is against branch 37.

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                | 12 ++++++-
 6 files changed, 79 insertions(+), 25 deletions(-)

-- 
2.13.6



More information about the Devel mailing list