]> git.pld-linux.org Git - packages/xen.git/blob - xend.empty.xml.patch
- xend configuration tweaks, don't need relocation enabled by default,
[packages/xen.git] / xend.empty.xml.patch
1 http://lists.xensource.com/archives/html/xen-devel/2011-11/msg00218.html
2
3 diff -r 54a5e994a241 -r 76391f599433 tools/python/xen/xend/XendStateStore.py
4 --- a/tools/python/xen/xend/XendStateStore.py   Wed Nov 02 17:09:09 2011 +0000
5 +++ b/tools/python/xen/xend/XendStateStore.py   Thu Nov 03 12:02:44 2011 -0400
6 @@ -101,6 +101,9 @@ class XendStateStore:
7          if not os.path.exists(xml_path):
8              return {}
9  
10 +        if not os.path.getsize(xml_path) == 0:
11 +            return {}
12 +
13          dom = minidom.parse(xml_path)
14          root = dom.documentElement
15          state = {}
This page took 0.068156 seconds and 3 git commands to generate.