Skip to content

Commit

Permalink
Merge pull request #631 from MelodyHuibo/update_ghcb_values
Browse files Browse the repository at this point in the history
Update Alternate Injection GHCB HV feature bit and NAE events SW_EXITCODE
  • Loading branch information
joergroedel authored Mar 6, 2025
2 parents 849e488 + e27e968 commit 6b17933
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions kernel/src/sev/ghcb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ enum GHCBExitCode {
AP_CREATE = 0x80000013,
HV_DOORBELL = 0x8000_0014,
HV_IPI = 0x8000_0015,
CONFIGURE_INT_INJ = 0x8000_0019,
DISABLE_ALT_INJ = 0x8000_001A,
SPECIFIC_EOI = 0x8000_001B,
CONFIGURE_INT_INJ = 0x8000_001B,
DISABLE_ALT_INJ = 0x8000_001C,
SPECIFIC_EOI = 0x8000_001D,
}

#[derive(Clone, Copy, Debug)]
Expand Down
2 changes: 1 addition & 1 deletion kernel/src/sev/msr_protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ bitflags! {
const APIC_ID_LIST = 1 << 4;
const SEV_SNP_MULTI_VMPL = 1 << 5;
const SEV_PAGE_STATE_CHANGE = 1 << 6;
const SEV_SNP_EXT_INTERRUPTS = 1 << 7;
const SEV_SNP_EXT_INTERRUPTS = 1 << 9;
}
}

Expand Down

0 comments on commit 6b17933

Please sign in to comment.