summaryrefslogtreecommitdiffstats
path: root/drivers/lguest
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-10-16 23:56:13 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-10-22 18:20:01 +1030
commitc0316a945ae3df1a9c9d1fb44ac3eb47f16d9cd9 (patch)
tree1fb9fcadaabb96fc58747d73cf8b492daf8faa89 /drivers/lguest
parent7e05484f02e1ea05a3aae0724d4df1e8a5a1920f (diff)
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/lguest')
0 files changed, 0 insertions, 0 deletions