From be389bddb9dba76c644dec0ed83f105c8ee7eb05 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 28 Jul 2012 01:39:59 +0200 Subject: [PATCH] dom0/core: allow custom kernel for non-updateable VMs --- dom0/qvm-core/qubes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 0fd7df6f..2fb702b7 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -905,7 +905,7 @@ class QubesVm(object): args['volatiledev'] = "'script:file:{dir}/volatile.img,xvdc,w',".format(dir=self.dir_path) if hasattr(self, 'kernel'): modulesmode='r' - if self.updateable and self.kernel is None: + if self.kernel is None: modulesmode='w' args['otherdevs'] = "'script:file:{dir}/modules.img,xvdd,{mode}',".format(dir=self.kernels_dir, mode=modulesmode) if hasattr(self, 'kernelopts'):