[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] [Patch] Remove panic_domain()



On Fri, 2007-03-23 at 15:00 +0900, Akio Takebe wrote:
> Hi,
> 
> I found the bug of panic_domain().
> When we compile xen with crash_debug=y, debugger_trap_immediate() and 
> debugger_trap_fatal() is not nop.
> So if xen call panic_domain() to crash guest,
> xen call debugger routine, then hangup system.
> 
> domain_crash_synchronous() has __FILE__, __LINE__ macros.
> So I remove panic_domain() and replace it with printk() and
> domain_crash_synchronous() as x86 do.

   Wouldn't it work just as well to convert panic_domain() to a macro
and remove the debugger_trap_immediate() and debugger_trap_fatal()
calls?  The abstraction of panic_domain() is easier to use than
requiring someone to call all the relevant functions manually.  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.