Skip to content
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

vhost PID detection does not work on kernel >=6.4 #4

Open
ycongal-smile opened this issue Oct 11, 2024 · 1 comment
Open

vhost PID detection does not work on kernel >=6.4 #4

ycongal-smile opened this issue Oct 11, 2024 · 1 comment

Comments

@ycongal-smile
Copy link
Contributor

ycongal-smile commented Oct 11, 2024

Since kernel v6.4 ("Merge tag 'v6.4/kernel.user_worker' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux" in particular), vhost is not kthread anymore but a "User worker" (thread spawn by the kernel from the qemu process).

ps/pgrep will only display this kind of threads with the "user thread" options (ps -T/pgrep -w) so the get_pid() function does not work in this case and will need an update.

SEAPATH debian stable is still on v6.1 but this can be easily tested with a backport kernel (v6.5 as of now)

@Paullgk
Copy link
Member

Paullgk commented Oct 30, 2024

Hello Yoann,
We are aware of this modification, documentation will be updated to add this limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants