qubes/vm: fix handling "None" kernel

The "None" value still makes sense for HVM domains.
This commit is contained in:
Marek Marczykowski-Górecki 2016-03-15 21:18:43 +01:00 committed by Wojtek Porczyk
parent a02f7a30fc
commit 15e032cddb

View File

@ -98,6 +98,8 @@ def _setter_name(self, prop, value):
def _setter_kernel(self, prop, value):
# pylint: disable=unused-argument
if value is None:
return value
value = str(value)
dirname = os.path.join(
qubes.config.system_path['qubes_base_dir'],