Should there be a way to suppress errors using the flags?

 error : qemuDomainAgentAvailable:8411 : Guest agent is not responding: QEMU guest agent is not connected


Or is there a libvirt function to check connection status or another way?