* [Qemu-devel] [PATCH] block: Remove special case for vvfat
@ 2010-05-12 12:08 Kevin Wolf
0 siblings, 0 replies; only message in thread
From: Kevin Wolf @ 2010-05-12 12:08 UTC (permalink / raw)
To: qemu-devel; +Cc: kwolf
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>
---
block.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/block.c b/block.c
index ffe82f8..b65a3e5 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;
--
1.6.6.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-12 12:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 12:08 [Qemu-devel] [PATCH] block: Remove special case for vvfat Kevin Wolf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).