]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio: capacity should be in 512-byte sectors
authorAsias He <asias.hejun@gmail.com>
Sat, 8 Jan 2011 02:28:26 +0000 (10:28 +0800)
committerPekka Enberg <penberg@kernel.org>
Sat, 8 Jan 2011 08:24:30 +0000 (10:24 +0200)
commit776c3480e5dd5f2a128263fb14563fca8727fd92
tree53f91fc27890e95e178b4890c86ae5629aac5a34
parent67176c5195b3832c3c5dad0282ba01b20fb73e31
virtio: capacity should be in 512-byte sectors

struct virtio_blk_config {
        /* The capacity (in 512-byte sectors). */
        uint64_t capacity;
...
}

Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/blk-virtio.c