On 2020/05/17 20:08, Stephan Mending wrote:
> On Sun, May 17, 2020 at 07:52:03PM +0200, Alexandre Ratchov wrote:
> > On Sun, May 17, 2020 at 07:19:44PM +0200, Stephan Mending wrote:
> > > Hi,
> > > after upgrading to qemu 5.0.0 I'm getting the following error when trying 
> > > to start a virtual machine.
> > > 
> > > $ qemu-system-x86_64 -s -drive format=raw,file=/path/to/harddrive
> > > Could not allocate dynamic translator buffer
> > > 
> > > Do you have any idea how to fix this? 
> > > 
> > > I'm running OpenBSD on AMD64 architecture on current branch. 
> > 
> > Increasing user datasize limit (see login.conf(5) fixed it for me.
> 
> I tried that. Didn't solve it for me. 
> datasize-cur=1024M
> datasize-max=8192M
> 
> I cannot imagine that 8G are too little for a VM that i wanna assign 512M. 
> 
> Best regards, 
> Stephan
> 

Your limit here is still 1G unless you do "ulimit -d" or some software calls
setrlimit.

So either try bumping datasize-cur some more, or "ulimit -d $((2*1024*1024))"
or something before running qemu.

Reply via email to