diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-02-13 10:42:09 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-02-13 10:42:09 +0000 |
commit | 5ffec49444facf629f9cb4eab0cefa4433428d6e (patch) | |
tree | 7e8f86248ec4e1c067293cdd6216e89c28d69df5 /unmodified_drivers/linux-2.6/platform-pci/Kbuild | |
parent | afb567f7aac1201990530db17bc9f98e3c9f92b7 (diff) | |
download | xen-5ffec49444facf629f9cb4eab0cefa4433428d6e.tar.gz xen-5ffec49444facf629f9cb4eab0cefa4433428d6e.tar.bz2 xen-5ffec49444facf629f9cb4eab0cefa4433428d6e.zip |
pv-on-hvm: Signal crash to Xen tools when HVM guest panics.
Attached patch adds a function to automatically dump core file when
guest linux on HVM domain panics, in the same way as PV domain.
I tested this patch with kernel 2.6.9 and 2.6.18 on both of x86 and
ia64 (to buid for ia64, some patches in the ia64 tree are needed) by
the following steps, and confirmed it works well:
1. Build xen-platform-pci.ko.
2. In /etc/xen/xend-config.sxp, set (enable-dump yes).
3. On guest linux, execute insmod:
# insmod xen-platform-pci.ko
4. When guest linux panics, a core file is dumped.
Signed-off-by: Tetsu Yamamoto <yamamoto.tetsu@jp.fujitsu.com>
Diffstat (limited to 'unmodified_drivers/linux-2.6/platform-pci/Kbuild')
-rw-r--r-- | unmodified_drivers/linux-2.6/platform-pci/Kbuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unmodified_drivers/linux-2.6/platform-pci/Kbuild b/unmodified_drivers/linux-2.6/platform-pci/Kbuild index ab836e4d51..de3e50bca0 100644 --- a/unmodified_drivers/linux-2.6/platform-pci/Kbuild +++ b/unmodified_drivers/linux-2.6/platform-pci/Kbuild @@ -7,6 +7,7 @@ EXTRA_CFLAGS += -I$(M)/platform-pci xen-platform-pci-objs := evtchn.o platform-pci.o gnttab.o xen_support.o xen-platform-pci-objs += features.o platform-compat.o xen-platform-pci-objs += reboot.o machine_reboot.o +xen-platform-pci-objs += panic-handler.o xen-platform-pci-objs += ../xenbus/xenbus_comms.o xen-platform-pci-objs += ../xenbus/xenbus_xs.o |