Lately my VM has stopped running, when i try to start it says it cannot allocate memory (it was working before)
Error starting domain: internal error: qemu unexpectedly closed the monitor: 2019-07-18T11:51:10.814566Z qemu-system-x86_64: unable to map backing store for guest RAM: Cannot allocate memory
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1400, in startup
self._backend.create()
File "/usr/lib/python3/dist-packages/libvirt.py", line 1080, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 2019-07-18T11:51:10.814566Z qemu-system-x86_64: unable to map backing store for guest RAM: Cannot allocate memory
the VM is set tu use 16gb and i definetly have the free ram for it
free -mh
total used free shared buff/cache available
Mem: 125Gi 22Gi 95Gi 625Mi 7.3Gi 101Gi
Swap: 4.0Gi 0B 4.0Gi
this is my ram settings in the VM
<memory unit='KiB'>16777216</memory>
<currentMemory unit='KiB'>16777216</currentMemory>
<memoryBacking>
<hugepages/>
</memoryBacking>
im running Pop!OS
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Pop!_OS 19.04"
kernel 5.0.0-21-generic
one thing is kind of weird is that if i lower the ram by a gb the VM does start.