aboutsummaryrefslogtreecommitdiff
path: root/tools/lguest
AgeCommit message (Collapse)AuthorFilesLines
2012-10-22lguest: fix block request handling in example launcher.Rusty Russell1-49/+35
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 <[email protected]>
2012-10-04lguest: fix occasional crash in example launcher.Rusty Russell1-0/+1
We usually got away with ->next on the final entry being NULL, but it finally bit me. Signed-off-by: Rusty Russell <[email protected]> Cc: [email protected]
2012-01-12lguest: move the lguest tool to the tools directoryDavidlohr Bueso5-0/+2261
This is a better location instead of having it in Documentation. Signed-off-by: Davidlohr Bueso <[email protected]> Signed-off-by: Rusty Russell <[email protected]> (fixed compile)