]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/start.c
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>
Sat, 23 Oct 2021 17:23:06 +0000 (19:23 +0200)
commitf3d90fca4a51ba42bd788bd696f2521f05b5ca76
tree043b58190e21f969da8960e3d411f82e3815dbef
parent0cbc89cef74cbb265a49aa6a1761fe68db8e6ab0
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