dom0: expose debug mode in xenstore (#567)

This commit is contained in:
Marek Marczykowski 2012-05-22 15:51:09 +02:00
parent 987a490179
commit 3d783f7fa3

View File

@ -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 }])