Skip to content

Commit f9bf917

Browse files
yonghuahdbkinder
authored andcommitted
HV: Refine hypervisor shell commands
removed shell commands: --vcpu_pause --vcpu_resume --lsreq --(warm) reboot --vcpu_dumpmem updated shell commands: --vm_console -> sos_console --trigger crash -> reboot --merge 'set_loglevel' & 'get_loglevel' to 'loglevel' new adding shell commands: --dumpmem --> dump host physical memory
1 parent 6643adf commit f9bf917

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

doc/user-guides/acrn-shell.rst

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,39 +17,29 @@ The ACRN hypervisor shell supports the following commands:
1717
- Lists all VMs, displaying VM Name, VM ID, and VM State (ON=running)
1818
* - vcpu_list
1919
- Lists all VCPUs in all VMs
20-
* - vcpu_pause <vm_id, vcpu_id>
21-
- Pauses a specific VCPU
22-
* - vcpu_resume <vm_id, vcpu_id>
23-
- Resumes a specific VCPU
2420
* - vcpu_dumpreg <vm_id, vcpu_id>
2521
- Dumps registers for a specific VCPU
26-
* - vcpu_dumpmem <vm_id, vcpu_id, GVA, length>
27-
- Dumps memory for a specific VCPU, starting a given address, and for
22+
* - dumpmem <hva, GVA, length>
23+
- Dumps host memory, starting a given address, and for
2824
a given length (in bytes)
29-
* - vm_console
25+
* - sos_console
3026
- Switches to the SOS's console
3127
* - int
3228
- Lists interrupt information per CPU
3329
* - pt
3430
- Shows pass-through device information
3531
* - reboot
36-
- Triggers a system warm reboot (immediately)
37-
* - lsreq
38-
- Shows ioreq information
39-
* - dump_ioapic
32+
- Triggers a system reboot (immediately)
33+
* - dump_ioapic
4034
- Shows native ioapic information
4135
* - vmexit
4236
- Shows vmexit profiling
4337
* - logdump <pcpu_id>
4438
- Dumps the log buffer for the physical CPU
4539
* - trace <cpumask, ms>
4640
- Dumps a CPU's recent events within <ms> milliseconds
47-
* - get_loglevel
48-
- Get the loglevel
49-
* - set_loglevel <console_loglevel> [mem_loglevel]
50-
- Set loglevel [0 (none) - 6 (verbose)] for the console and optionally
41+
* - loglevel [console_loglevel] [mem_loglevel]
42+
- Get (when paras is NULL) or Set loglevel [0 (none) - 6 (verbose)] for the console and optionally
5143
for memory
5244
* - cpuid <leaf> [subleaf]
5345
- Displays the CPUID leaf [subleaf], in hexadecimal
54-
* - crash
55-
- Triggers a system crash

0 commit comments

Comments
 (0)