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

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