From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFSQB-0007y5-63 for qemu-devel@nongnu.org; Thu, 28 Apr 2011 10:42:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFSQA-0000rS-3l for qemu-devel@nongnu.org; Thu, 28 Apr 2011 10:42:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFSQ9-0000rM-Re for qemu-devel@nongnu.org; Thu, 28 Apr 2011 10:42:22 -0400 Message-ID: <4DB97C9E.5050905@redhat.com> Date: Thu, 28 Apr 2011 16:41:34 +0200 From: Jes Sorensen MIME-Version: 1.0 References: <1303136821-13333-1-git-send-email-Jes.Sorensen@redhat.com> <1303136821-13333-2-git-send-email-Jes.Sorensen@redhat.com> <20110427120520.74e348d9@doriath> <4DB969E5.2060501@redhat.com> <4DB96E9E.6020300@redhat.com> <4DB96FA9.5000202@redhat.com> <4DB97CCC.2010601@redhat.com> In-Reply-To: <4DB97CCC.2010601@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Markus Armbruster , qemu-devel@nongnu.org, Luiz Capitulino On 04/28/11 16:42, Kevin Wolf wrote: >>>>> What type of file system is your /tmp? You need to provide full path to >>>>> >>>> the snapshot file if you don't want it created next to where your qemu >>>>> >>>> binary is being executed. >>> >> I think the problem is that this is a temporary file, i.e. unlinked >>> >> directly after it has been opened. Trying to reopen a deleted file is a >>> >> bad idea. >> > >> > True, but if /tmp is tmpfs, it isn't possible to open things O_DIRECT, >> > which could also be the source of the problem here. > Not really, -snapshot is very clearly the problem here. Note that what's > failing here is not opening the new snapshot but the old temporary image > created by -snapshot. Sorry you are losing me here - why would reopening the old image fail? And if it fails, why does it have such a bizarre name in Luiz's case? Jes