aboutsummaryrefslogtreecommitdiff
path: root/slirp
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-02-18 18:33:10 +0100
committerKevin Wolf <kwolf@redhat.com>2014-02-21 21:02:22 +0100
commit5469a2a688b47bc6d8d224c3f1b02cd96b0e4b65 (patch)
treea09f3efedccc0e0deb067da4ea4e2df858d1bf6f /slirp
parentd4446eae630a363403ec73182cf371deeed4e172 (diff)
downloadqemu-5469a2a688b47bc6d8d224c3f1b02cd96b0e4b65.zip
qemu-5469a2a688b47bc6d8d224c3f1b02cd96b0e4b65.tar.gz
qemu-5469a2a688b47bc6d8d224c3f1b02cd96b0e4b65.tar.bz2
block: Handle bs->options in bdrv_open() only
The fail paths of bdrv_file_open() and bdrv_open() naturally exhibit similarities, thus it is possible to reuse the one from bdrv_open() and shorten the one in bdrv_file_open() accordingly. Also, setting bs->options in bdrv_file_open() is not necessary if it is already done in bdrv_open(). Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'slirp')
0 files changed, 0 insertions, 0 deletions