dom0: expose debug mode in xenstore (#567)

This commit is contained in:
Marek Marczykowski 2012-05-22 15:51:09 +02:00
parent 659dec044f
commit b87806db17

View File

@ -848,6 +848,9 @@ class QubesVm(object):
"{0}/qubes-block-devices".format(domain_path),
'')
xs.write('', "{0}/qubes-debug-mode".format(domain_path),
str(int(self.debug)))
# Fix permissions
xs.set_permissions('', '{0}/device'.format(domain_path),
[{ 'dom': xid }])