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:
yonghuah 2018-08-02 10:53:34 +08:00 committed by David Kinder
parent 6643adff8b
commit f9bf917a6a
1 changed files with 7 additions and 17 deletions

View File

@ -17,25 +17,19 @@ 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
- Triggers a system reboot (immediately)
* - dump_ioapic
- Shows native ioapic information
* - vmexit
@ -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