git: acpi_pvpanic: Notify Qemu VM host if we panic.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Tue Nov 24 15:27:02 PST 2015


commit 2af72e0ae32e279a57a5bd47226cf522fc024203
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Nov 7 01:37:39 2015 +0100

    acpi_pvpanic: Notify Qemu VM host if we panic.
    
    By default the virtual machine is stopped when the pvpanic is triggered.
    For accessing ddb, the virtual machine execution then needs to be resumed
    manually (e.g. with the "cont" command on the Qemu-monitor console).
    
    Triggering a pvpanic instead of just continuing to the ddb prompt can be
    useful to avoid hogging the CPU while hanging in ddb, and to provide a
    kernel panic notification for the VM-host system.

Summary of changes:
 share/man/man4/Makefile                            |   1 +
 share/man/man4/{aperf.4 => acpi_pvpanic.4}         |  70 ++++-----
 sys/conf/files                                     |   1 +
 sys/config/LINT64                                  |   3 +
 sys/dev/acpica/Makefile                            |   4 +-
 sys/dev/acpica/{aibs => acpi_pvpanic}/Makefile     |   5 +-
 sys/dev/acpica/acpi_pvpanic/acpi_pvpanic.c         | 162 +++++++++++++++++++++
 .../acpica/acpi_pvpanic/panic_notifier.h}          |  14 +-
 sys/kern/kern_shutdown.c                           |  18 +++
 9 files changed, 229 insertions(+), 49 deletions(-)
 copy share/man/man4/{aperf.4 => acpi_pvpanic.4} (68%)
 copy sys/dev/acpica/{aibs => acpi_pvpanic}/Makefile (51%)
 create mode 100644 sys/dev/acpica/acpi_pvpanic/acpi_pvpanic.c
 copy sys/{net/ipfw3/ip_fw.h => dev/acpica/acpi_pvpanic/panic_notifier.h} (87%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2af72e0ae32e279a57a5bd47226cf522fc024203


-- 
DragonFly BSD source repository



More information about the Commits mailing list