Add proper handling of the "crashed" Xen state
authorHrvoje Ribicic <riba@google.com>
Mon, 6 Jul 2015 17:17:41 +0000 (17:17 +0000)
committerHrvoje Ribicic <riba@google.com>
Tue, 7 Jul 2015 15:12:44 +0000 (17:12 +0200)
commit6611a81ad4eee771e740ee40cb73401850b90292
treef438ac72f257bebef8bb72670d8b8e1e6e6b63ec
parentd2050bd122473d61e1156a4d2a17285665888a58
Add proper handling of the "crashed" Xen state

Whenever an instance would enter the crashed state due to kernel issues
or other horrible problems, Ganeti would not be able to interpret the
data and would report strange and incomprehensible errors. This patch
fixes this by adding proper handling for the "crashed" state.

Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
lib/hypervisor/hv_xen.py