]> git.proxmox.com Git - qemu.git/blobdiff - block_int.h
virtio: Remove malloc failure checks (Jan Kiszka)
[qemu.git] / block_int.h
index 137000e14075fb2b1b2d55739a8a83a27c510e22..781789c9e1f9caeee2c00c1fc3aae426ca61fe0a 100644 (file)
@@ -104,9 +104,6 @@ struct BlockDriverState {
     BlockDriver *drv; /* NULL means no media */
     void *opaque;
 
-    int boot_sector_enabled;
-    uint8_t boot_sector_data[512];
-
     char filename[1024];
     char backing_file[1024]; /* if non zero, the image is a diff of
                                 this file image */
@@ -130,6 +127,7 @@ struct BlockDriverState {
     int type;
     char device_name[32];
     BlockDriverState *next;
+    void *private;
 };
 
 struct BlockDriverAIOCB {
@@ -145,6 +143,6 @@ void *qemu_aio_get(BlockDriverState *bs, BlockDriverCompletionFunc *cb,
                    void *opaque);
 void qemu_aio_release(void *p);
 
-BlockDriverState *bdrv_first;
+extern BlockDriverState *bdrv_first;
 
 #endif /* BLOCK_INT_H */