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