mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-10 12:32:45 +00:00
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)
|
- Lists all VMs, displaying VM Name, VM ID, and VM State (ON=running)
|
||||||
* - vcpu_list
|
* - vcpu_list
|
||||||
- Lists all VCPUs in all VMs
|
- 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>
|
* - vcpu_dumpreg <vm_id, vcpu_id>
|
||||||
- Dumps registers for a specific VCPU
|
- Dumps registers for a specific VCPU
|
||||||
* - vcpu_dumpmem <vm_id, vcpu_id, GVA, length>
|
* - dumpmem <hva, GVA, length>
|
||||||
- Dumps memory for a specific VCPU, starting a given address, and for
|
- Dumps host memory, starting a given address, and for
|
||||||
a given length (in bytes)
|
a given length (in bytes)
|
||||||
* - vm_console
|
* - sos_console
|
||||||
- Switches to the SOS's console
|
- Switches to the SOS's console
|
||||||
* - int
|
* - int
|
||||||
- Lists interrupt information per CPU
|
- Lists interrupt information per CPU
|
||||||
* - pt
|
* - pt
|
||||||
- Shows pass-through device information
|
- Shows pass-through device information
|
||||||
* - reboot
|
* - reboot
|
||||||
- Triggers a system warm reboot (immediately)
|
- Triggers a system reboot (immediately)
|
||||||
* - lsreq
|
* - dump_ioapic
|
||||||
- Shows ioreq information
|
|
||||||
* - dump_ioapic
|
|
||||||
- Shows native ioapic information
|
- Shows native ioapic information
|
||||||
* - vmexit
|
* - vmexit
|
||||||
- Shows vmexit profiling
|
- Shows vmexit profiling
|
||||||
@ -44,12 +38,8 @@ The ACRN hypervisor shell supports the following commands:
|
|||||||
- Dumps the log buffer for the physical CPU
|
- Dumps the log buffer for the physical CPU
|
||||||
* - trace <cpumask, ms>
|
* - trace <cpumask, ms>
|
||||||
- Dumps a CPU's recent events within <ms> milliseconds
|
- Dumps a CPU's recent events within <ms> milliseconds
|
||||||
* - get_loglevel
|
* - loglevel [console_loglevel] [mem_loglevel]
|
||||||
- Get the loglevel
|
- Get (when paras is NULL) or Set loglevel [0 (none) - 6 (verbose)] for the console and optionally
|
||||||
* - set_loglevel <console_loglevel> [mem_loglevel]
|
|
||||||
- Set loglevel [0 (none) - 6 (verbose)] for the console and optionally
|
|
||||||
for memory
|
for memory
|
||||||
* - cpuid <leaf> [subleaf]
|
* - cpuid <leaf> [subleaf]
|
||||||
- Displays the CPUID leaf [subleaf], in hexadecimal
|
- Displays the CPUID leaf [subleaf], in hexadecimal
|
||||||
* - crash
|
|
||||||
- Triggers a system crash
|
|
||||||
|
Loading…
Reference in New Issue
Block a user