-
-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove virtfs-proxy-helper dependency #1547
base: main
Are you sure you want to change the base?
Conversation
So I guess the main feature gap here is that using the We need to either check if there's a way to handle or otherwise if |
Yeah, that’s the cost of abandoning the
I don’t think it can be handled properly without… erm… a proxy :P
… and I think it calls for a security test suite :) |
If either |
Oh I see. Not sure exactly how everything is put together, especially in clustered environments; that’s a code path I haven’t looked at yet. Anyway, regarding the bind mount, I think the code can be adapted to make it work, but we’d need a place to put the bind-mounted directories. If we go in this direction, what would that place be? |
It would be possible under I suspect that's just too much work for the benefit we're getting out of it. These days We can tweak this a bit further so that the default remains We also need to use |
Ok, I’ll see what I can do this week |
Thanks! |
Signed-off-by: Benjamin Somers <[email protected]>
Signed-off-by: Benjamin Somers <[email protected]>
I’ll soon have something, I’ve had a busy last week, sorry for the delay… |
f286e13
to
0caf262
Compare
internal/server/device/disk.go
Outdated
return nil, fmt.Errorf("9p shares do not support identity mapping") | ||
} | ||
|
||
opts = append(opts, "bus=virtiofs") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line works because driver_qemu.go:3965
checks whether the opts contains this string, but it can lead to a drive having e.g. both bus=auto
and bus=virtiofs
. Is this really important or can we keep it this way?
Signed-off-by: Benjamin Somers <[email protected]>
Closes: #1543
Please note that backwards compatibility WAS NOT tested. Also, I used the
mapped-xattr
security model; maybe it should have its own dedicated option in device config?