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

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 91221d7533f30ee6b585cb4fa4c16888ad8cb205 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Wed, 25 Nov 2020 13:40:32 -0500
Subject: [PATCH] lxd/instance/qemu: Fix GPU passthrough
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.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxd/instance/drivers/driver_qemu.go 
b/lxd/instance/drivers/driver_qemu.go
index e0b1378f4a..5bddefb8ba 100644
--- a/lxd/instance/drivers/driver_qemu.go
+++ b/lxd/instance/drivers/driver_qemu.go
@@ -2366,6 +2366,7 @@ func (d *qemu) addGPUDevConfig(sb *strings.Builder, bus 
*qemuBus, gpuConfig []de
                                        "devName":     fmt.Sprintf("%s_%s", 
devName, devAddr),
                                        "pciSlotName": iommuSlotName,
                                        "vga":         false,
+                                       "vgpu":        "",
                                }
 
                                err := qemuGPUDevPhysical.Execute(sb, tplFields)
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to