Skip to content

Commit 9498dfe

Browse files
committed
Remove too strict checking for kernel on startup
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
1 parent f07e6f5 commit 9498dfe

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

qubes/vm/qubesvm.py

-3
Original file line numberDiff line numberDiff line change
@@ -1188,9 +1188,6 @@ async def start(self, start_guid=True, notify_function=None,
11881188
f'not available'
11891189
)
11901190

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

11961193
if self.netvm is not None:

0 commit comments

Comments
 (0)