Conversation
|
FYI, I left a TODO in #130 about moving an env var to the muvm-guest config. If that gets merged first, please make that change too as part of the last commit here when you rebase. |
320d463 to
fd4381d
Compare
It is in the way for a refactor i want to do, and you should be using x11bridge anyway. Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
9b974f5 to
f614c5f
Compare
|
Needs clippy fixes (probably just an |
We can keep the root uid in our saved set user id, and copy it to ruid/euid after fork, if launching as root is requested. Writing to drop_caches becomes a bit tricker when running unprivileged, but we can acquire the privileges in a forked process for it to work and not affect other launches. Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
We no longer need the server to be a separate binary. Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
f614c5f to
75aceea
Compare
75aceea to
c9a0c7a
Compare
|
Ah, thanks, it works headless again. It's also a bit faster now. Tried with #111, without these commits: with: By the way: ...not really substantial. Edit: ...neat, this. |
|
Whee, it comes with |
|
It being a tiny bit faster is expected (exec is not free), but is not the reason for those changes. |
c9a0c7a to
f1da8f3
Compare
|
LGTM. I think we can merge this one once @teohhanhui suggestion is addressed. |
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
I keep forgetting this syntax exists, and other maintainers seem to be fond of it. Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
f1da8f3 to
1de6769
Compare
|
@teohhanhui do you have any other concerns before merging this one? |
| let gl_env = env::var("LIBGL_DRIVERS_PATH").ok(); | ||
|
|
||
| let mut cmd = Command::new(sommelier_path); | ||
| cmd.args([ |
There was a problem hiding this comment.
This comment is only for whoever still doing some testing with it for wayland passthrough ; )
It doesn't matter now since the code here has been long gone, but --enable-linux-dmabuf is missed as it's required since mesa has stripped the legacy wl-drm. For historical reasons, we didn't make it default enabled and later forgot about it. Sorry about that xD
Anyway, nice move here for x11 pasthrough!
Merge all guest binaries into one binary and process. This removes sommelier support, but people should use x11bridge anyway. Also stop leaking muvm configuration into vm processes.