Blame SOURCES/virt-manager-domain-Prime-the-XML-cache-when-object-is-created.patch

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