From e3b54f36d1cf2010238a9e49d2a5082c5b823979 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 12 Sep 2014 09:12:10 -0400 Subject: [PATCH 4/4] domain: Prime the XML cache when object is created (cherry picked from commit 1cf4671f851ba054bbb527859c8890b2af250f2b) --- virtManager/domain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/virtManager/domain.py b/virtManager/domain.py index 9c3699f..864c591 100644 --- a/virtManager/domain.py +++ b/virtManager/domain.py @@ -362,7 +362,8 @@ class vmmDomain(vmmLibvirtObject): self.force_update_status(from_event=True, log=False) - # Cache managed save value + # Prime caches + self.refresh_xml() self.has_managed_save() # Hook up listeners that need to be cleaned up -- 1.9.3