]> git.proxmox.com Git - qemu.git/blobdiff - block.h
Remove NICInfo from e1000 and mipsnet state (Mark McLoughlin)
[qemu.git] / block.h
diff --git a/block.h b/block.h
index 5c6eaf937c716e9bf4ad671332945f49ba3ced56..979781a12e8f69fd72f21950e258f4a9f6aa5ae4 100644 (file)
--- a/block.h
+++ b/block.h
@@ -26,8 +26,6 @@ typedef struct BlockDriverInfo {
     int cluster_size;
     /* offset at which the VM state can be saved (0 if not possible) */
     int64_t vm_state_offset;
-    int64_t highest_alloc; /* highest allocated block offset (in bytes) */
-    int64_t num_free_bytes; /* below highest_alloc  */
 } BlockDriverInfo;
 
 typedef struct QEMUSnapshotInfo {
@@ -171,4 +169,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