Module protocol

Source
Expand description

Structures and definitions used between the underhill kernel and HvLite.

Structs§

EnterMode
4 bits represent VTL0 enter mode.
EnterModes
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
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
R8
R9
R10
R11
R12
R13
R14
R15
RAX
RBP
RBX
RCX
RDI
RDX
RSI
VTL_RETURN_ACTION_SIZE