]> git.proxmox.com Git - qemu.git/blobdiff - block_int.h
full system SPARC emulation (Blue Swirl)
[qemu.git] / block_int.h
index 36a88ed0a11454040a07eb5abf09e612207463c1..9d047c4ff37e91384d5f5a259146b5d8270b6250 100644 (file)
@@ -33,7 +33,7 @@ struct BlockDriver {
                      uint8_t *buf, int nb_sectors);
     int (*bdrv_write)(BlockDriverState *bs, int64_t sector_num, 
                       const uint8_t *buf, int nb_sectors);
-    int (*bdrv_close)(BlockDriverState *bs);
+    void (*bdrv_close)(BlockDriverState *bs);
     int (*bdrv_create)(const char *filename, int64_t total_sectors, 
                        const char *backing_file, int flags);
     int (*bdrv_is_allocated)(BlockDriverState *bs, int64_t sector_num,