linux_old1/tools/lguest
Rusty Russell c0316a945a 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>
2012-10-22 18:20:01 +10:30
..
.gitignore lguest: move the lguest tool to the tools directory 2012-01-12 15:44:47 +10:30
Makefile lguest: move the lguest tool to the tools directory 2012-01-12 15:44:47 +10:30
extract lguest: move the lguest tool to the tools directory 2012-01-12 15:44:47 +10:30
lguest.c lguest: fix block request handling in example launcher. 2012-10-22 18:20:01 +10:30
lguest.txt lguest: move the lguest tool to the tools directory 2012-01-12 15:44:47 +10:30