mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-29 12:35:48 +00:00
hv: shell: add cpuid command
Add cpuid shell command for test Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -356,6 +356,17 @@ int shell_init(void)
|
||||
pr_err("Error: Command \"%s\" registration failed.",
|
||||
SHELL_CMD_SET_LOG_LVL);
|
||||
}
|
||||
|
||||
status = shell_register_cmd(serial_session,
|
||||
SHELL_CMD_CPUID,
|
||||
SHELL_CMD_CPUID_PARAM,
|
||||
SHELL_CMD_CPUID_HELP,
|
||||
shell_cpuid);
|
||||
|
||||
if (status != 0) {
|
||||
pr_err("Error: Command \"%s\" registration failed.",
|
||||
SHELL_CMD_CPUID);
|
||||
}
|
||||
}
|
||||
|
||||
return status;
|
||||
|
Reference in New Issue
Block a user