]> git.proxmox.com Git - qemu.git/commit - block.c
block: Avoid second open for format probing
authorKevin Wolf <kwolf@redhat.com>
Mon, 12 Nov 2012 16:35:27 +0000 (17:35 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 11 Dec 2012 10:04:25 +0000 (11:04 +0100)
commitf500a6d3c2b9ef0bb06d0080d91d8ed3c1d68f58
tree73e5eb9cd38b7c4dd53fadc696ad4f34a1f318af
parent7b272452398135e4f8e48341239705d03c82dae3
block: Avoid second open for format probing

This fixes problems that are caused by the additional open/close cycle
of the existing format probing, for example related to qemu-nbd without
-t option or file descriptor passing.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c