summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-10-16 15:26:13 +0200
committerRusty Russell <rusty@rustcorp.com.au>2012-10-22 09:50:01 +0200
commitc0316a945ae3df1a9c9d1fb44ac3eb47f16d9cd9 (patch)
tree1fb9fcadaabb96fc58747d73cf8b492daf8faa89 /drivers/virtio
parentvirtio-scsi: Add real 2-clause BSD license to header (diff)
downloadlinux-c0316a945ae3df1a9c9d1fb44ac3eb47f16d9cd9.tar.xz
linux-c0316a945ae3df1a9c9d1fb44ac3eb47f16d9cd9.zip
lguest: fix block request handling in example launcher.
virtio requests are scatter-gather-style descriptors, but no assumptions should be made about the layout. lguest was lazy here, but saved by the fact that the network device hands all requests to tun (which does it correctly) and console and random devices simply use readv and writev. Block devices, however, are broken: we convert to iovecs internally, just make sure we handle the correctly. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions