]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-io.c
qemu-io: Clean up openfile() after commit 2e40134
authorMarkus Armbruster <armbru@redhat.com>
Mon, 8 Sep 2014 16:50:58 +0000 (18:50 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 Sep 2014 08:41:29 +0000 (10:41 +0200)
commitdbb651c46cc1d30497763f3bc0229206f7522c44
treee81a5e5292f07e69101f703363a2d2b53cd7de7f
parent0d4cc3e715f5794077895345577725539afe81eb
qemu-io: Clean up openfile() after commit 2e40134

Commit 6db9560 split off the growable case so it can use
bdrv_file_open() instead of bdrv_open() then.  Growable BDSes become
anonymous.  Weird.

Commit 2e40134 folded bdrv_file_open() back into bdrv_open() with new
flag BDRV_O_PROTOCOL.  We still have two bdrv_open() calls, and
growable BDSes remain anonymous.

Circle back to before commit 6db9560: just one call, not anonymous.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-io.c