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§
- Activity
Class Id - Activity
OpCode - Activity
Trace OpRequest - Activity
Trace OpResponse - Activity
Trace Start Request - Activity
Trace Start Response - Battery
Status Flags - Battery
Status Notification - Bios
Boot Finalize Request - This can only be used in PROTOCOL_VERSION_RS5
- Bios
Boot Finalize Response - Create
RamGpa Range Flags - Create
RamGpa Range Request - Create
RamGpa Range Response - Create
RamGpa Range Status - Device
Platform Settings Request V2 - Device
Platform Settings Response V2 - Device
Platform Settings Response V2Rev1 - EventId
- Event
LogId - Event
LogNotification - Event
Trace Request - Event
Trace Response - GspCiphertext
Content - GspCleartext
Content - GspExtended
Status Flags - Guest
Notifications - Guest notification messages.
- Guest
State Protection ById Request - This can only be used in PROTOCOL_VERSION_RS5
- Guest
State Protection ById Response - Guest
State Protection Request - Guest
State Protection Response - Guest
Vtl2 Save Restore Status - Host
Notifications - Host notification messages.
- Host
Requests - Header ids (Each request has a response of the same ID).
- Igvm
Attest Request - 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.
- Igvm
Attest Response - Large
Payload State - LogFlags
- LogLevel
- LogTrace
Notification - LogTrace
Request - LogTrace
Response - LogType
- MapFramebuffer
Request - MAP_FRAMEBUFFER_REQUEST
- MapFramebuffer
Response - MAP_FRAMEBUFFER_RESPONSE
- MapFramebuffer
Status - Message
Types - Message
Versions - Modify
Vtl2 Settings Complete Notification - Modify
Vtl2 Settings Notification - Modify
Vtl2 Settings Rev1 Notification - Modify
Vtl2 Settings Status - Power
OffNotification - Protocol
Bool - This represents a boolean value sent over the protocol as a u8. The only valid values are 0 or 1.
- Protocol
Version - Register
State - Reset
Notification - Reset
RamGpa Range Request - Reset
RamGpa Range Response - Restore
Guest Vtl2 State Host Notification - Restore
Guest Vtl2 State Request - Restore
Guest Vtl2 State Response - Save
Guest Vtl2 State Flags - Bitfield describing SaveGuestVtl2StateNotification::capabilities_flags
- Save
Guest Vtl2 State Notification - Save
Guest Vtl2 State Request - Save
Guest Vtl2 State Response - Secure
Boot Template Type - Start
Vtl0 Complete Notification - Start
Vtl0 Status - Time
Request - Time
Response - Trace
Logging Buffer Offset - Trace
Logging Notification Header - Triple
Fault Notification - Triple fault notification to send to the host.
- Triple
Fault Type - Uefi
Console Mode - Unmap
Framebuffer Request - UNMAP_FRAMEBUFFER
- Unmap
Framebuffer Response - UNMAP_FRAMEBUFFER_RESPONSE
- Unmap
Framebuffer Status - Update
Generation Id - Version
Request - Version
Response - VgaProxy
PciRead Request - VgaProxy
PciRead Response - VgaProxy
PciWrite Request - VgaProxy
PciWrite Response - Vmgs
Flush Request - Vmgs
Flush Response - Vmgs
GetDevice Info Request - Vmgs
GetDevice Info Response - Vmgs
IoStatus - Vmgs
Read Flags - Vmgs
Read Request - Vmgs
Read Response - Vmgs
Write Flags - Vmgs
Write Request - Vmgs
Write Response - Vpci
Device Binding Change Request - Vpci
Device Binding Change Response - Vpci
Device Control Code - Vpci
Device Control Request - Vpci
Device Control Response - Vpci
Device Control Status - Vpci
Device Notification - Vpci
Device Notification Code - VtlCrash
Notification - 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