Closed ijc closed 7 years ago
Of particular note above:
Note that I have only build tested for Windows and it remains undocumented.
I meant to mention this in the commit message but forgot: It was easier to add a verbosity option to hvgoecho
than to faff around refactoring it even further to allow only hvgostress
to have the option.
Thanks. Very useful.
I tried testing hvgostress
on the Windows side:
PS C:\Users\rneugeba\Desktop> .\hvgostress.exe -s
Starting server
2016/11/29 15:37:16 Accept(): accept(): Unimplemented
Doh, forgot that I didn't implement accept()
on Windows due to issues with connecting from the VM to the host. Since the host
->Linux VM
works on Windows. Merging this.
Significantly refactor to support vsock and Darwin. Matrix is:
Linux tries to autodetect AF_VSOCK vs AF_HYPERV but can be overridden with
-m vsock
or-m hvsock
.Darwin assumes Hyperkit as configured by Docker for Mac, but can be overridden with e.g.
-m hyperkit:/some/path
for standalone hyperkit.Add a README to explain how to run things. Note that I have only build tested for Windows and it remains undocumented.
Signed-off-by: Ian Campbell ian.campbell@docker.com