[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] linux: ioctl(KVM_CREATE_VM) failed: 12 Cannot allocat
Re: [Qemu-discuss] linux: ioctl(KVM_CREATE_VM) failed: 12 Cannot allocate memory
Thu, 26 Feb 2015 22:35:54 -0500
> On Feb 26, 2015, at 9:12 PM, Ken Moffat <address@hidden> wrote:
> I had kvm working fine (i686 guest) from a new x86_64 host system -
> after fixing up some Xorg server issues - and then I decided to
> create a new x86_64 guest (this is linuxfromscratch, so using an old
> guest to build a new one). But now when I try to start qemu with
> any of my images, even one which worked a couple of hours ago after
> I last reran 'startx', I get:
> ioctl(KVM_CREATE_VM) failed: 12 Cannot allocate memory
> failed to initialize KVM: Cannot allocate memory
That means the ioctl failed, which means most probably a call
to allocate memory in the kernel failed.
Do you have enough free memory on the system ? It may be helpful if you
post your Qemu cmd line and the output from free/top..
> and google produced nothing useful about where I need to look. This
> is linux-3.19.0 and qemu-2.2.0 (and linuxfromscratch-7.7-rc /
> current BLFS). Any pointers, pretty please with sugar ?
> Nanny Ogg usually went to bed early. After all, she was an old lady.
> Sometimes she went to bed as early as 6 a.m.