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