qubes/vm: fix handling "None" kernel
The "None" value still makes sense for HVM domains.
This commit is contained in:
parent
a02f7a30fc
commit
15e032cddb
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user