kata virtiofsd
func (q *qemu) virtiofsdArgs(fd uintptr) []string { // The daemon will terminate when the vhost-user socket // connection with QEMU closes. Therefore we do not keep track // of this child process after returning from this function. sourcePath := filepath.Join(getSharePath(q.id)) args := []string{ fmt.Sprintf("--fd=%v", fd), "-o", "source=" + sourcePath, "-o", "cache=" + q.config.VirtioFSCache, "--syslog", "-o", "no_posix_lock"} if q.config.Debug { args = append(args, "-d") } else { args = append(args, "-f") } if len(q.config.VirtioFSExtraArgs) != 0 { args = append(args, q.config.VirtioFSExtraArgs...) } return args }