From: Stefano Stabellini Subject: Re: [PATCH 1/3] libxl: add 2 consoles to stubdoms for save/restore Date: Tue, 18 Jan 2011 17:29:00 +0000 Message-ID: References: <1295371563.14981.1671.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <1295371563.14981.1671.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 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.