[lxc-devel] [lxd/master] lxd/vm: Fix bad bus name on ppc64el
stgraber on Github
lxc-bot at linuxcontainers.org
Thu Jan 30 17:31:31 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200130/a2163c2f/attachment.bin>
-------------- next part --------------
From 585df7b2ec6ef1c7425885fe5b05c8ab3acd88e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 30 Jan 2020 12:31:13 -0500
Subject: [PATCH] lxd/vm: Fix bad bus name on ppc64el
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
lxd/instance/drivers/driver_qemu_templates.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lxd/instance/drivers/driver_qemu_templates.go b/lxd/instance/drivers/driver_qemu_templates.go
index 030432c35c..a70130f8aa 100644
--- a/lxd/instance/drivers/driver_qemu_templates.go
+++ b/lxd/instance/drivers/driver_qemu_templates.go
@@ -64,7 +64,7 @@ addr = "0x2"
[device "qemu_scsi"]
driver = "virtio-scsi-pci"
{{if eq .architecture "ppc64le" -}}
-bus = pci.0
+bus = "pci.0"
addr = "0x2"
{{else -}}
bus = "qemu_pcie1"
@@ -84,7 +84,7 @@ addr = "0x2.0x1"
[device "qemu_ballon"]
driver = "virtio-balloon-pci"
{{if eq .architecture "ppc64le" -}}
-bus = pci.0
+bus = "pci.0"
addr = "0x2.0x1"
{{else -}}
bus = "qemu_pcie2"
More information about the lxc-devel
mailing list