Revert part of "core: remove kernel properties from DispVM and Dom0 (#948)"

This reverts DispVM part of commit 72cf3a8201.
This commit is contained in:
Marek Marczykowski-Górecki 2015-02-09 22:28:39 +01:00
parent 726d5686ac
commit e67e9a4be1

View File

@ -48,11 +48,6 @@ class QubesDisposableVm(QubesVm):
attrs_config = super(QubesDisposableVm, self).get_attrs_config()
attrs_config['name']['eval'] = '"disp%d" % self._qid if value is None else value'
attrs_config.pop('kernel')
attrs_config.pop('kernels_dir')
attrs_config.pop('kernelopts')
attrs_config.pop('uses_default_kernel')
attrs_config.pop('uses_default_kernelopts')
# New attributes
attrs_config['dispid'] = { 'func': lambda x: self._qid if x is None else int(x),