From 5001b7c9d71610ea9267a7b07c3625956f51978a Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Wed, 20 Apr 2011 01:01:38 +0200 Subject: [PATCH] Save VM updatable state in qubes_vm_updateable --- dom0/qvm-core/qubes.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 514deda6..4c2a232b 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -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",