mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-29 12:35:48 +00:00
hv: Add reboot shell command
To trigger warm reboot for debugging. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <Eddie.dong@intel.com>
This commit is contained in:
@@ -147,6 +147,12 @@ static struct shell_cmd acrn_cmd[] = {
|
||||
.help_str = SHELL_CMD_CPUID_HELP,
|
||||
.fcn = shell_cpuid,
|
||||
},
|
||||
{
|
||||
.str = SHELL_CMD_REBOOT,
|
||||
.cmd_param = SHELL_CMD_REBOOT_PARAM,
|
||||
.help_str = SHELL_CMD_REBOOT_HELP,
|
||||
.fcn = shell_reboot,
|
||||
},
|
||||
};
|
||||
|
||||
int shell_init(void)
|
||||
|
Reference in New Issue
Block a user