Expand description
OpenVMM VM management
Code managing the lifetime of a PetriVmOpenVmm
. All VMs live the same lifecycle:
- A
PetriVmConfigOpenVmm
is built for the given firmware and architecture inconstruct
. - The configuration is optionally modified from the defaults using the helpers in
modify
. - The
PetriVmOpenVmm
is started by the code instart
. - The VM is interacted with through the methods in
runtime
. - The VM is either shut down by the code in
runtime
, or gets dropped and cleaned up automatically.
Structs§
- Open
VmmFramebuffer Access - Interface to the OpenVMM framebuffer
- Open
VmmInspector - Interface for inspecting OpenVMM
- Open
VmmPetri Backend - OpenVMM Petri Backend
- Petri
VmConfig Open Vmm - Configuration state for a test VM.
- Petri
VmOpen Vmm - A running VM that tests can interact with.
Constants§
- NIC_
MAC_ ADDRESS - The MAC address used by the NIC assigned with
PetriVmConfigOpenVmm::with_nic
.