CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/05/26 06:27:32
Modified files:
sys/arch/amd64/amd64: vmm_machdep.c
Log message:
Handle MSR for AMD SEV-ES VMGEXIT in vmm(4).
Fill in the actual handler for MSR related VMGEXIT. The SEV-ES
guest sends vmm(4) A, C and D general purpose registers for wrmsr,
and C register for rdmsr. For wrmsr vmm(4) returns nothing to the
guest, for rdmsr the 64bit result is split into EAX and EDX. As
with regular SVM_VMEXIT_MSR, svm_handle_msr() does the actual work.
from hshoexer@; OK mlarkin@