]> git.proxmox.com Git - qemu.git/blobdiff - hw/virtio-blk.h
virtio-blk: Turn drive serial into a qdev property
[qemu.git] / hw / virtio-blk.h
index fff46da7db680f44cbc8917406347a6ce4ebb873..5645d2bf3c37ca8f5e174f30eab5ab67693863a8 100644 (file)
@@ -34,6 +34,8 @@
 #define VIRTIO_BLK_F_WCACHE     9       /* write cache enabled */
 #define VIRTIO_BLK_F_TOPOLOGY   10      /* Topology information is available */
 
+#define VIRTIO_BLK_ID_BYTES     20      /* ID string length */
+
 struct virtio_blk_config
 {
     uint64_t capacity;