mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-11 06:13:43 +00:00
Merge pull request #2595 from jcvenegas/fix-2594
clh: virtiofs: Add no_posix_lock option
This commit is contained in:
commit
c369692924
@ -126,9 +126,11 @@ func (v *virtiofsd) args() ([]string, error) {
|
|||||||
|
|
||||||
args := []string{
|
args := []string{
|
||||||
"-f",
|
"-f",
|
||||||
"-o", "vhost_user_socket=" + v.socketPath,
|
"-o", "cache=" + v.cache,
|
||||||
|
"-o", "no_posix_lock",
|
||||||
"-o", "source=" + v.sourcePath,
|
"-o", "source=" + v.sourcePath,
|
||||||
"-o", "cache=" + v.cache}
|
"-o", "vhost_user_socket=" + v.socketPath,
|
||||||
|
}
|
||||||
|
|
||||||
if len(v.extraArgs) != 0 {
|
if len(v.extraArgs) != 0 {
|
||||||
args = append(args, v.extraArgs...)
|
args = append(args, v.extraArgs...)
|
||||||
|
Loading…
Reference in New Issue
Block a user