Module cmdline

Source

Structs§

BalloonCommand
Set balloon size of the crosvm instance to SIZE bytes
BalloonStatsCommand
Prints virtio balloon statistics for a VM_SOCKET
BalloonWsCommand
Prints virtio balloon working set for a VM_SOCKET
BatteryCommand
Modify battery
CreateCompositeCommand
Create a new composite disk image file
CreateQcow2Command
Create Qcow2 image given path and size
CrosvmCmdlineArgs
crosvm
DeviceCommand
Start a device process
DiskCommand
Manage attached virtual disk devices
DiskOptionWithId 🔒
Structure containing the parameters for a single disk as well as a unique counter increasing each time a new disk parameter is parsed.
FixedGpuParameters
Container for GpuParameters that have been fixed after parsing using serde.
GpeCommand
Injects a general-purpose event into the crosvm instance
GpuAddDisplaysCommand
Attach a new display to the GPU device.
GpuCommand
Manage attached virtual GPU device.
GpuListDisplaysCommand
List the displays currently attached to the GPU device.
GpuRemoveDisplaysCommand
Detach an existing display from the GPU device.
GpuSetDisplayMouseModeCommand
Sets the mouse mode of a display attached to the GPU device.
MakeRTCommand
Enables real-time vcpu priority for crosvm instances started with --delay-rt
MuteAllCommand
Mute or unmute all snd devices.
PowerbtnCommand
Triggers a power button event in the crosvm instance
ResizeDiskSubcommand
resize disk
ResumeCommand
Resumes the crosvm instance. No-op if already running. When starting crosvm with --restore, this command can be used to wait until the restore is complete
RunCommand
User-specified configuration for the crosvm run command.
SleepCommand
Triggers a sleep button event in the crosvm instance
SnapshotCommand
Snapshot commands
SnapshotTakeCommand
Take a snapshot of the VM
SndCommand
Manage virtio-snd device.
StopCommand
Stops crosvm instances via their control sockets
SuspendCommand
Suspends the crosvm instance
SwapCommand
Vmm-swap commands
SwapDisableCommand
Disable vmm-swap of a VM
SwapEnableCommand
Enable vmm-swap of a VM. The guest memory is moved to staging memory
SwapOutCommand
Swap out staging memory to swap file
SwapStatusCommand
Get vmm-swap status of a VM
SwapTrimCommand
Trim pages in the staging memory
UsbAttachCommand
Attach usb device
UsbAttachKeyCommand
Attach security key device
UsbCommand
Manage attached virtual USB devices.
UsbDetachCommand
Detach usb device
UsbListCommand
List currently attached USB devices
VersionCommand
Show package version.
VfioAddSubCommand
ADD
VfioCrosvmCommand
add/remove host vfio pci device into guest
VfioRemoveSubCommand
REMOVE
VirtioNetAddSubCommand
Add by Tap name.
VirtioNetCommand
add network device as virtio into guest.
VirtioNetRemoveSubCommand
Remove tap by bus number.

Enums§

Command
CrossPlatformCommands
CrossPlatformDevicesCommands
Cross-platform Devices
DeviceSubcommand
DiskSubcommand
GpuSubCommand
SnapshotSubCommands
Snapshot commands
SndSubCommand
SwapSubcommands
UsbSubCommand
VfioSubCommand
VirtioNetSubCommand

Functions§

format_disk_letter 🔒