diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index dd76c4a00..f7dc81c98 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -1222,8 +1222,12 @@ async def start(self, start_guid=True, notify_function=None, self._update_libvirt_domain() + free_mem = subprocess.check_output(["xl", "info", "free_memory"]).decode() + self.log.debug("free mem before start: %s", free_mem) self.libvirt_domain.createWithFlags( libvirt.VIR_DOMAIN_START_PAUSED) + free_mem = subprocess.check_output(["xl", "info", "free_memory"]).decode() + self.log.debug("free mem after start: %s", free_mem) # the above allocates xid, lets announce that self.fire_event('property-reset:xid', name='xid') @@ -1239,6 +1243,10 @@ 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') + free_mem = subprocess.check_output(["xl", "info", "free_memory"]).decode() + self.log.debug("free mem after failed start: %s", free_mem) + 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))