Re: [PATCH] KVM: x86: Return "unsupported" instead of "invalid" on access to unsupported PV MSR

From: Sean Christopherson

Date: Mon Jan 12 2026 - 12:40:17 EST


On Tue, 30 Dec 2025 12:59:48 -0800, Sean Christopherson wrote:
> Return KVM_MSR_RET_UNSUPPORTED instead of '1' (which for all intents and
> purposes means "invalid") when rejecting accesses to KVM PV MSRs to adhere
> to KVM's ABI of allowing host reads and writes of '0' to MSRs that are
> advertised to userspace via KVM_GET_MSR_INDEX_LIST, even if the vCPU model
> doesn't support the MSR.
>
> E.g. running a QEMU VM with
>
> [...]

Applied to kvm-x86 misc, thanks!

[1/1] KVM: x86: Return "unsupported" instead of "invalid" on access to unsupported PV MSR
https://github.com/kvm-x86/linux/commit/5bb9ac186512

--
https://github.com/kvm-x86/linux/tree/next