The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7847

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) ===
Despite max and host supposedly being equivalent when in KVM mode, on a
limited number of platforms, host fails to fallback to 2 when no kernel
irqchip support is detected whereas max will properly select 2 in such
cases.

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 30615ded7ed09501388b14c52e52855dc9173786 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Tue, 8 Sep 2020 10:17:17 -0400
Subject: [PATCH] lxd/drivers/qemu: Use gic-version=max on aarch64
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Despite max and host supposedly being equivalent when in KVM mode, on a
limited number of platforms, host fails to fallback to 2 when no kernel
irqchip support is detected whereas max will properly select 2 in such
cases.

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 lxd/instance/drivers/driver_qemu_templates.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/instance/drivers/driver_qemu_templates.go 
b/lxd/instance/drivers/driver_qemu_templates.go
index db11794313..59a043c128 100644
--- a/lxd/instance/drivers/driver_qemu_templates.go
+++ b/lxd/instance/drivers/driver_qemu_templates.go
@@ -14,7 +14,7 @@ type = "q35"
 {{end -}}
 {{if eq .architecture "aarch64" -}}
 type = "virt"
-gic-version = "host"
+gic-version = "max"
 {{end -}}
 {{if eq .architecture "ppc64le" -}}
 type = "pseries"
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to