On 4/29/2025 9:20 PM, Michael Kelley wrote:
Also under hyperv/ not all files are covered but I'm a bit hesitant to
suggest a change there since I'm not sure if they (hypervisors) do
something special w.r.t. msr.
I've worked on the Hyper-V code in Linux for 8 years or so, first as
a Microsoft employee, and more recently as a retiree. 🙂 I'm not
aware of anything special w.r.t. MSR access for Hyper-V guests.
All the normal Linux code for accessing MSRs just works. Hyper-V
*does* provide a set of synthetic MSRs that are unique to
Hyper-V, but they are also accessed using normal Linux code. Of
course, at runtime the access to these synthetic MSRs always
traps to the hypervisor.

I'm planning to apply Xin Li's patch set and make sure nothing
breaks for Hyper-V guests, and particularly when running as an
SEV-SNP or TDX guest. Hopefully I can do that by early next week
at the latest.

Hi Michael, I appreciate it!

Reply via email to