]> git.proxmox.com Git - qemu.git/blobdiff - include/block/block_int.h
bdrv: Use "Error" for creating images
[qemu.git] / include / block / block_int.h
index 076b40aa437ffc90d3b09b4ff27fe4bd191bc229..3eeb6fe2a4433ebe12da765a8f353106f69bca5b 100644 (file)
@@ -90,7 +90,8 @@ struct BlockDriver {
                       const uint8_t *buf, int nb_sectors);
     void (*bdrv_close)(BlockDriverState *bs);
     void (*bdrv_rebind)(BlockDriverState *bs);
-    int (*bdrv_create)(const char *filename, QEMUOptionParameter *options);
+    int (*bdrv_create)(const char *filename, QEMUOptionParameter *options,
+                       Error **errp);
     int (*bdrv_set_key)(BlockDriverState *bs, const char *key);
     int (*bdrv_make_empty)(BlockDriverState *bs);
     /* aio */