petri

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ยง