40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
From 129bc32090c147fe7239d137c17b1bee2d817024 Mon Sep 17 00:00:00 2001
|
|
Message-Id: <129bc32090c147fe7239d137c17b1bee2d817024@dist-git>
|
|
From: Pavel Hrdina <phrdina@redhat.com>
|
|
Date: Thu, 3 Oct 2019 10:44:52 +0200
|
|
Subject: [PATCH] domcapabilities: Get video devices
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
From: Fabiano Fidêncio <fidencio@redhat.com>
|
|
|
|
domcapabilities already handles disk and hostdev. Let's add support for
|
|
getting video devices as well.
|
|
|
|
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
|
|
(cherry picked from commit 1547e16d62736c861a0e4dadeb86ef372d2698bd)
|
|
|
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1753644
|
|
|
|
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
|
|
---
|
|
virtinst/domcapabilities.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/virtinst/domcapabilities.py b/virtinst/domcapabilities.py
|
|
index f11f18aa..9cc27bc2 100644
|
|
--- a/virtinst/domcapabilities.py
|
|
+++ b/virtinst/domcapabilities.py
|
|
@@ -95,6 +95,7 @@ class _Devices(_CapsBlock):
|
|
XML_NAME = "devices"
|
|
hostdev = XMLChildProperty(_make_capsblock("hostdev"), is_single=True)
|
|
disk = XMLChildProperty(_make_capsblock("disk"), is_single=True)
|
|
+ video = XMLChildProperty(_make_capsblock("video"), is_single=True)
|
|
|
|
|
|
class _Features(_CapsBlock):
|
|
--
|
|
2.23.0
|
|
|