summaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2010-05-12 14:03:02 +0200
committerKevin Wolf <kwolf@redhat.com>2010-05-17 10:20:05 +0200
commit35ed5de6be186d46ff3e33554f32151fba0f401f (patch)
treed66d568cadb1267110ee5ec5c2f835bae703487e /block.c
parent21955137eefb30e2137682046ea456f32c059300 (diff)
downloadqemu-35ed5de6be186d46ff3e33554f32151fba0f401f.zip
block: Remove special case for vvfat
The special case doesn't really us buy anything. Without it vvfat works more consistently as a protocol. We get raw on top of vvfat now, which works just as well as using vvfat directly. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.c')
-rw-r--r--block.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/block.c b/block.c
index 782258016a..bfe46e3765 100644
--- a/block.c
+++ b/block.c
@@ -326,11 +326,6 @@ static BlockDriver *find_image_format(const char *filename)
uint8_t buf[2048];
BlockDriverState *bs;
- drv = find_protocol(filename);
- /* no need to test disk image formats for vvfat */
- if (drv && strcmp(drv->format_name, "vvfat") == 0)
- return drv;
-
ret = bdrv_file_open(&bs, filename, 0);
if (ret < 0)
return NULL;