Crate get_protocol

Source
Expand description

Protocol used to interact between the Guest and Host via the GET (Guest Emulation Transport)

Re-exports§

pub use header::*;

Modules§

crash
This module defines the crash dump protocol.
dps_json
The schema defined in this file must match the one defined in onecore/vm/schema/mars/Config/Config.Devices.Chipset.mars.
header
test_utilities

Structs§

ActivityClassId
ActivityOpCode
ActivityTraceOpRequest
ActivityTraceOpResponse
ActivityTraceStartRequest
ActivityTraceStartResponse
BatteryStatusFlags
BatteryStatusNotification
BiosBootFinalizeRequest
This can only be used in PROTOCOL_VERSION_RS5
BiosBootFinalizeResponse
CreateRamGpaRangeFlags
CreateRamGpaRangeRequest
CreateRamGpaRangeResponse
CreateRamGpaRangeStatus
DevicePlatformSettingsRequestV2
DevicePlatformSettingsResponseV2
DevicePlatformSettingsResponseV2Rev1
EventId
EventLogId
EventLogNotification
EventTraceRequest
EventTraceResponse
GspCiphertextContent
GspCleartextContent
GspExtendedStatusFlags
GuestNotifications
Guest notification messages.
GuestStateProtectionByIdRequest
This can only be used in PROTOCOL_VERSION_RS5
GuestStateProtectionByIdResponse
GuestStateProtectionRequest
GuestStateProtectionResponse
GuestVtl2SaveRestoreStatus
HostNotifications
Host notification messages.
HostRequests
Header ids (Each request has a response of the same ID).
IgvmAttestRequest
The response payload could be quite large, so pass host previously shared pages to use for response. Use GET response packet to serialize and convey response length.
IgvmAttestResponse
LargePayloadState
LogFlags
LogLevel
LogTraceNotification
LogTraceRequest
LogTraceResponse
LogType
MapFramebufferRequest
MAP_FRAMEBUFFER_REQUEST
MapFramebufferResponse
MAP_FRAMEBUFFER_RESPONSE
MapFramebufferStatus
MessageTypes
MessageVersions
ModifyVtl2SettingsCompleteNotification
ModifyVtl2SettingsNotification
ModifyVtl2SettingsRev1Notification
ModifyVtl2SettingsStatus
PowerOffNotification
ProtocolBool
This represents a boolean value sent over the protocol as a u8. The only valid values are 0 or 1.
ProtocolVersion
RegisterState
ResetNotification
ResetRamGpaRangeRequest
ResetRamGpaRangeResponse
RestoreGuestVtl2StateHostNotification
RestoreGuestVtl2StateRequest
RestoreGuestVtl2StateResponse
SaveGuestVtl2StateFlags
Bitfield describing SaveGuestVtl2StateNotification::capabilities_flags
SaveGuestVtl2StateNotification
SaveGuestVtl2StateRequest
SaveGuestVtl2StateResponse
SecureBootTemplateType
StartVtl0CompleteNotification
StartVtl0Status
TimeRequest
TimeResponse
TraceLoggingBufferOffset
TraceLoggingNotificationHeader
TripleFaultNotification
Triple fault notification to send to the host.
TripleFaultType
UefiConsoleMode
UnmapFramebufferRequest
UNMAP_FRAMEBUFFER
UnmapFramebufferResponse
UNMAP_FRAMEBUFFER_RESPONSE
UnmapFramebufferStatus
UpdateGenerationId
VersionRequest
VersionResponse
VgaProxyPciReadRequest
VgaProxyPciReadResponse
VgaProxyPciWriteRequest
VgaProxyPciWriteResponse
VmgsFlushRequest
VmgsFlushResponse
VmgsGetDeviceInfoRequest
VmgsGetDeviceInfoResponse
VmgsIoStatus
VmgsReadFlags
VmgsReadRequest
VmgsReadResponse
VmgsWriteFlags
VmgsWriteRequest
VmgsWriteResponse
VpciDeviceBindingChangeRequest
VpciDeviceBindingChangeResponse
VpciDeviceControlCode
VpciDeviceControlRequest
VpciDeviceControlResponse
VpciDeviceControlStatus
VpciDeviceNotification
VpciDeviceNotificationCode
VtlCrashNotification
The transport level VTL crash data to send to the host.

Constants§

GET_LOG_INTERFACE_GUID
GSP_CIPHERTEXT_MAX
GSP_CLEARTEXT_MAX
GUEST_EMULATION_DEVICE_ID
{455C0F1B-D51B-40B1-BEAC-87377FE6E041}
GUEST_EMULATION_INTERFACE_INSTANCE
{D3E4454D-62AF-44EC-B851-3170915E5F56}
GUEST_EMULATION_INTERFACE_TYPE
{8DEDD1AA-9056-49E4-BFD6-1BF90DC38EF0}
HCL_DEVICE_PLATFORM_MAX_SMBIOS_LENGTH
IGVM_ATTEST_MSG_MAX_SHARED_GPA
Maximum return pages
IGVM_ATTEST_MSG_REQ_AGENT_DATA_MAX_SIZE
Maximum agent data size
IGVM_ATTEST_MSG_REQ_REPORT_MAX_SIZE
Maximum attestation report size
IGVM_ATTEST_VMWP_GENERIC_ERROR_CODE
MAX_HEADER_SIZE
MAX_MESSAGE_SIZE
The vmbus max response size is INCOMING_PACKET_BUFFER_PAGES (currently 12K)
MAX_PAYLOAD_SIZE
MAX_TRANSFER_SIZE
NUMBER_GSP
TRACE_LOGGING_FIELDS_MAX_SIZE
TRACE_LOGGING_MESSAGE_MAX_SIZE
TRACE_LOGGING_NAME_MAX_SIZE
TRACE_LOGGING_NOTIFICATION_MAX_SIZE
TRACE_LOGGING_TARGET_MAX_SIZE
TRACE_MSG_MAX_SIZE
VTL_CRASH_PARAMETERS