virtio-blk: add topology support
commit9752c371a2f82b4fcde248dc35597f4066cd756c
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Feb 2010 22:37:25 +0000 (10 23:37 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Feb 2010 22:53:54 +0000 (10 16:53 -0600)
tree63f6788ec34f5be9cb52904e9621c87f6f04ff79
parent428c149b0be790b440e1cbee185b152cdb22feec
virtio-blk: add topology support

Export all topology information in the block config structure,
guarded by a new VIRTIO_BLK_F_TOPOLOGY feature flag.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-blk.c
hw/virtio-blk.h