Skip to content

Commit

Permalink
EXPERIMENT vhost server for virtioFS
Browse files Browse the repository at this point in the history
  • Loading branch information
hanwen committed Oct 16, 2024
1 parent b2818e5 commit 227560a
Show file tree
Hide file tree
Showing 3 changed files with 702 additions and 34 deletions.
4 changes: 2 additions & 2 deletions example/virtiofs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ func main() {
break
}

dev := vhostuser.FSDevice{}
srv := vhostuser.NewServer(conn, &dev)
dev := vhostuser.NewFSDevice()
srv := vhostuser.NewServer(conn, dev)
if err := srv.Serve(); err != nil {
log.Printf("Serve: %v %T", err, err)
}
Expand Down
Loading

0 comments on commit 227560a

Please sign in to comment.