Previously we had to reference both hvsock and vsock from Linux code because we supported old 4.9 Linux kernels with the non-upstream AF_HVSOCK patches applied. The only user of these patches was Docker Desktop but it has now upgraded to vanilla upstream AF_VSOCK in 4.19.
Previously we had to reference both
hvsock
andvsock
from Linux code because we supported old 4.9 Linux kernels with the non-upstreamAF_HVSOCK
patches applied. The only user of these patches was Docker Desktop but it has now upgraded to vanilla upstreamAF_VSOCK
in 4.19.Previously cross-compilation was broken, e.g.:
This PR drops the old
AF_HVSOCK
code and untangles thehvsock
andvsock
imports to fix cross-compilation.