WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] attempt to reset logdirty if enable fails

To: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] attempt to reset logdirty if enable fails
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Mon, 30 Apr 2007 16:00:12 -0700
Delivery-date: Mon, 30 Apr 2007 15:58:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.15 (2007-04-24)
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
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] attempt to reset logdirty if enable fails, Brendan Cully <=