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/
Home Products Support Community News


Re: [Xen-devel] [PATCH 1/3] libxl: add 2 consoles to stubdoms for save/r

To: Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/3] libxl: add 2 consoles to stubdoms for save/restore
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Tue, 18 Jan 2011 17:31:17 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 18 Jan 2011 09:32:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1101181727450.7277@kaball-desktop>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <alpine.DEB.2.00.1101181037400.7277@kaball-desktop> <1295371563.14981.1671.camel@xxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.1101181727450.7277@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2011-01-18 at 17:29 +0000, Stefano Stabellini wrote:
> On Tue, 18 Jan 2011, Ian Campbell wrote:
> > On Tue, 2011-01-18 at 17:17 +0000, Stefano Stabellini wrote:
> > > Rename the save file on resume so that it doesn't collide with the
> > > name of the next save file.  
> > 
> > What is the underlying issue here? Why does it matter if a save uses the
> > same filename as a previous resume? Or is the issue that you can
> > accidentally resume an image twice?
> The issue is that the console backend is going to open both the resume
> file and the next save file when it starts, so they cannot have the same
> name.

Makes sense.

I think it is worth writing this in the checking comment.


Xen-devel mailing list