Brendan Cully
2007-Apr-30 23:00 UTC
[Xen-devel] [PATCH] attempt to reset logdirty if enable fails
Hi, If the xc_save process ends gracelessly, it may leave logdirty mode enabled. This prevents subsequent attempts to live-migrate the domain from succeeding, because the call to enable logdirty will fail (failure is overloaded to mean both real failure and that the mode is already enabled). I don''t know how often this happens to people not fiddling with the live migration code, but it''s a theoretical possibility and there''s a fairly simple workaround: try turning the mode off and then back on. If both succeed, everything should be fine. Here''s a patch that does this. An operation to test the current shadow mode might also be nice. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel