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
This commit is contained in:
parent
6643adff8b
commit
f9bf917a6a
|
@ -17,26 +17,20 @@ The ACRN hypervisor shell supports the following commands:
|
|||
- 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
|
||||
* - dumpmem <hva, GVA, length>
|
||||
- Dumps host memory, starting a given address, and for
|
||||
a given length (in bytes)
|
||||
* - vm_console
|
||||
* - sos_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
|
||||
- Triggers a system reboot (immediately)
|
||||
* - dump_ioapic
|
||||
- Shows native ioapic information
|
||||
* - vmexit
|
||||
- Shows vmexit profiling
|
||||
|
@ -44,12 +38,8 @@ The ACRN hypervisor shell supports the following commands:
|
|||
- 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
|
||||
* - loglevel [console_loglevel] [mem_loglevel]
|
||||
- Get (when paras is NULL) or 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
|
||||
|
|
Loading…
Reference in New Issue