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

cannot bind memory to host NUMA nodes: Operation not permitted #6

Closed
mikk150 opened this issue Apr 30, 2020 · 3 comments · Fixed by #9
Closed

cannot bind memory to host NUMA nodes: Operation not permitted #6

mikk150 opened this issue Apr 30, 2020 · 3 comments · Fixed by #9

Comments

@mikk150
Copy link

mikk150 commented Apr 30, 2020

docker logs

+ exec qemu-system-x86_64 -enable-kvm -smp 2 -m 4096 -drive file=/tmp/hda.qcow2,index=0,media=disk,discard=unmap,detect-zeroes=unmap,if=none,id=hda -device virtio-scsi-pci -device scsi-hd,drive=hda -cdrom /tmp/virtio-win.iso -netdev user,hostname=66abbd34151f,hostfwd=tcp::22-:22,hostfwd=udp::22-:22,hostfwd=tcp::5555-:5555,hostfwd=udp::5555-:5555,hostfwd=tcp::4444-:4444,hostfwd=udp::4444-:4444,id=net -device virtio-net-pci,netdev=net -vnc :0 -serial stdio -bios /tmp/OVMF.fd -usbdevice tablet -smp 2
qemu-system-x86_64: -usbdevice tablet: '-usbdevice' is deprecated, please use '-device usb-...' instead
qemu-system-x86_64: cannot bind memory to host NUMA nodes: Operation not permitted
@mikk150
Copy link
Author

mikk150 commented Apr 30, 2020

I think I figured it out, needed to add sys_nice capability

@tianon
Copy link
Owner

tianon commented Apr 30, 2020

Nice! It's also possible you need some additional bits in your seccomp profile for things like NUMA but if adding SYS_NICE is enough that's certainly easier! 👍

@tianon
Copy link
Owner

tianon commented May 26, 2020

As discovered/discussed over in #7, this is something upstream has merged a fix for (AFAIK, targeting the next stable release of 5.x; ehabkost/qemu@08ec0d4), so I'm reopening this to track backporting that patch. 🎉 👍

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

Successfully merging a pull request may close this issue.

2 participants