mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
details: Don't poll XML if using domain events
This commit is contained in:
parent
e0381cc970
commit
e42835b0ff
@ -2379,7 +2379,7 @@ class vmmDetails(vmmGObjectUI):
|
||||
# If the dialog is visible, we want to make sure the XML is always
|
||||
# up to date
|
||||
try:
|
||||
if self.is_visible():
|
||||
if self.is_visible() and not self.conn.using_domain_events:
|
||||
self.vm.refresh_xml()
|
||||
except libvirt.libvirtError, e:
|
||||
if util.exception_is_libvirt_error(e, "VIR_ERR_NO_DOMAIN"):
|
||||
|
Loading…
Reference in New Issue
Block a user