dom0: expose debug mode in xenstore (#567)
This commit is contained in:
parent
987a490179
commit
3d783f7fa3
@ -840,6 +840,9 @@ class QubesVm(object):
|
|||||||
"{0}/qubes-block-devices".format(domain_path),
|
"{0}/qubes-block-devices".format(domain_path),
|
||||||
'')
|
'')
|
||||||
|
|
||||||
|
xs.write('', "{0}/qubes-debug-mode".format(domain_path),
|
||||||
|
str(int(self.debug)))
|
||||||
|
|
||||||
# Fix permissions
|
# Fix permissions
|
||||||
xs.set_permissions('', '{0}/device'.format(domain_path),
|
xs.set_permissions('', '{0}/device'.format(domain_path),
|
||||||
[{ 'dom': xid }])
|
[{ 'dom': xid }])
|
||||||
|
Loading…
Reference in New Issue
Block a user