[lxc-devel] [lxd/master] lxd/vm: Remove default GPU

stgraber on Github lxc-bot at linuxcontainers.org
Thu Dec 5 17:59:52 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 589 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20191205/2431a838/attachment.bin>
-------------- next part --------------
From 6cebc57819cb5109d4594fd4485f9260dd82de03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 5 Dec 2019 12:59:00 -0500
Subject: [PATCH] lxd/vm: Remove default GPU
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The GPU isn't really useful in most cases and when it is useful, some
flexibility around the type of GPU being passed would be good.

So I think we should instead implement the "gpu" device type rather than
have one by default.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 lxd/vm_qemu.go | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lxd/vm_qemu.go b/lxd/vm_qemu.go
index 284ef6df37..973483ac2c 100644
--- a/lxd/vm_qemu.go
+++ b/lxd/vm_qemu.go
@@ -1052,10 +1052,6 @@ driver = "virtio-scsi-pci"
 bus = "qemu_pcie1"
 addr = "0x0"
 
-# Graphics card
-[device]
-driver = "virtio-gpu"
-
 # Balloon driver
 [device "qemu_pcie2"]
 driver = "pcie-root-port"


More information about the lxc-devel mailing list