This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH 0 of 2] linux-2.6.18: kdump for pv-on-hvm guests

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 0 of 2] linux-2.6.18: kdump for pv-on-hvm guests
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Tue, 05 Apr 2011 12:14:27 +0200
Delivery-date: Tue, 05 Apr 2011 03:16:32 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1301998470; l=1123; s=domk; d=aepfle.de; h=To:From:Date:Subject:Content-Transfer-Encoding:MIME-Version: Content-Type:X-RZG-CLASS-ID:X-RZG-AUTH; bh=auWinoeeeZ2U6uOjOYPgOh5eEOE=; b=FvJNHmwZdGno7O8lQ/GGn8oKNO1USqoJwWR8PY+GxXupL46cZf+Wl2naAwpaSGZPVyj MR++3bdYzgKWu4gpAMQuF4ilsqc0K+DEepx4qGCgGRUvy04qr8uapN2PryEcREzKEx6Nt eAbPsGl+MX2UWaSaY2qFlW6DyUmg1ElPeEc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.8.1
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

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.



 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(-)

Xen-devel mailing list