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

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) ===
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From dff8bbd33d5ca13eadb057df3e08ad9286749b46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Thu, 30 Jan 2020 12:43:42 -0500
Subject: [PATCH] lxd/vm: Don't specify addresses for pci on ppc64
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

diff --git a/lxd/instance/drivers/driver_qemu_templates.go 
b/lxd/instance/drivers/driver_qemu_templates.go
index a70130f8aa..6567a474b0 100644
--- a/lxd/instance/drivers/driver_qemu_templates.go
+++ b/lxd/instance/drivers/driver_qemu_templates.go
@@ -65,7 +65,6 @@ addr = "0x2"
 driver = "virtio-scsi-pci"
 {{if eq .architecture "ppc64le" -}}
 bus = "pci.0"
-addr = "0x2"
 {{else -}}
 bus = "qemu_pcie1"
 addr = "0x0"
@@ -85,7 +84,6 @@ addr = "0x2.0x1"
 driver = "virtio-balloon-pci"
 {{if eq .architecture "ppc64le" -}}
 bus = "pci.0"
-addr = "0x2.0x1"
 {{else -}}
 bus = "qemu_pcie2"
 addr = "0x0"
@@ -110,7 +108,6 @@ driver = "virtio-rng-pci"
 rng = "qemu_rng"
 {{if eq .architecture "ppc64le" -}}
 bus = "pci.0"
-addr = "0x2.0x2"
 {{else -}}
 bus = "qemu_pcie3"
 addr = "0x0"
@@ -143,7 +140,6 @@ driver = "vhost-vsock-pci"
 guest-cid = "{{.vsockID}}"
 {{if eq .architecture "ppc64le" -}}
 bus = "pci.0"
-addr = "0x2.0x3"
 {{else -}}
 bus = "qemu_pcie4"
 addr = "0x0"
@@ -238,7 +234,6 @@ netdev = "lxd_{{.devName}}"
 mac = "{{.devHwaddr}}"
 {{if eq .architecture "ppc64le" -}}
 bus = "pci.0"
-addr = "0x2.0x{{.pcieAddr}}"
 {{else -}}
 bus = "qemu_pcie{{.chassisIndex}}"
 addr = "0x0"
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to