diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-06-28 21:56:09 +0100 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2022-07-27 17:53:14 -0400 |
commit | b5e8e58d747c31af68ae353370cd3c2146fe0113 (patch) | |
tree | 434dab225c927558bca6485f898753ce249c7b67 /virtinst | |
parent | fec5fd84a7563f6c85455e4307650a893088f6ff (diff) | |
download | virt-manager-b5e8e58d747c31af68ae353370cd3c2146fe0113.tar.gz |
virtinst: include host capbilities in debug log
This is critical information when debugging many user problems.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'virtinst')
-rw-r--r-- | virtinst/connection.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/virtinst/connection.py b/virtinst/connection.py index 48eb3e24..cf36a6d5 100644 --- a/virtinst/connection.py +++ b/virtinst/connection.py @@ -104,8 +104,9 @@ class VirtinstConnection(object): def _get_caps(self): if not self._caps: - self._caps = Capabilities(self, - self._libvirtconn.getCapabilities()) + capsxml = self._libvirtconn.getCapabilities() + self._caps = Capabilities(self, capsxml) + log.debug("Fetched capabilities for %s: %s", self._uri, capsxml) return self._caps caps = property(_get_caps) |