From ec17f7d3299c3d9f4978b69af063984052451475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 29 Jul 2013 03:56:33 +0200 Subject: [PATCH] core/xen: setup xen-specific defaults in separate settings file --- core/settings-xen-Linux.py | 8 ++++++++ rpm_spec/core-dom0.spec | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 core/settings-xen-Linux.py diff --git a/core/settings-xen-Linux.py b/core/settings-xen-Linux.py new file mode 100644 index 00000000..de5084f5 --- /dev/null +++ b/core/settings-xen-Linux.py @@ -0,0 +1,8 @@ +#!/usr/bin/python2 + +from __future__ import absolute_import + +from qubes.storage.xen import QubesXenVmStorage + +def apply(system_path, vm_files, defaults): + defaults['storage_class'] = QubesXenVmStorage diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 39970711..3fdb2ca1 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -200,6 +200,9 @@ fi %{python_sitearch}/qubes/storage/*.py %{python_sitearch}/qubes/storage/*.pyc %{python_sitearch}/qubes/storage/*.pyo +%{python_sitearch}/qubes/settings.py +%{python_sitearch}/qubes/settings.pyc +%{python_sitearch}/qubes/settings.pyo %{python_sitearch}/qubes/qmemman*.py* %{python_sitearch}/qubes/modules/0*.py* %{python_sitearch}/qubes/modules/__init__.py*