Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2861 from devimc/2020-07-27/fix9pMultidevs
Browse files Browse the repository at this point in the history
virtcontainers: 9p: shares multiple devices with only one export
  • Loading branch information
GabyCT authored Jul 28, 2020
2 parents 032d537 + 695fa43 commit e75299c
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

[[constraint]]
name = "github.com/intel/govmm"
revision = "7cc469641b7b4e541b56908849348b2dabbaf6a1"
revision = "af9e34b91ae99aff4b4ac126141259d34d98e9f2"

[[constraint]]
name = "github.com/kata-containers/agent"
Expand Down
25 changes: 25 additions & 0 deletions vendor/github.com/intel/govmm/qemu/qemu.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions virtcontainers/qemu_arch_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ func generic9PVolume(volume types.Volume, nestedRun bool) govmmQemu.FSDevice {
MountTag: volume.MountTag,
SecurityModel: govmmQemu.None,
DisableModern: nestedRun,
Multidev: govmmQemu.Remap,
}
}

Expand Down
1 change: 1 addition & 0 deletions virtcontainers/qemu_arch_base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ func TestQemuArchBaseAppend9PVolume(t *testing.T) {
Path: hostPath,
MountTag: mountTag,
SecurityModel: govmmQemu.None,
Multidev: govmmQemu.Remap,
},
}

Expand Down
1 change: 1 addition & 0 deletions virtcontainers/qemu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ func TestQemuAddDeviceFsDev(t *testing.T) {
Path: hostPath,
MountTag: mountTag,
SecurityModel: govmmQemu.None,
Multidev: govmmQemu.Remap,
},
}

Expand Down

0 comments on commit e75299c

Please sign in to comment.