aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-07-02 08:12:26 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-09 16:06:38 -0500
commit1cec71e3597b6ab8df939dff90cc05515d0f0272 (patch)
tree2cd2b6b4c0e25117a095fd22bc61c9747cc49370 /block
parentc6a5a71a3a1886afad5eeb214eb6e8785f4e0319 (diff)
downloadqemu-1cec71e3597b6ab8df939dff90cc05515d0f0272.zip
qemu-1cec71e3597b6ab8df939dff90cc05515d0f0272.tar.gz
qemu-1cec71e3597b6ab8df939dff90cc05515d0f0272.tar.bz2
Revert "support colon in filenames"
This reverts commit 707c0dbc97cddfe8d2441b8259c6c526d99f2dd8. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block')
-rw-r--r--block/dmg.c2
-rw-r--r--block/raw-posix.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/block/dmg.c b/block/dmg.c
index dd98af4..262560f 100644
--- a/block/dmg.c
+++ b/block/dmg.c
@@ -94,7 +94,7 @@ dmg_close:
close(s->fd);
/* open raw instead */
bs->drv=bdrv_find_format("raw");
- return bdrv_open3(bs, filename, flags, bs->drv);
+ return bs->drv->bdrv_open(bs, filename, flags);
}
info_begin=read_off(s->fd);
if(info_begin==0)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 8b1e67c..985bf69 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -903,7 +903,6 @@ static BlockDriver bdrv_raw = {
.bdrv_getlength = raw_getlength,
.create_options = raw_create_options,
- .protocol_name = "file",
};
/***********************************************/