[libvirt] [PATCH 1/4] virWaitForDevices: Drop untrue part of comment

Michal Privoznik mprivozn at redhat.com
Fri May 17 09:54:14 UTC 2019


It's not true that there is a backup loop. There isn't. Drop this
part of the comment to not confuse anybody.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 src/util/virutil.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/util/virutil.c b/src/util/virutil.c
index e5917d33de..6123741756 100644
--- a/src/util/virutil.c
+++ b/src/util/virutil.c
@@ -1495,8 +1495,6 @@ void virWaitForDevices(void)
     /*
      * NOTE: we ignore errors here; this is just to make sure that any device
      * nodes that are being created finish before we try to scan them.
-     * If this fails for any reason, we still have the backup of polling for
-     * 5 seconds for device nodes.
      */
     ignore_value(virRun(settleprog, &exitstatus));
 }
-- 
2.21.0




More information about the libvir-list mailing list