Save VM updatable state in qubes_vm_updateable

This commit is contained in:
Tomasz Sterna 2011-04-20 01:01:38 +02:00
parent 47fea4258c
commit 5001b7c9d7

View File

@ -553,6 +553,11 @@ class QubesVm(object):
"/local/domain/{0}/qubes_vm_type".format(xid),
self.type])
retcode = subprocess.check_call ([
"/usr/bin/xenstore-write",
"/local/domain/{0}/qubes_vm_updateable".format(xid),
str(self.updateable)])
if self.is_netvm():
retcode = subprocess.check_call ([
"/usr/bin/xenstore-write",