Expand description
Structures and definitions used between the underhill kernel and VMM.
Structs§
- Enter
Mode - 4 bits represent VTL0 enter mode.
- Enter
Modes - Controls how to enter VTL0.
- hcl_
cpu_ context_ aarch64 - hcl_
cpu_ context_ x64 - hcl_
hvcall - hcl_
hvcall_ setup - hcl_
intr_ offload_ flags - Kernel IPI offloading flags
- hcl_
kick_ cpus - hcl_
kick_ cpus_ flags - hcl_
pfn_ range_ t - hcl_
post_ message_ direct_ t - hcl_run
- hcl_
set_ poll_ file - hcl_
signal_ event_ direct_ t - hcl_
translate_ address_ info - hv_
vp_ assist_ page_ signal_ event - snp_
vp_ context - tdx_
l2_ tsc_ deadline_ state - L2 TSC deadline state for current VP.
- tdx_
tdg_ vp_ enter_ exit_ info - The register values returned from a TDG.VP.ENTER call. These are readable
via mmaping the mshv_vtl driver inside
hcl_run, and returned on a run_vp ioctl exit. See the TDX ABI specification for output operands for TDG.VP.ENTER. - tdx_
vp_ context - tdx_
vp_ state - Additional VP state that is save/restored across TDG.VP.ENTER.
- tdx_
vp_ state_ flags
Constants§
- CR2
- HCL_
REG_ PAGE_ OFFSET - HCL_
VMSA_ GUEST_ VSM_ PAGE_ OFFSET - HCL_
VMSA_ PAGE_ OFFSET - HV_
VP_ ASSIST_ PAGE_ ACTION_ TYPE_ SIGNAL_ EVENT - HV_
VP_ ASSIST_ PAGE_ SIGNAL_ EVENT_ COUNT - MSHV_
APIC_ PAGE_ OFFSET - MSHV_
VTL_ RUN_ FLAG_ HALTED - MSHV_
VTL_ SNP_ STIME R0_ CONFIG_ VALID - MSHV_
VTL_ SNP_ STIME R0_ EXPIRED - MSHV_
VTL_ SNP_ STIME R0_ KERNEL_ UPDATE - R8
- R9
- R10
- R11
- R12
- R13
- R14
- R15
- RAX
- RBP
- RBX
- RCX
- RDI
- RDX
- RSI
- VTL_
RETURN_ ACTION_ SIZE