git: kernel - Skip vmm_shutdown() when in a panic

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Dec 4 16:11:39 PST 2016


commit 1887942f2b5442d1fbe870f07b0d89239a3d2607
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Dec 4 16:09:23 2016 -0800

    kernel - Skip vmm_shutdown() when in a panic
    
    * vmm_shutdown() calls cpusync and assumes that the system is basically
      in working order.  This is definitely not the case from a panic.
      Conditionalize the code to be skipped if shutting-down due to a panic.
    
    * Fixes a number of situations where the panic code locks up and refuses
      to dump when called with debug.debugger_on_panic=0.

Summary of changes:
 sys/platform/pc64/vmm/vmm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1887942f2b5442d1fbe870f07b0d89239a3d2607


-- 
DragonFly BSD source repository



More information about the Commits mailing list