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

[core-kit] [kernel] We need to turn on MEMCG_V1 support in sys-kernel/debian-sources for our old qemu #212

Open
cuantar opened this issue Nov 16, 2024 · 0 comments

Comments

@cuantar
Copy link

cuantar commented Nov 16, 2024

Our aged QEMU expects CONFIG_MEMCG_V1=y, but the debian-sources kernel config does not turn it on. The issue can be fixed by enabling that option in the ebuild, using the function that exists for that purpose. The symptom is that libvirt VMs don't start, because the expected memgroup-v1 facility doesn't exist, so there isn't a dir for it where there should be.

Now that things are working again, the exact error message is lost (it doesn't get logged), but it's something like "No such file or directory" for a path like /sys/fs/cgroup/memory/machine/qemu-8-v0.libvirt-qemu/memory.use_hierarchy.

(It seems CONFIG_MEMCG_V1 is a new kconfig option in linux-6.11)

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

1 participant