Skip to content

Commit

Permalink
DEBUG: log list of VMs when startup failed
Browse files Browse the repository at this point in the history
And also basic xen info (including free memory)
  • Loading branch information
marmarek committed Oct 13, 2024
1 parent 7b755c7 commit 021e19f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qubes/vm/qubesvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1239,6 +1239,8 @@ async def start(self, start_guid=True, notify_function=None,
exc = qubes.exc.QubesException(
'Failed to start an HVM qube with PCI devices assigned '
'- hardware does not support IOMMU/VT-d/AMD-Vi')
subprocess.run(["xl", "list"])
subprocess.run(["xl", "info"])
self.log.error('Start failed: %s', str(exc))
await self.fire_event_async('domain-start-failed',
reason=str(exc))
Expand Down

0 comments on commit 021e19f

Please sign in to comment.