Re: [PATCH v2] x86/msr: Allow unprivileged read access to some MSRs

From: Jim Mattson
Date: Tue May 30 2023 - 12:56:39 EST


On Tue, May 30, 2023 at 3:28 AM Tim Wiederhake <twiederh@xxxxxxxxxx> wrote:
>
> Software such as qemu and libvirt require the raw content of some MSRs

Note that KVM doesn't return the raw value of IA32_ARCH_CAPABILITIES.
First, it filters out unsupported bits, and then it massages the
result a bit. See kvm_get_arch_capabilities(). Isn't this what qemu
actually wants?