The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7293
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === At least on aarch64, core_id doesn't appear to be supported. So this will need more testing and potentially a different approach on some architectures. Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From e45d492839e3ddcffb034cfa6ff41de45e98b0bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Sat, 2 May 2020 15:31:42 -0400 Subject: [PATCH] lxd/qemu: Restrict NUMA layout to x86_64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At least on aarch64, core_id doesn't appear to be supported. So this will need more testing and potentially a different approach on some architectures. Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- lxd/instance/drivers/driver_qemu_templates.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lxd/instance/drivers/driver_qemu_templates.go b/lxd/instance/drivers/driver_qemu_templates.go index b2f8f9def5..b56e0a7238 100644 --- a/lxd/instance/drivers/driver_qemu_templates.go +++ b/lxd/instance/drivers/driver_qemu_templates.go @@ -155,6 +155,7 @@ sockets = "{{.cpuSockets}}" cores = "{{.cpuCores}}" threads = "{{.cpuThreads}}" +{{if eq .architecture "x86_64" -}} {{range $index, $element := .cpuNumaNodes}} [numa] type = "node" @@ -169,6 +170,7 @@ socket-id = "{{.socket}}" core-id = "{{.core}}" thread-id = "{{.thread}}" {{end}} +{{end}} `)) var qemuControlSocket = template.Must(template.New("qemuControlSocket").Parse(`
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel