ia64/xen-unstable

changeset 19339:8ecf3ecc888e

Fix xenstore permissions for Solaris domUs.

Solaris domUs use hvmpv/ and guest/ frontend xenstore directories.

Signed-off-by: John Levon <john.levon@sun.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Mar 12 11:14:22 2009 +0000 (2009-03-12)
parents 55652fa65974
children dc5441bf3ddc
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Thu Mar 12 11:12:43 2009 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Thu Mar 12 11:14:22 2009 +0000
     1.3 @@ -1495,7 +1495,8 @@ class XendDomainInfo:
     1.4          t.mkdir()
     1.5          t.set_permissions({'dom' : self.domid, 'read' : True})
     1.6          t.write('vm', self.vmpath)
     1.7 -        for i in [ 'device', 'control', 'error', 'memory' ]:
     1.8 +        # NB. Solaris guests use guest/ and hvmpv/ xenstore directories
     1.9 +        for i in [ 'device', 'control', 'error', 'memory', 'guest', 'hvmpv' ]:
    1.10              t.mkdir(i)
    1.11              t.set_permissions(i, {'dom' : self.domid})
    1.12