Merge pull request #2595 from jcvenegas/fix-2594

clh: virtiofs: Add no_posix_lock option
This commit is contained in:
Jose Carlos Venegas Munoz 2020-04-14 13:30:08 -05:00 committed by GitHub
commit c369692924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,9 +126,11 @@ func (v *virtiofsd) args() ([]string, error) {
args := []string{
"-f",
"-o", "vhost_user_socket=" + v.socketPath,
"-o", "cache=" + v.cache,
"-o", "no_posix_lock",
"-o", "source=" + v.sourcePath,
"-o", "cache=" + v.cache}
"-o", "vhost_user_socket=" + v.socketPath,
}
if len(v.extraArgs) != 0 {
args = append(args, v.extraArgs...)