mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
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>
This commit is contained in:
parent
b7a223030b
commit
af3d678bdd
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user