[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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. Attachment:
reset-logdirty.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |