summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMichael S. Tsirkin2011-10-30 20:29:59 +0100
committerRusty Russell2011-11-02 02:11:02 +0100
commit5087a50e66bd51b6e72c60bce4757a42b93f6b2c (patch)
treeb0a0f017fbeeef3b6be8604f6e40b54ce1053bac /Documentation
parentvirtio: Add platform bus driver for memory mapped virtio device (diff)
downloadkernel-qcow2-linux-5087a50e66bd51b6e72c60bce4757a42b93f6b2c.tar.gz
kernel-qcow2-linux-5087a50e66bd51b6e72c60bce4757a42b93f6b2c.tar.xz
kernel-qcow2-linux-5087a50e66bd51b6e72c60bce4757a42b93f6b2c.zip
virtio-blk: use ida to allocate disk index
Based on a patch by Mark Wu <dwu@redhat.com> Current index allocation in virtio-blk is based on a monotonically increasing variable "index". This means we'll run out of numbers after a while. It also could cause confusion about the disk name in the case of hot-plugging disks. Change virtio-blk to use ida to allocate index, instead. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions