ACRN Shell Commands¶
The ACRN hypervisor shell supports the following commands:
Command (and parameters) | Description |
---|---|
help | Displays information about supported hypervisor shell commands |
vm_list | Lists all VMs, displaying VM Name, VM ID, and VM State (ON=running) |
vcpu_list | Lists all VCPUs in all VMs |
vcpu_pause <vm_id, vcpu_id> | Pauses a specific VCPU |
vcpu_resume <vm_id, vcpu_id> | Resumes a specific VCPU |
vcpu_dumpreg <vm_id, vcpu_id> | Dumps registers for a specific VCPU |
vcpu_dumpmem <vm_id, vcpu_id, GVA, length> | Dumps memory for a specific VCPU, starting a given address, and for a given length (in bytes) |
vm_console | Switches to the SOS’s console |
int | Lists interrupt information per CPU |
pt | Shows pass-through device information |
reboot | Triggers a system warm reboot (immediately) |
lsreq | Shows ioreq information |
dump_ioapic | Shows native ioapic information |
vmexit | Shows vmexit profiling |
logdump <pcpu_id> | Dumps the log buffer for the physical CPU |
trace <cpumask, ms> | Dumps a CPU’s recent events within <ms> milliseconds |
get_loglevel | Get the loglevel |
set_loglevel <console_loglevel> [mem_loglevel] | Set loglevel [0 (none) - 6 (verbose)] for the console and optionally for memory |
cpuid <leaf> [subleaf] | Displays the CPUID leaf [subleaf], in hexadecimal |
crash | Triggers a system crash |