The AF_HVSOCK patches were never merged in upstream Linux, instead Hyper-V support was added to AF_VSOCK instead. One consequence is the AF_VSOCK "port" is mapped into a special space of Hyper-V service GUIDs. This patch modifies vpnkit-tap-vsockd and vpnkit-9pmount-vsock to first try AF_VSOCK and then fall back to AF_HVSOCK.
The
AF_HVSOCK
patches were never merged in upstream Linux, instead Hyper-V support was added toAF_VSOCK
instead. One consequence is theAF_VSOCK
"port" is mapped into a special space of Hyper-V service GUIDs. This patch modifiesvpnkit-tap-vsockd
andvpnkit-9pmount-vsock
to first tryAF_VSOCK
and then fall back toAF_HVSOCK
.This patch changes the command-lines from
to