]> xenbits.xensource.com Git - people/royger/linux-2.6.18-xen.git/commit
kdump pv-on-hvm: reset PV devices in crash kernel
authorOlaf Hering <olaf@aepfle.de>
Tue, 5 Apr 2011 11:42:02 +0000 (12:42 +0100)
committerOlaf Hering <olaf@aepfle.de>
Tue, 5 Apr 2011 11:42:02 +0000 (12:42 +0100)
commitd3b7afbccc5286784f9802f328a3b480723c1b41
treeb1c9a1110ab5449969ca9a8eeeb459598d8922d2
parentb6ced11c692852210d92cb0ec68bb20f8aeb2c2c
kdump pv-on-hvm: reset PV devices in crash kernel

After triggering a crash dump in a HVM guest, the PV backend drivers
will remain in connected state.  When the kdump kernel starts the PV
drivers will skip such devices.  As a result, no root device is found
and the vmcore cant be saved.

With this change all frontend devices with state XenbusStateConnected
will be reset by changing the state file to
Closing/Closed/Initializing.  This will trigger a disconnect in the
backend drivers. Now the frontend drivers will find the backend
drivers in state Initwait and can connect.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
drivers/xen/xenbus/xenbus_comms.c
drivers/xen/xenbus/xenbus_probe.c