On 16.07.2014 10:48, Francois Pussault wrote:
> Hi all.
Hi François,
> I experiment qemu problems while playing with emulators/virtual machines ...
>
> When I try to create any virtual machines with x86_64 or i 386 hardware and
> more than 256Mo ram that fail.
> Qemu returns "Cannot allocate memory".
I had the same issue on -current couple weeks ago.
> default:\
> :path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin
> /usr/local/sbin:\
> :umask=022:\
> :datasize-max=2048M:\
> :datasize-cur=2024M:\
> :maxproc-max=512:\
> :maxproc-cur=256:\
> :vmemoryuse=1024:\
> :openfiles-cur=1024:\
> :stacksize-cur=8M:\
> :localcipher=blowfish,6:\
> :ypcipher=old:\
> :tc=auth-defaults:\
> :tc=auth-ftp-defaults:
>
I added in my user class:
:datasize=infinity:\
No more problem for me, I can start VM with +256M RAM.
Be sure that the user which launches qemu has your class (vipw(8)).
Regards,
--
Alexis de BRUYN