On Mon, Jun 30, 2008 at 04:19:15PM -0700, Jeff Bonwick wrote:

> (2) In a virtualized environment, a better way to get a crash dump
>     would be to snapshot the VM.  This would require a little bit
>     of host/guest cooperation, in that the installer (or dumpadm)
>     would have to know that it's operating in a VM, and the kernel
>     would need some way to notify the VM that it just panicked.
>     Both of these ought to be doable.

This is trivial with xVM, btw: just make the panic routine call
HYPERVISOR_shutdown(SHUTDOWN_crash); and dom0 will automatically create a
full crash dump for the domain, which is readably directly in MDB.

As a refinement you might want to only do this if a (suitable) place to
crash dump isn't available.

regards
john
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to