]> git.proxmox.com Git - qemu.git/blobdiff - block.h
Fix savevm after BDRV_FILE size enforcement
[qemu.git] / block.h
diff --git a/block.h b/block.h
index 6701d34502758f470ce0ebef64ffc86ba961f397..f1919b668e49390fb23809f493d23da5f4b3d8a5 100644 (file)
--- a/block.h
+++ b/block.h
@@ -178,4 +178,9 @@ void path_combine(char *dest, int dest_size,
                   const char *base_path,
                   const char *filename);
 
+int bdrv_put_buffer(BlockDriverState *bs, const uint8_t *buf,
+                    int64_t pos, int size);
+
+int bdrv_get_buffer(BlockDriverState *bs, uint8_t *buf, int64_t pos, int size);
+
 #endif