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

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