Re: Qemu master crashing on boot when using file backend for memory

2020-03-25 Thread Igor Mammedov
On Tue, 24 Mar 2020 22:50:46 -0400 Raphael Norwitz wrote: > On Thu, Mar 12, 2020 at 11:54:50AM +0100, Igor Mammedov wrote: > > > > On Thu, 12 Mar 2020 01:36:48 -0400 > > Raphael Norwitz wrote: > > > > > When I try run master qemu I am hitting a divide by zero error. It seems > > > to be comi

Re: Qemu master crashing on boot when using file backend for memory

2020-03-24 Thread Raphael Norwitz
On Thu, Mar 12, 2020 at 11:54:50AM +0100, Igor Mammedov wrote: > > On Thu, 12 Mar 2020 01:36:48 -0400 > Raphael Norwitz wrote: > > > When I try run master qemu I am hitting a divide by zero error. It seems > > to be coming from util/oslib-posix.c in touch_all_pages(). see line 477: > > > > nump

Re: Qemu master crashing on boot when using file backend for memory

2020-03-12 Thread Igor Mammedov
On Thu, 12 Mar 2020 01:36:48 -0400 Raphael Norwitz wrote: > When I try run master qemu I am hitting a divide by zero error. It seems > to be coming from util/oslib-posix.c in touch_all_pages(). see line 477: > > numpages_per_thread = numpages / memset_num_threads; > > Poking around the crash du

Qemu master crashing on boot when using file backend for memory

2020-03-11 Thread Raphael Norwitz
When I try run master qemu I am hitting a divide by zero error. It seems to be coming from util/oslib-posix.c in touch_all_pages(). see line 477: numpages_per_thread = numpages / memset_num_threads; Poking around the crash dumps, I can see that the smp_cpus parameter passed in to touch_all_pages(