projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b52a38
)
xend: Allow guest write access to /local/domain/x/memory
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 3 Oct 2008 08:37:35 +0000
(09:37 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 3 Oct 2008 08:37:35 +0000
(09:37 +0100)
Required for xenballoond, and tools do not need to trust any values
written in that subdirectory.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index da1cd824854c6f41fdd62685ca60fd0c982d66a1..77b2598b1c9892230ae13b10f6c8a3f4f8b21b3c 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-1303,7
+1303,7
@@
class XendDomainInfo:
t.mkdir()
t.set_permissions({'dom' : self.domid, 'read' : True})
t.write('vm', self.vmpath)
- for i in [ 'device', 'control', 'error' ]:
+ for i in [ 'device', 'control', 'error'
, 'memory'
]:
t.mkdir(i)
t.set_permissions(i, {'dom' : self.domid})