qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync.


From: Jes Sorensen
Subject: Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync.
Date: Thu, 28 Apr 2011 15:46:17 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9

On 04/28/11 15:41, Kevin Wolf wrote:
>>> Finally, what's the expect behavior when -snapshot is used? I'm getting
>>> >> this:
>>> >>
>>> >>  (qemu) snapshot_blkdev ide0-hd0 snap-test
>>> >>  Could not open '/tmp/vl.6w8YXA'
>>> >>  (qemu)
>> > 
>> > 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.

Jes




reply via email to

[Prev in Thread] Current Thread [Next in Thread]