Skip to main content

cmd_shutdown

Function cmd_shutdown 

Source
pub fn cmd_shutdown(_args: &[String]) -> Result<(), ShellError>
Expand description

Graceful shutdown: stop strates in reverse order, then power off.

QEMU/KVM ACPI shutdown uses I/O port 0x604 (Bochs/QEMU) or 0xB004 (older).