xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0 of 2] linux-2.6.18: kdump for pv-on-hvm guests
@ 2011-04-05 10:14 Olaf Hering
  2011-04-05 10:14 ` [PATCH 1 of 2] kdump pv-on-hvm: introduce "reset_devices" command line option Olaf Hering
  2011-04-05 10:14 ` [PATCH 2 of 2] kdump pv-on-hvm: reset PV devices in crash kernel Olaf Hering
  0 siblings, 2 replies; 5+ messages in thread
From: Olaf Hering @ 2011-04-05 10:14 UTC (permalink / raw)
  To: xen-devel


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-05 13:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05 10:14 [PATCH 0 of 2] linux-2.6.18: kdump for pv-on-hvm guests Olaf Hering
2011-04-05 10:14 ` [PATCH 1 of 2] kdump pv-on-hvm: introduce "reset_devices" command line option Olaf Hering
2011-04-05 10:14 ` [PATCH 2 of 2] kdump pv-on-hvm: reset PV devices in crash kernel Olaf Hering
2011-04-05 13:54   ` Konrad Rzeszutek Wilk
2011-04-05 13:56     ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).