Skip to main content

Crate vm_ch

Crate vm_ch 

Source

Re-exports§

pub use network::FileHandleNetworkAttachment;
pub use network::MACAddress;
pub use network::VirtioNetworkDevice;

Modules§

network
terminal

Structs§

DiskImageAttachment
FileHandleSerialAttachment
LinuxBootLoader
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
SharedDirectory
Stores host directory path and read-only flag for virtiofs sharing. On Linux/KVM, virtiofs requires an external virtiofsd process; this type only holds config and is consumed by VirtualMachine.
VirtioBlockDevice
VirtioConsoleSerialPort
VirtioEntropyDevice
Placeholder — the guest gets entropy from the kernel’s virtio-rng if present in the FDT. Kept for API compatibility with vm-darwin.
VirtioFileSystemDevice
VirtioMemoryBalloonDevice
Placeholder — memory balloon is not yet implemented for KVM. Kept for API compatibility with vm-darwin.
VirtioSocketDevice
VirtualMachine
VirtualMachineConfiguration
VzError

Enums§

DiskImageCachingMode
DiskImageSynchronizationMode
VmState

Constants§

CONSOLE_DEVICE
Kernel console device name for this backend (virtio console).

Traits§

StorageAttachment
StorageDevice

Type Aliases§

Result