Переглянути джерело

vm: Remove reference to old libvirt config template

This file isn't installed anymore
Marek Marczykowski-Górecki 8 роки тому
батько
коміт
8da7416f30
2 змінених файлів з 0 додано та 8 видалено
  1. 0 4
      qubes/vm/__init__.py
  2. 0 4
      qubes/vm/qubesvm.py

+ 0 - 4
qubes/vm/__init__.py

@@ -403,10 +403,6 @@ class BaseVM(qubes.PropertyHolder):
         #     conf_appvm.close()
         #     return domain_config
 
-        f_conf_template = open(self.config_file_template, 'r')
-        conf_template = f_conf_template.read()
-        f_conf_template.close()
-
         domain_config = self.app.env.get_template('libvirt/xen.xml').render(
             vm=self, prepare_dvm=prepare_dvm)
 

+ 0 - 4
qubes/vm/qubesvm.py

@@ -288,10 +288,6 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
     # static, class-wide properties
     #
 
-    # config file should go away to storage/backend class
-    #: template for libvirt config file (XML)
-    config_file_template = qubes.config.system_path["config_template_pv"]
-
     #
     # properties not loaded from XML, calculated at run-time
     #