mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xend: Allow guest write access to /local/domain/x/memory
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>
This commit is contained in:
1 parent
4b52a38711
commit
ac4148f219
1 file changed
+1
-1
@@ -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})
|
||||
|
||||
|
||||