Skip to content

Commit

Permalink
Remove too strict checking for kernel on startup
Browse files Browse the repository at this point in the history
Nowadays empty kernel is automatically converted to pvgrub2, so don't
refuse that value.

Fixes: ba8bc65 "Allow setting "none" kernel to use in-vm kernel in any virt_mode"

QubesOS/qubes-issues#5212
  • Loading branch information
marmarek committed Nov 12, 2024
1 parent f07e6f5 commit 9498dfe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions qubes/vm/qubesvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1188,9 +1188,6 @@ async def start(self, start_guid=True, notify_function=None,
f'not available'
)

if self.virt_mode == 'pvh' and not self.kernel:
raise qubes.exc.QubesException(
'virt_mode PVH require kernel to be set')
await self.storage.verify()

if self.netvm is not None:
Expand Down

0 comments on commit 9498dfe

Please sign in to comment.