From b75d5567a7cc504c41cec58989af75962687cfd1 Mon Sep 17 00:00:00 2001 From: Geoffroy Van Cutsem Date: Tue, 5 Mar 2019 17:48:02 +0100 Subject: [PATCH] Documentation: update the "ACRN Shell Commands" user guide Update the "ACRN Shell Commands" user guide in the following aspects: * Improve the text (help) for some commands to improve readability * Remove commands that are no longer available * Add the 'vioapic' command that was missing Note: this patch does not add a description for both the "[rd|wr]msr" commands. Tracked-On: #2684 Signed-off-by: Geoffroy Van Cutsem Co-Authored-By: David B. Kinder --- doc/user-guides/acrn-shell.rst | 47 ++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/doc/user-guides/acrn-shell.rst b/doc/user-guides/acrn-shell.rst index d537207ac..4eac02ae2 100644 --- a/doc/user-guides/acrn-shell.rst +++ b/doc/user-guides/acrn-shell.rst @@ -12,32 +12,35 @@ The ACRN hypervisor shell supports the following commands: * - Command (and parameters) - Description * - help - - Displays information about supported hypervisor shell commands + - Display information about supported hypervisor shell commands * - vm_list - - Lists all VMs, displaying VM Name, VM ID, and VM State (ON=running) + - List all VMs, displaying the VM name, ID, and state ("Started"=running) * - vcpu_list - - Lists all VCPUs in all VMs - * - vcpu_dumpreg - - Dumps registers for a specific VCPU - * - dumpmem - - Dumps host memory, starting a given address, and for - a given length (in bytes) + - List all vCPUs in all VMs + * - vcpu_dumpreg + - Dump registers for a specific vCPU + * - dumpmem + - Dump host memory, starting at a given address, and for a given length + (in bytes) * - sos_console - - Switches to the SOS's console + - Switch to the SOS's console. Use [Ctrl+Spacebar] to return to the ACRN + shell console * - int - - Lists interrupt information per CPU + - List interrupt information per CPU * - pt - - Shows pass-through device information - * - reboot - - Triggers a system reboot (immediately) + - Show pass-through device information + * - vioapic + - Show virtual IOAPIC (vIOAPIC) information for a specific VM * - dump_ioapic - - Shows native ioapic information - * - vmexit - - Shows vmexit profiling - * - logdump - - Dumps the log buffer for the physical CPU - * - loglevel [console_loglevel] [mem_loglevel] - - Get (when no parameters are given) or Set loglevel [0 (none) - 6 (verbose)] for the console and optionally - for memory + - Show native IOAPIC information + * - loglevel + - * If no parameters are given, the command will return the level of + logging for respectively the console, memory and npk + * Give (up to) three parameters between ``0`` (none) and ``6`` (verbose) + to set the loglevel for the console, memory, and npk (in + that order). If less than three parameters are given, the + loglevels for the remaining areas will not be changed * - cpuid [subleaf] - - Displays the CPUID leaf [subleaf], in hexadecimal + - Display the CPUID leaf [subleaf], in hexadecimal + * - reboot + - Trigger a system reboot (immediately)