CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2025/05/19 19:10:42
Modified files: sys/arch/amd64/amd64: vmm_machdep.c sys/arch/amd64/include: vmmvar.h Log message: For AMD SEV-ES use GUEST_INTERRUPT_MASK in vmm(4). Due to state encryption vmm(4) cannot determine the state of the interrupt enable flag from the rflags register of the guest. Therefore the VMCB provides at offset 0x68 bit 1 the current state of this flag. However, use the SMV_GUEST_INTR_MASK bit only if this is a SEV-ES enabled guest. Otherwise, use the regular FLAGS register. from hshoexer@; OK mlarkin@