[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Tue, 05 Apr 2011 12:14:27 +0200
  • Delivery-date: Tue, 05 Apr 2011 03:16:32 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.