diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-10-16 17:26:13 +0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-10-22 11:50:01 +0400 |
commit | c0316a945ae3df1a9c9d1fb44ac3eb47f16d9cd9 (patch) | |
tree | 1fb9fcadaabb96fc58747d73cf8b492daf8faa89 /drivers/lguest | |
parent | 7e05484f02e1ea05a3aae0724d4df1e8a5a1920f (diff) | |
download | linux-c0316a945ae3df1a9c9d1fb44ac3eb47f16d9cd9.tar.xz |
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