Re-exports§
pub use network::FileHandleNetworkAttachment;pub use network::MACAddress;pub use network::VirtioNetworkDevice;
Modules§
Structs§
- Disk
Image Attachment - File
Handle Serial Attachment - Linux
Boot Loader - Stores the kernel, initrd, and command-line paths for booting a Linux guest.
On macOS this wraps VZLinuxBootLoader; here it is a plain data holder
consumed by
VirtualMachine::new(). - NbdAttachment
- Shared
Directory - Stores host directory path and read-only flag for virtiofs sharing.
On Linux/KVM, virtiofs requires an external
virtiofsdprocess; this type only holds config and is consumed by VirtualMachine. - Virtio
Block Device - Virtio
Console Serial Port - Virtio
Entropy Device - Placeholder — the guest gets entropy from the kernel’s virtio-rng if present in the FDT. Kept for API compatibility with vm-darwin.
- Virtio
File System Device - Virtio
Memory Balloon Device - Placeholder — memory balloon is not yet implemented for KVM. Kept for API compatibility with vm-darwin.
- Virtio
Socket Device - Virtual
Machine - Virtual
Machine Configuration - VzError
Enums§
Constants§
- CONSOLE_
DEVICE - Kernel console device name for this backend (virtio console).