From: Vitaly Kuznetsov <vkuznets@redhat.com>
To: qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Subject: [PATCH v3 0/5] i386: Enable newly introduced KVM Hyper-V enlightenments
Date: Tue, 19 Apr 2022 16:47:58 +0200 [thread overview]
Message-ID: <20220419144803.1698337-1-vkuznets@redhat.com> (raw)
This is a continuation of "[PATCH v2 0/3] i386: Add support for Hyper-V
Enlightened MSR-Bitmap and XMM fast hypercall input features":
https://lore.kernel.org/qemu-devel/20220217142949.297454-1-vkuznets@redhat.com/
work which wasn't merged for 7.0, thus 'v3'.
This series enables four new KVM Hyper-V enlightenmtes:
'XMM fast hypercall input feature' is supported by KVM since v5.14,
it allows for faster Hyper-V hypercall processing.
'Enlightened MSR-Bitmap' is a new nested specific enlightenment speeds up
L2 vmexits by avoiding unnecessary updates to L2 MSR-Bitmap. KVM support
for the feature on Intel CPUs is in v5.17 and in 5.18 for AMD CPUs.
'Extended GVA ranges for TLB flush hypercalls' indicates that extended GVA
ranges are allowed to be passed to Hyper-V TLB flush hypercalls.
'Direct TLB flush hypercall' features allows L0 (KVM) to directly handle
L2's TLB flush hypercalls without the need to exit to L1 (Hyper-V).
The last two features are not merged in KVM yet:
https://lore.kernel.org/kvm/20220414132013.1588929-1-vkuznets@redhat.com/
however, there's no direct dependency on the kernel part as thanks to
KVM_GET_SUPPORTED_HV_CPUID no new capabilities are introduced.
Vitaly Kuznetsov (5):
i386: Use hv_build_cpuid_leaf() for HV_CPUID_NESTED_FEATURES
i386: Hyper-V Enlightened MSR bitmap feature
i386: Hyper-V XMM fast hypercall input feature
i386: Hyper-V Support extended GVA ranges for TLB flush hypercalls
i386: Hyper-V Direct TLB flush hypercall
docs/hyperv.txt | 34 ++++++++++++++++++++++
target/i386/cpu.c | 8 +++++
target/i386/cpu.h | 5 +++-
target/i386/kvm/hyperv-proto.h | 9 +++++-
target/i386/kvm/kvm.c | 53 +++++++++++++++++++++++++++++-----
5 files changed, 99 insertions(+), 10 deletions(-)
--
2.35.1
next reply other threads:[~2022-04-19 15:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-19 14:47 Vitaly Kuznetsov [this message]
2022-04-19 14:47 ` [PATCH v3 1/5] i386: Use hv_build_cpuid_leaf() for HV_CPUID_NESTED_FEATURES Vitaly Kuznetsov
2022-04-19 14:48 ` [PATCH v3 2/5] i386: Hyper-V Enlightened MSR bitmap feature Vitaly Kuznetsov
2022-04-19 14:48 ` [PATCH v3 3/5] i386: Hyper-V XMM fast hypercall input feature Vitaly Kuznetsov
2022-04-19 14:48 ` [PATCH v3 4/5] i386: Hyper-V Support extended GVA ranges for TLB flush hypercalls Vitaly Kuznetsov
2022-04-19 14:48 ` [PATCH v3 5/5] i386: Hyper-V Direct TLB flush hypercall Vitaly Kuznetsov
2022-04-29 7:54 ` [PATCH v3 0/5] i386: Enable newly introduced KVM Hyper-V enlightenments Paolo Bonzini
2022-04-29 9:26 ` Vitaly Kuznetsov
2022-05-25 11:59 ` Vitaly Kuznetsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220419144803.1698337-1-vkuznets@redhat.com \
--to=vkuznets@redhat.com \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).