]> git.proxmox.com Git - qemu.git/blobdiff - block/cloop.c
pci: refuse empty ROM files
[qemu.git] / block / cloop.c
index 8fe13e92a1712076a84bc63c23954cefaacf8942..6ea7cf404647fe16986b148c3b7ba4bf1a469340 100644 (file)
@@ -53,7 +53,7 @@ static int cloop_probe(const uint8_t *buf, int buf_size, const char *filename)
     return 0;
 }
 
-static int cloop_open(BlockDriverState *bs, int flags)
+static int cloop_open(BlockDriverState *bs, QDict *options, int flags)
 {
     BDRVCloopState *s = bs->opaque;
     uint32_t offsets_size, max_compressed_block_size = 1, i;