[Pkg-libvirt-commits] [Git][libvirt-team/virt-manager][debian/sid] d/patches: drop upstream_hostdev-Fix-error-when-mdev-type_id-is-missing.patch

Pino Toscano (@pino) gitlab at salsa.debian.org
Thu May 9 08:34:50 BST 2024



Pino Toscano pushed to branch debian/sid at Libvirt Packaging Team / virt-manager


Commits:
418a1b38 by Pino Toscano at 2024-05-09T09:31:23+02:00
d/patches: drop upstream_hostdev-Fix-error-when-mdev-type_id-is-missing.patch

It is not needed when using libvirt 10.3.0, which fixed the underlying
issue.

Gbp-Dch: Ignore

- - - - -


2 changed files:

- debian/patches/series
- − debian/patches/upstream_hostdev-Fix-error-when-mdev-type_id-is-missing.patch


Changes:

=====================================
debian/patches/series
=====================================
@@ -1,4 +1,3 @@
 upstream_tests-data-refresh-Fedora-tree-URLs-in-virt-install-.patch
 upstream_tests-cli-Adjust-hotplug-test-for-latest-libvirt.patch
 upstream_tests-Fix-host-copy-XML-with-libvirt-10.1.0.patch
-upstream_hostdev-Fix-error-when-mdev-type_id-is-missing.patch


=====================================
debian/patches/upstream_hostdev-Fix-error-when-mdev-type_id-is-missing.patch deleted
=====================================
@@ -1,28 +0,0 @@
-From dce9de481fde5919dca6f75074223af32b48bac1 Mon Sep 17 00:00:00 2001
-From: Cole Robinson <crobinso at redhat.com>
-Date: Sat, 6 Apr 2024 15:54:09 -0400
-Subject: [PATCH] hostdev: Fix error when mdev type_id is missing
-
-Signed-off-by: Cole Robinson <crobinso at redhat.com>
----
- virtinst/devices/hostdev.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/virtinst/devices/hostdev.py b/virtinst/devices/hostdev.py
-index cc10e5bf..41f06327 100644
---- a/virtinst/devices/hostdev.py
-+++ b/virtinst/devices/hostdev.py
-@@ -70,8 +70,8 @@ class DeviceHostdev(Device):
-                 self.model = "vfio-ap"
-                 self.managed = "no"
- 
--            elif (re.match("^nvidia-[0-9]{2}", nodedev.type_id) or
--                  re.match("^i915-GVTg_V[0-9]_[0-9]", nodedev.type_id)):
-+            elif (re.match("^nvidia-[0-9]{2}", nodedev.type_id or "") or
-+                  re.match("^i915-GVTg_V[0-9]_[0-9]", nodedev.type_id or "")):
-                 self.model = "vfio-pci"
-                 self.managed = "yes"
-                 self.display = "off"
--- 
-2.43.0
-



View it on GitLab: https://salsa.debian.org/libvirt-team/virt-manager/-/commit/418a1b386c3e1209fb016537d52dfb5e5341c3be

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/virt-manager/-/commit/418a1b386c3e1209fb016537d52dfb5e5341c3be
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20240509/d269fb3a/attachment-0001.htm>


More information about the Pkg-libvirt-commits mailing list