Module openvmm

Source
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 in construct.
  • The configuration is optionally modified from the defaults using the helpers in modify.
  • The PetriVmOpenVmm is started by the code in start.
  • 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§

OpenVmmFramebufferAccess
Interface to the OpenVMM framebuffer
OpenVmmInspector
Interface for inspecting OpenVMM
OpenVmmPetriBackend
OpenVMM Petri Backend
PetriVmConfigOpenVmm
Configuration state for a test VM.
PetriVmOpenVmm
A running VM that tests can interact with.

Constants§

NIC_MAC_ADDRESS
The MAC address used by the NIC assigned with PetriVmConfigOpenVmm::with_nic.