]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
tools/xend: move assert to exception block
authorOlaf Hering <olaf@aepfle.de>
Mon, 10 Feb 2014 07:57:34 +0000 (08:57 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 27 Mar 2014 15:05:16 +0000 (15:05 +0000)
commit2256f09ee54136a399374c3d1b9a0c99df2fd66c
tree30208f86acff9d5af15eda16f4e1d5092874b485
parent1dcf1850e45c0069e7a9d6199f883aa9d88114da
tools/xend: move assert to exception block

The two assert in restore trigger sometimes after hundreds of
migrations. If they trigger the destination host will not destroy the
newly created, yet empty guest. After a second migration attempt to this
host there will be two guets with the same name and uuid. This situation
is poorly handled by the xm tools.
With this change the empty guest will be destroyed.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Matt Wilson <msw@amazon.com>
tools/python/xen/xend/XendCheckpoint.py