]> git.proxmox.com Git - qemu.git/blobdiff - block.c
full system SPARC emulation (Blue Swirl)
[qemu.git] / block.c
diff --git a/block.c b/block.c
index 8dea3c932078e1fceb7f7a2104500f9516c10c9d..0e42b5e0d67a5fe3c2991125315d707e6a0bf600 100644 (file)
--- a/block.c
+++ b/block.c
@@ -554,7 +554,7 @@ static int raw_write(BlockDriverState *bs, int64_t sector_num,
     return 0;
 }
 
-static int raw_close(BlockDriverState *bs)
+static void raw_close(BlockDriverState *bs)
 {
     BDRVRawState *s = bs->opaque;
     close(s->fd);
@@ -596,4 +596,5 @@ void bdrv_init(void)
 #endif
     bdrv_register(&bdrv_qcow);
     bdrv_register(&bdrv_vmdk);
+    bdrv_register(&bdrv_cloop);
 }