Blame SOURCES/0032-v2v-Turn-pnp_wait.exe-warning-into-a-debug-message.patch

61e9b3
From b04361528b04dc39368c1d90760e50fad63baa9f Mon Sep 17 00:00:00 2001
61e9b3
From: "Richard W.M. Jones" <rjones@redhat.com>
61e9b3
Date: Thu, 3 Dec 2020 10:14:08 +0000
61e9b3
Subject: [PATCH] v2v: Turn pnp_wait.exe warning into a debug message.
61e9b3
61e9b3
We've used virt-v2v for years in RHEL without pnp_wait and it's never
61e9b3
been an issue.  We don't need a warning here.
61e9b3
61e9b3
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1903960
61e9b3
(cherry picked from commit 834bea6931b49dc4b14ebe04fd0e0884290bfb78)
61e9b3
---
61e9b3
 v2v/convert_windows.ml | 4 ++--
61e9b3
 1 file changed, 2 insertions(+), 2 deletions(-)
61e9b3
61e9b3
diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml
61e9b3
index 4d844e2d..33fbd410 100644
61e9b3
--- a/v2v/convert_windows.ml
61e9b3
+++ b/v2v/convert_windows.ml
61e9b3
@@ -267,8 +267,8 @@ let convert (g : G.guestfs) inspect _ output rcaps static_ips =
61e9b3
     if Sys.file_exists tool_path then
61e9b3
       configure_wait_pnp tool_path
61e9b3
     else
61e9b3
-      warning (f_"%s is missing.  Firstboot scripts may conflict with PnP.")
61e9b3
-              tool_path;
61e9b3
+      debug (f_"%s is missing.  Firstboot scripts may conflict with PnP.")
61e9b3
+        tool_path;
61e9b3
 
61e9b3
     (* Install RHEV-APT only if appropriate for the output hypervisor. *)
61e9b3
     if output#install_rhev_apt then (
61e9b3
-- 
61e9b3
2.27.0
61e9b3