From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
Tom Lendacky <thomas.lendacky@amd.com>,
Weijiang Yang <weijiang.yang@intel.com>
Subject: Re: [PATCH v2 00/10] KVM: x86: Clean up MSR access/failure handling
Date: Fri, 23 Aug 2024 16:47:47 -0700 [thread overview]
Message-ID: <172443897959.4130036.5832329559174205887.b4-ty@google.com> (raw)
In-Reply-To: <20240802181935.292540-1-seanjc@google.com>
On Fri, 02 Aug 2024 11:19:25 -0700, Sean Christopherson wrote:
> Rework KVM's MSR access handling, and more specific the handling of failures,
> to begin the march towards removing host_initiated exemptions for CPUID
> checks, e.g. to eventually turn code like this:
>
> if (!msr_info->host_initiated &&
> !guest_cpuid_has(vcpu, X86_FEATURE_XSAVES))
> return 1;
>
> [...]
Applied to kvm-x86 misc, thanks!
[01/10] KVM: SVM: Disallow guest from changing userspace's MSR_AMD64_DE_CFG value
https://github.com/kvm-x86/linux/commit/74a0e79df68a
[02/10] KVM: x86: Move MSR_TYPE_{R,W,RW} values from VMX to x86, as enums
https://github.com/kvm-x86/linux/commit/b58b808cbe93
[03/10] KVM: x86: Rename KVM_MSR_RET_INVALID to KVM_MSR_RET_UNSUPPORTED
https://github.com/kvm-x86/linux/commit/aaecae7b6a2b
[04/10] KVM: x86: Refactor kvm_x86_ops.get_msr_feature() to avoid kvm_msr_entry
https://github.com/kvm-x86/linux/commit/74c6c98a598a
[05/10] KVM: x86: Rename get_msr_feature() APIs to get_feature_msr()
https://github.com/kvm-x86/linux/commit/b848f24bd74a
[06/10] KVM: x86: Refactor kvm_get_feature_msr() to avoid struct kvm_msr_entry
https://github.com/kvm-x86/linux/commit/7075f1636150
[07/10] KVM: x86: Funnel all fancy MSR return value handling into a common helper
https://github.com/kvm-x86/linux/commit/1cec2034980a
[08/10] KVM: x86: Hoist x86.c's global msr_* variables up above kvm_do_msr_access()
https://github.com/kvm-x86/linux/commit/3adef9034596
[09/10] KVM: x86: Suppress failures on userspace access to advertised, unsupported MSRs
https://github.com/kvm-x86/linux/commit/64a5d7a1091f
[10/10] KVM: x86: Suppress userspace access failures on unsupported, "emulated" MSRs
https://github.com/kvm-x86/linux/commit/44dd0f5732b4
--
https://github.com/kvm-x86/linux/tree/next
prev parent reply other threads:[~2024-08-23 23:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-02 18:19 Sean Christopherson
2024-08-02 18:19 ` [PATCH v2 01/10] KVM: SVM: Disallow guest from changing userspace's MSR_AMD64_DE_CFG value Sean Christopherson
2024-08-05 14:42 ` Tom Lendacky
2024-08-02 18:19 ` [PATCH v2 02/10] KVM: x86: Move MSR_TYPE_{R,W,RW} values from VMX to x86, as enums Sean Christopherson
2024-08-02 18:19 ` [PATCH v2 03/10] KVM: x86: Rename KVM_MSR_RET_INVALID to KVM_MSR_RET_UNSUPPORTED Sean Christopherson
2024-08-02 18:19 ` [PATCH v2 04/10] KVM: x86: Refactor kvm_x86_ops.get_msr_feature() to avoid kvm_msr_entry Sean Christopherson
2024-08-02 18:19 ` [PATCH v2 05/10] KVM: x86: Rename get_msr_feature() APIs to get_feature_msr() Sean Christopherson
2024-08-05 15:36 ` Tom Lendacky
2024-08-02 18:19 ` [PATCH v2 06/10] KVM: x86: Refactor kvm_get_feature_msr() to avoid struct kvm_msr_entry Sean Christopherson
2024-08-02 18:19 ` [PATCH v2 07/10] KVM: x86: Funnel all fancy MSR return value handling into a common helper Sean Christopherson
2024-08-02 18:19 ` [PATCH v2 08/10] KVM: x86: Hoist x86.c's global msr_* variables up above kvm_do_msr_access() Sean Christopherson
2024-08-02 18:19 ` [PATCH v2 09/10] KVM: x86: Suppress failures on userspace access to advertised, unsupported MSRs Sean Christopherson
2024-08-02 18:19 ` [PATCH v2 10/10] KVM: x86: Suppress userspace access failures on unsupported, "emulated" MSRs Sean Christopherson
2024-08-23 23:47 ` Sean Christopherson [this message]
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=172443897959.4130036.5832329559174205887.b4-ty@google.com \
--to=seanjc@google.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=thomas.lendacky@amd.com \
--cc=weijiang.yang@intel.com \
/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
all inboxes | Powered by JetHome®