Expand description
QEMU full machine emulation management QEMU backend for Petri. Currently only supports Aarch64 CPU emulation on Linux x64 hosts, but could be modified to support more qemu-system-arch configurations in the future.
Modules§
- devices
- QEMU device configurations.
Structs§
- Qemu
Petri Backend - The QEMU Petri backend
- Qemu
Petri Config - QEMU-specific emulator configuration.
- Qemu
Petri Runtime - Resources needed at runtime for a QEMU Petri VM
Constants§
- EXTRA_
DEVICE_ ADDR_ BASE - First PCI device number (
addr=) used for extra-device root ports. - SHARE_
9P_ MOUNT_ TAG - Mount tag for the host 9P share
Functions§
- build_
qemu_ command - Build the QEMU command line for a TCG launch.
- child_
pipe_ to_ file - Convert a child process’s stdout/stderr pipe into a
std::fs::Fileso it can be wrapped in a [PolledPipe]. The owned-handle type differs by platform, but the conversion is otherwise identical.