-r == read from the vsock
-w == write to the vsock
This makes it easier to write automated test cases.
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
Rather than exiting when the first read hits EOF, ignoring any remaining data
going the other way.
Signed-off-by: Ian Campbell <ian.campbell@docker.com>