render / rpms / libvirt

Forked from rpms/libvirt 9 months ago
Clone
Pablo Greco 40546a
From a72b338a9127075ea9ededcdc201dc87b65fe731 Mon Sep 17 00:00:00 2001
Pablo Greco 40546a
Message-Id: <a72b338a9127075ea9ededcdc201dc87b65fe731@dist-git>
Pablo Greco 40546a
From: Michal Privoznik <mprivozn@redhat.com>
Pablo Greco 40546a
Date: Thu, 27 Jun 2019 15:55:36 +0200
Pablo Greco 40546a
Subject: [PATCH] virWaitForDevices: Drop confusing part of comment
Pablo Greco 40546a
MIME-Version: 1.0
Pablo Greco 40546a
Content-Type: text/plain; charset=UTF-8
Pablo Greco 40546a
Content-Transfer-Encoding: 8bit
Pablo Greco 40546a
Pablo Greco 40546a
It's not true that there is a backup loop. There isn't. Drop this
Pablo Greco 40546a
part of the comment to not confuse anybody.
Pablo Greco 40546a
Pablo Greco 40546a
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Pablo Greco 40546a
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Pablo Greco 40546a
(cherry picked from commit 0cabcd98f1ef82588016a692afbe5a47a4a0b42e)
Pablo Greco 40546a
Pablo Greco 40546a
https://bugzilla.redhat.com/show_bug.cgi?id=1710575
Pablo Greco 40546a
Pablo Greco 40546a
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Pablo Greco 40546a
Message-Id: <3faa00d11315ede9c72b32b1aa1f8797e1638dfe.1561643698.git.mprivozn@redhat.com>
Pablo Greco 40546a
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Pablo Greco 40546a
---
Pablo Greco 40546a
 src/util/virutil.c | 2 --
Pablo Greco 40546a
 1 file changed, 2 deletions(-)
Pablo Greco 40546a
Pablo Greco 40546a
diff --git a/src/util/virutil.c b/src/util/virutil.c
Pablo Greco 40546a
index 88e17e2c0f..d37c1ac632 100644
Pablo Greco 40546a
--- a/src/util/virutil.c
Pablo Greco 40546a
+++ b/src/util/virutil.c
Pablo Greco 40546a
@@ -1637,8 +1637,6 @@ void virWaitForDevices(void)
Pablo Greco 40546a
     /*
Pablo Greco 40546a
      * NOTE: we ignore errors here; this is just to make sure that any device
Pablo Greco 40546a
      * nodes that are being created finish before we try to scan them.
Pablo Greco 40546a
-     * If this fails for any reason, we still have the backup of polling for
Pablo Greco 40546a
-     * 5 seconds for device nodes.
Pablo Greco 40546a
      */
Pablo Greco 40546a
     ignore_value(virRun(settleprog, &exitstatus));
Pablo Greco 40546a
 }
Pablo Greco 40546a
-- 
Pablo Greco 40546a
2.22.0
Pablo Greco 40546a