diff options
author | Cole Robinson <crobinso@redhat.com> | 2020-01-14 14:21:30 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2020-01-14 14:21:30 -0500 |
commit | af3d678bddcc5608a9c7052aa6f3e4379b0af425 (patch) | |
tree | c68de02ea40efc90c633cc2c0de00d16a5c184e2 | |
parent | b7a223030be80c797d22fff71e2ed72e793dafed (diff) | |
download | virt-manager-af3d678bddcc5608a9c7052aa6f3e4379b0af425.tar.gz |
domain: Only log once about waiting for qemu agent for set_time
Rather than one every wait period, which spams the debug logs
Signed-off-by: Cole Robinson <crobinso@redhat.com>
-rw-r--r-- | virtManager/object/domain.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/virtManager/object/domain.py b/virtManager/object/domain.py index f9be9517..b510ae8d 100644 --- a/virtManager/object/domain.py +++ b/virtManager/object/domain.py @@ -243,7 +243,8 @@ class _vmmDomainSetTimeThread(vmmGObject): # for it to come online now. waited = 0 while waited < self._maxwait and not self._domain.agent_ready(): - log.debug("Waiting for qemu guest agent to come online...") + if waited == 0: + log.debug("Waiting for qemu guest agent to come online...") # sleep some time and potentially abort if self._do_cancel.wait(self._sleep): |