mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 06:44:23 +01:00
virtcontainers: 9p: shares multiple devices with only one export
Use 'remap' behaviour to deal with multiple devices being shared with a 9p export. Fixes the following warning: ``` 9p: Multiple devices detected in same VirtFS export, which might lead to file ID collisions and severe misbehaviours on guest! You should either use a separate export for each device shared from host or use virtfs option 'multidevs=remap'! ``` fixes #378 Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
@@ -211,6 +211,7 @@ func TestQemuAddDeviceFsDev(t *testing.T) {
|
||||
Path: hostPath,
|
||||
MountTag: mountTag,
|
||||
SecurityModel: govmmQemu.None,
|
||||
Multidev: govmmQemu.Remap,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user