File tree Expand file tree Collapse file tree 2 files changed +3
-22
lines changed Expand file tree Collapse file tree 2 files changed +3
-22
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ require (
31
31
github.com/klauspost/compress v1.18.0
32
32
github.com/klauspost/cpuid/v2 v2.3.0
33
33
github.com/kofalt/go-memoize v0.0.0-20220914132407-0b5d6a304579
34
- github.com/linuxkit/virtsock v0.0.0-20220523201153-1a23e78aa7a2
35
34
github.com/mattn/go-colorable v0.1.14
36
35
github.com/mdlayher/vsock v1.2.1
37
36
github.com/onsi/ginkgo/v2 v2.23.4
@@ -139,6 +138,7 @@ require (
139
138
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
140
139
github.com/klauspost/pgzip v1.2.6 // indirect
141
140
github.com/letsencrypt/boulder v0.0.0-20240620165639-de9c06129bec // indirect
141
+ github.com/linuxkit/virtsock v0.0.0-20220523201153-1a23e78aa7a2 // indirect
142
142
github.com/lufia/plan9stats v0.0.0-20240909124753-873cd0166683 // indirect
143
143
github.com/mailru/easyjson v0.7.7 // indirect
144
144
github.com/mattn/go-isatty v0.0.20 // indirect
Original file line number Diff line number Diff line change 4
4
"fmt"
5
5
"net"
6
6
7
- "github.com/linuxkit/virtsock/pkg/hvsock"
8
7
"github.com/sirupsen/logrus"
9
8
)
10
9
@@ -59,24 +58,6 @@ func StartShares(mounts []Mount9p) (servers []*Server, defErr error) {
59
58
// StartVsockShares starts serving the given shares on vsocks instead of TCP sockets.
60
59
// The vsocks used must already be defined before StartVsockShares is called.
61
60
func StartVsockShares (mounts []VsockMount9p ) ([]* Server , error ) {
62
- mounts9p := []Mount9p {}
63
- for _ , mount := range mounts {
64
- service , err := hvsock .GUIDFromString (mount .VsockGUID )
65
- if err != nil {
66
- return nil , fmt .Errorf ("parsing vsock guid %s: %w" , mount .VsockGUID , err )
67
- }
68
-
69
- listener , err := hvsock .Listen (hvsock.Addr {
70
- VMID : hvsock .GUIDWildcard ,
71
- ServiceID : service ,
72
- })
73
- if err != nil {
74
- return nil , fmt .Errorf ("retrieving listener for vsock %s: %w" , mount .VsockGUID , err )
75
- }
76
-
77
- logrus .Debugf ("Going to serve directory %s on vsock %s" , mount .Path , mount .VsockGUID )
78
- mounts9p = append (mounts9p , Mount9p {Path : mount .Path , Listener : listener })
79
- }
80
-
81
- return StartShares (mounts9p )
61
+ // temporarily removed until vsock support is added into 9pfs client
62
+ return nil , nil
82
63
}
You can’t perform that action at this time.
0 commit comments