Otherwise the hypervisor simply appears to stop after a message which may or
may not look all that severe.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
xen/arch/arm/early_printk.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/xen/arch/arm/early_printk.c b/xen/arch/arm/early_printk.c
index ca151a5..058d044 100644
--- a/xen/arch/arm/early_printk.c
+++ b/xen/arch/arm/early_printk.c
@@ -61,5 +61,7 @@ early_panic(const char *fmt, ...)
early_vprintk(fmt, args);
va_end(args);
+ early_printk("\nEarly Panic: Stopping\n");
+
while(1);
}
--
1.7.2.5
Julien Grall
2013-Aug-22 16:30 UTC
Re: [PATCH] xen: arm: indicate when we have early paniced
On 08/22/2013 05:01 PM, Ian Campbell wrote:> Otherwise the hypervisor simply appears to stop after a message which may or > may not look all that severe.Thanks ! I though to make the same patch.> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>Reviewed-by: Julien Grall <julien.grall@linaro.org>> --- > xen/arch/arm/early_printk.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/xen/arch/arm/early_printk.c b/xen/arch/arm/early_printk.c > index ca151a5..058d044 100644 > --- a/xen/arch/arm/early_printk.c > +++ b/xen/arch/arm/early_printk.c > @@ -61,5 +61,7 @@ early_panic(const char *fmt, ...) > early_vprintk(fmt, args); > va_end(args); > > + early_printk("\nEarly Panic: Stopping\n"); > + > while(1); > } >-- Julien Grall
Ian Campbell
2013-Aug-27 13:45 UTC
Re: [PATCH] xen: arm: indicate when we have early paniced
On Thu, 2013-08-22 at 17:30 +0100, Julien Grall wrote:> On 08/22/2013 05:01 PM, Ian Campbell wrote: > > Otherwise the hypervisor simply appears to stop after a message which may or > > may not look all that severe. > > Thanks ! I though to make the same patch. > > > > Signed-off-by: Ian Campbell <ian.campbell@citrix.com> > Reviewed-by: Julien Grall <julien.grall@linaro.org>Applied, thanks.