@@ -36,62 +36,65 @@ struct shell {
36
36
/* Shell Command list with parameters and help description */
37
37
#define SHELL_CMD_HELP "help"
38
38
#define SHELL_CMD_HELP_PARAM NULL
39
- #define SHELL_CMD_HELP_HELP "Display info about the supported shell commands. "
39
+ #define SHELL_CMD_HELP_HELP "Display information about supported hypervisor shell commands"
40
40
41
41
#define SHELL_CMD_VM_LIST "vm_list"
42
42
#define SHELL_CMD_VM_LIST_PARAM NULL
43
- #define SHELL_CMD_VM_LIST_HELP "Lists all VMs (VM Name, VM ID, VM State) "
43
+ #define SHELL_CMD_VM_LIST_HELP "List all VMs, displaying the VM name, ID, and state "
44
44
45
45
#define SHELL_CMD_VCPU_LIST "vcpu_list"
46
46
#define SHELL_CMD_VCPU_LIST_PARAM NULL
47
- #define SHELL_CMD_VCPU_LIST_HELP "Lists all VCPU in all VMs"
47
+ #define SHELL_CMD_VCPU_LIST_HELP "List all vCPUs in all VMs"
48
48
49
49
#define SHELL_CMD_VCPU_DUMPREG "vcpu_dumpreg"
50
50
#define SHELL_CMD_VCPU_DUMPREG_PARAM "<vm id, vcpu id>"
51
- #define SHELL_CMD_VCPU_DUMPREG_HELP "Dump registers for a specific vcpu "
51
+ #define SHELL_CMD_VCPU_DUMPREG_HELP "Dump registers for a specific vCPU "
52
52
53
53
#define SHELL_CMD_DUMPMEM "dumpmem"
54
54
#define SHELL_CMD_DUMPMEM_PARAM "<addr, length>"
55
- #define SHELL_CMD_DUMPMEM_HELP "Dump physical memory"
55
+ #define SHELL_CMD_DUMPMEM_HELP "Dump host memory, starting at a given address, and for a given length (in "\
56
+ "bytes)"
56
57
57
58
#define SHELL_CMD_SOS_CONSOLE "sos_console"
58
59
#define SHELL_CMD_SOS_CONSOLE_PARAM NULL
59
- #define SHELL_CMD_SOS_CONSOLE_HELP "Switch to SOS's console"
60
+ #define SHELL_CMD_SOS_CONSOLE_HELP "Switch to the SOS's console. Use [Ctrl+Spacebar] to return to the ACRN shell "\
61
+ "console"
60
62
61
63
#define SHELL_CMD_INTERRUPT "int"
62
64
#define SHELL_CMD_INTERRUPT_PARAM NULL
63
- #define SHELL_CMD_INTERRUPT_HELP "show interrupt info per CPU"
65
+ #define SHELL_CMD_INTERRUPT_HELP "List interrupt information per CPU"
64
66
65
67
#define SHELL_CMD_PTDEV "pt"
66
68
#define SHELL_CMD_PTDEV_PARAM NULL
67
- #define SHELL_CMD_PTDEV_HELP "show pass-through device info "
69
+ #define SHELL_CMD_PTDEV_HELP "Show pass-through device information "
68
70
69
71
#define SHELL_CMD_REBOOT "reboot"
70
72
#define SHELL_CMD_REBOOT_PARAM NULL
71
- #define SHELL_CMD_REBOOT_HELP "trigger system reboot"
73
+ #define SHELL_CMD_REBOOT_HELP "Trigger a system reboot (immediately) "
72
74
73
75
#define SHELL_CMD_IOAPIC "dump_ioapic"
74
76
#define SHELL_CMD_IOAPIC_PARAM NULL
75
- #define SHELL_CMD_IOAPIC_HELP "show native ioapic info "
77
+ #define SHELL_CMD_IOAPIC_HELP "Show native IOAPIC information "
76
78
77
79
#define SHELL_CMD_VIOAPIC "vioapic"
78
80
#define SHELL_CMD_VIOAPIC_PARAM "<vm id>"
79
- #define SHELL_CMD_VIOAPIC_HELP "show vioapic info "
81
+ #define SHELL_CMD_VIOAPIC_HELP "Show virtual IOAPIC (vIOAPIC) information for a specific VM "
80
82
81
83
#define SHELL_CMD_LOG_LVL "loglevel"
82
- #define SHELL_CMD_LOG_LVL_PARAM "[<console_loglevel> [<mem_loglevel> " \
83
- "[npk_loglevel]]]"
84
- #define SHELL_CMD_LOG_LVL_HELP "get(para is NULL), or set loglevel [0-6] "
84
+ #define SHELL_CMD_LOG_LVL_PARAM "[<console_loglevel> [<mem_loglevel> [npk_loglevel]]]"
85
+ #define SHELL_CMD_LOG_LVL_HELP "No argument: get the level of logging for the console, memory and npk. Set "\
86
+ "the level by giving (up to) 3 parameters between 0 and 6 (verbose) "
85
87
86
88
#define SHELL_CMD_CPUID "cpuid"
87
89
#define SHELL_CMD_CPUID_PARAM "<leaf> [subleaf]"
88
- #define SHELL_CMD_CPUID_HELP "cpuid leaf [subleaf], in hexadecimal"
90
+ #define SHELL_CMD_CPUID_HELP "Display the CPUID leaf [subleaf], in hexadecimal"
89
91
90
92
#define SHELL_CMD_RDMSR "rdmsr"
91
93
#define SHELL_CMD_RDMSR_PARAM "[-p<pcpu_id>] <msr_index>"
92
- #define SHELL_CMD_RDMSR_HELP "rdmsr -p<pcpu_id> <msr_index>, msr_index in hexadecimal"
94
+ #define SHELL_CMD_RDMSR_HELP "Read the MSR at msr_index ( in hexadecimal) for CPU ID pcpu_id "
93
95
94
96
#define SHELL_CMD_WRMSR "wrmsr"
95
97
#define SHELL_CMD_WRMSR_PARAM "[-p<pcpu_id>] <msr_index> <value>"
96
- #define SHELL_CMD_WRMSR_HELP "wrmsr -p<pcpu_id> <msr_index> <value>, msr_index and value in hexadecimal"
98
+ #define SHELL_CMD_WRMSR_HELP "Write value (in hexadecimal) to the MSR at msr_index (in hexadecimal) for CPU"\
99
+ " ID pcpu_id"
97
100
#endif /* SHELL_PRIV_H */
0 commit comments