aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/virsh.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/virsh.py b/sos/plugins/virsh.py
index 4b6bcc0f..0381b398 100644
--- a/sos/plugins/virsh.py
+++ b/sos/plugins/virsh.py
@@ -41,6 +41,7 @@ class LibvirtClient(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
if domains_file:
domains_lines = open(domains_file, "r").read().splitlines()[2:]
for domain in filter(lambda x: x, domains_lines):
- self.add_cmd_output("virsh dumpxml %s" % domain.split()[1])
+ self.add_cmd_output("virsh -r dumpxml %s" % domain.split()[1],
+ timeout=180)
# vim: et ts=4 sw=4