]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/block/block.h
hw/block/block.c: improve confusing blk_check_size_and_read_all() error
[mirror_qemu.git] / include / hw / block / block.h
index 15fff6643502e51a0896189d12709e1622c2b339..de3946a5f1eed4a2d0c789861788f21eee74e0c0 100644 (file)
@@ -88,8 +88,8 @@ static inline unsigned int get_physical_block_exp(BlockConf *conf)
 
 /* Backend access helpers */
 
-bool blk_check_size_and_read_all(BlockBackend *blk, void *buf, hwaddr size,
-                                 Error **errp);
+bool blk_check_size_and_read_all(BlockBackend *blk, DeviceState *dev,
+                                 void *buf, hwaddr size, Error **errp);
 
 /* Configuration helpers */