Blame SOURCES/0039-v2v-windows-Allow-qxldod.inf-as-synonym-for-qxl.inf.patch

7ed5e3
From 575cb719ceb56d5f1812b6580f3a181bd95f5030 Mon Sep 17 00:00:00 2001
7ed5e3
From: "Richard W.M. Jones" <rjones@redhat.com>
7ed5e3
Date: Tue, 27 Apr 2021 17:29:42 +0100
7ed5e3
Subject: [PATCH] v2v: windows: Allow qxldod.inf as synonym for qxl.inf
7ed5e3
7ed5e3
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1926102
7ed5e3
Thanks: Xiaodai Wang, Ming Xie
7ed5e3
(cherry picked from commit 11d1f3cd6878ae7713e589194f97526f744dc090)
7ed5e3
---
7ed5e3
 v2v/windows_virtio.ml | 4 +++-
7ed5e3
 1 file changed, 3 insertions(+), 1 deletion(-)
7ed5e3
7ed5e3
diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml
7ed5e3
index 4e00cd61..b8256bad 100644
7ed5e3
--- a/v2v/windows_virtio.ml
7ed5e3
+++ b/v2v/windows_virtio.ml
7ed5e3
@@ -155,7 +155,9 @@ let rec install_drivers ((g, _) as reg) inspect rcaps =
7ed5e3
 
7ed5e3
     (* Can we install the QXL driver? *)
7ed5e3
     let video : guestcaps_video_type =
7ed5e3
-      let has_qxl = g#exists (driverdir // "qxl.inf") in
7ed5e3
+      let has_qxl =
7ed5e3
+        g#exists (driverdir // "qxl.inf") ||
7ed5e3
+        g#exists (driverdir // "qxldod.inf") in
7ed5e3
       match rcaps.rcaps_video, has_qxl with
7ed5e3
       | Some QXL, false ->
7ed5e3
         error (f_"there is no QXL driver for this version of Windows (%d.%d %s).  virt-v2v looks for this driver in %s")
7ed5e3
-- 
e21fe6
2.31.1
7ed5e3