rust-osdev / x86_64

Library to program x86_64 hardware.
https://docs.rs/x86_64
Apache License 2.0
797 stars 132 forks source link

Add the VMM Communication Exception (#VC) to the InterruptDescriptorTable #313

Closed haraldh closed 3 years ago

haraldh commented 3 years ago

For AMD SEV-ES and SEV-SNP, handling this exception is crucial for functionality.

Signed-off-by: Harald Hoyer harald@profian.com

haraldh commented 3 years ago

cc @josephlr

Zildj1an commented 2 years ago

This is not covered on the online docs?

josephlr commented 2 years ago

@Zildj1an so I see this documented at: https://docs.rs/x86_64/latest/x86_64/structures/idt/struct.InterruptDescriptorTable.html#structfield.vmm_communication_exception

There's also an enum value defined here: https://docs.rs/x86_64/latest/x86_64/structures/idt/enum.ExceptionVector.html#variant.VmmCommunication

Were you expecting to find it documented somewhere else?