qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Safely reopening image files by stashing fds


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Safely reopening image files by stashing fds
Date: Fri, 05 Aug 2011 11:04:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0

On 08/05/2011 10:40 AM, Stefan Hajnoczi wrote:
4. Implement bdrv_reopen()

First call bdrv_extract_fds() to stash the file descriptors, then close the
block device.  Try opening the new image but if that fails, reopen using the
stashed file descriptors.

Why not do the latter unconditionally?

Paolo



reply via email to

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