core/hvm: remove xenstore code
QubesDB does not require setting up directory (and permissions), so just remove the function.
This commit is contained in:
parent
89f8f219bf
commit
4e26588bb3
@ -434,26 +434,6 @@ class QubesHVm(QubesVm):
|
||||
|
||||
self.run_service("qubes.SetGuiMode", input=service_input)
|
||||
|
||||
def create_xenstore_entries(self, xid = None):
|
||||
if dry_run:
|
||||
return
|
||||
|
||||
super(QubesHVm, self).create_xenstore_entries(xid)
|
||||
|
||||
if xid is None:
|
||||
xid = self.xid
|
||||
|
||||
domain_path = xs.get_domain_path(xid)
|
||||
|
||||
# Prepare xenstore directory for tools advertise
|
||||
xs.write('',
|
||||
"{0}/qubes-tools".format(domain_path),
|
||||
'')
|
||||
|
||||
# Allow VM writes there
|
||||
xs.set_permissions('', '{0}/qubes-tools'.format(domain_path),
|
||||
[{ 'dom': xid }])
|
||||
|
||||
def _cleanup_zombie_domains(self):
|
||||
super(QubesHVm, self)._cleanup_zombie_domains()
|
||||
if not self.is_running():
|
||||
|
Loading…
Reference in New Issue
Block a user