]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm,virtio: add scatter-gather support
authorAsias He <asias.hejun@gmail.com>
Thu, 13 Jan 2011 11:56:05 +0000 (19:56 +0800)
committerPekka Enberg <penberg@kernel.org>
Thu, 13 Jan 2011 15:12:25 +0000 (17:12 +0200)
commit87a53e99dad8b70decbc4d9744c3d272e51c3ceb
treed340851cfb23b14b82b59b8e9d70476723ad09c2
parentc060c3c198497265aaa36a143c2aab65c36a757e
kvm,virtio: add scatter-gather support

Publish VIRTIO_BLK_F_SEG_MAX feature to guest.

In disk I/O request, guest can use multiple buffers which are not physicall
contiguousy as the I/O request buffer.

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