]> git.proxmox.com Git - qemu.git/blobdiff - block/cow.c
bdrv: Use "Error" for opening images
[qemu.git] / block / cow.c
index 764b93fae06a9ea0b188ec62639d5efa2172b7a4..3ae1b5cdc99f2c8e071c6fe69ddf7a7c9668e88a 100644 (file)
@@ -58,7 +58,8 @@ static int cow_probe(const uint8_t *buf, int buf_size, const char *filename)
         return 0;
 }
 
-static int cow_open(BlockDriverState *bs, QDict *options, int flags)
+static int cow_open(BlockDriverState *bs, QDict *options, int flags,
+                    Error **errp)
 {
     BDRVCowState *s = bs->opaque;
     struct cow_header_v2 cow_header;