|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 2/9] xen: introduce SHUTDOWN_soft_reset shutdown reason
On Thu, 2014-12-11 at 14:45 +0100, Vitaly Kuznetsov wrote:
> Signed-off-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>
> ---
> xen/common/shutdown.c | 7 +++++++
> xen/include/public/sched.h | 3 ++-
> 2 files changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/xen/common/shutdown.c b/xen/common/shutdown.c
> index 94d4c53..5c3a158 100644
> --- a/xen/common/shutdown.c
> +++ b/xen/common/shutdown.c
> @@ -71,6 +71,13 @@ void hwdom_shutdown(u8 reason)
> break; /* not reached */
> }
>
> + case SHUTDOWN_soft_reset:
> + {
> + printk("Domain 0 did soft reset but it is unsupported,
> rebooting.\n");
> + machine_restart(0);
> + break; /* not reached */
Would a host kexec be an appropriate response to this situation,
assuming a kernel was loaded? (My guy says no, but thought I would
mention it)
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |