Fix Xen soft reboot via polling
authorIustin Pop <iustin@google.com>
Mon, 6 Apr 2009 08:20:53 +0000 (08:20 +0000)
committerIustin Pop <iustin@google.com>
Mon, 6 Apr 2009 08:20:53 +0000 (08:20 +0000)
commit7dd106d3e52be4f2f4ef7fb8c1ceb5745dd94e4b
treebd21093726dd506ed060fed1ddca3ccd0fdfc78a
parent5d60b3bd4b31ada6c00d845d659d4938049b8635
Fix Xen soft reboot via polling

This patch fixes the Xen soft reboot ("xm reboot") via polling for a specific
time for either changed domain ID or decreased CPU run-time.

This sould prevent the race-conditions discussed on the mailing list for
reboots.

Reviewed-by: imsnah
lib/hypervisor/hv_xen.py