Crate corevm_host

Crate corevm_host 

Source
Expand description

Public API for CoreVM builders.

This API is shared between the builders and the CoreVM service itself.

Modules§

fs
CoreVM FS that uses preimage store as a backend.
video

Structs§

Arg
Command line argument.
AudioMode
Audio monitor output mode.
ConsoleChunk
A chunk of console output.
ConsoleChunks
Several chunks of console output.
CoreVmOutput
CoreVM-specific work output.
CoreVmPayload
CoreVM-specific work payload.
ExecEnv
Guest execution environment.
KernelFd
In-kernel file descriptor state.
KernelState
The state of the Linux kernel syscall layer.
OutputBuffers
CoreVM output stream buffers.
PageAddr
Page address.
PageInfo
Memory page metadata.
Range
RangeSet
VideoMode
Video monitor output mode.
VmOutput
The specification of the VM’s output data.
VmSpec
Same as CoreVmOutput but only includes the data necessary to continue program execution.
VmState
Inner VM state.

Enums§

AudioSampleFormat
The format of the samples emitted via [yield_audio_samples].
CoreVmInstruction
Instruction to send to the CoreVM service.
Outcome
The result code returned by CoreVM service.
OutputStream
Output stream identifier.
StorageKey
Storage keys used by CoreVM.
VideoFrameFormat
The format of the frames emitted via [yield_video_frame].

Constants§

PAGE_SIZE
Inner VM page size.

Traits§

PageSegmentOps
An import/export segment that stores an inner VM page and its address.