From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: [PATCH 0 of 2] linux-2.6.18: kdump for pv-on-hvm guests Date: Tue, 05 Apr 2011 12:14:27 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org The following two patches add kdump support for PV-on-HVM guests. In the event of a crash, the PV drivers are still in connected state. In this state a reconnect by the kdump kernel is not possible. The connection for each connected device has to be closed first to allow a reconnect. The bus reset is only done when the kernel was booted with the 'reset_devices' cmdline option, which is automatically added to the kdump kernel cmdline. This option was introduced in 2.6.19-rc1. Two additional changes are needed: The kdump script needs to omit the 'irqpoll' option for the crash kernel. When booted irqpoll an interrupt flood will occour after a while. The kexec-tools package needs to check for a real PV environment. Doing a stat() on /proc/xen is not enough, instead /proc/xen/capabilities should be used. Olaf -- Documentation/kernel-parameters.txt | 3 + drivers/xen/xenbus/xenbus_comms.c | 4 + drivers/xen/xenbus/xenbus_probe.c | 96 ++++++++++++++++++++++++++++++++++++ include/linux/init.h | 1 init/main.c | 20 +++++++ 5 files changed, 123 insertions(+), 1 deletion(-)