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

9p2000 option not being added to 9p mounts? #201

@grahamwhaley

Description

@grahamwhaley

Description of problem

A short while back we added the 9p2000.L option to our 9p mounts, but I'm not seeing that set inside the container right now.
The code is:
https://github.com/kata-containers/runtime/blob/master/virtcontainers/kata_agent.go#L55

Expected result

I expect to see that 9p2000.L option set on any 9p mounts in the container when I do a mount command

Actual result

Seems the option does not make it through (to the agent?) - but from a quick browse I cannot see why not, and I cannot see how trans=virtio does make it. I suspect I am missing something, potentially obvious?

This was run with a HEAD of all items just now, but you can also see the mount output over on #195 does not show 9p2000 either.

background

I wanted to try something with the 9p options (the effects of adding msize=xxx), and this is the place I'd normally add that code - but if the 9p2000 is not making it through, then I suspect any msize mods won't make it either...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions