]> git.ipfire.org Git - thirdparty/lxc.git/commit
conf: handle kernels without or not using SMT
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 23 Oct 2021 17:15:24 +0000 (19:15 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 25 Oct 2021 14:17:40 +0000 (16:17 +0200)
commite328a988e038724450dd64d8510dd16e5fda8ea5
tree11f9c78ef27629549ffc63937028bcbfbeaa1bcb
parentd40b0deb45e35ba6f1996a0a48c265271b30ce6e
conf: handle kernels without or not using SMT

On kernel not enabling or not using SMT core scheduling will return with
ENODEV. Handle such kernels.

Link: https://github.com/lxc/lxd/issues/9419
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/attach.c
src/lxc/start.c
src/lxc/syscall_wrappers.h