Re: [Qemu-devel] [PATCH 2/4] Fix bad error handling after memory_region_init_ram()

2015-09-14 Thread Markus Armbruster
Peter Crosthwaite writes: > On Fri, Sep 11, 2015 at 7:51 AM, Markus Armbruster wrote: >> Symptom: >> >> $ qemu-system-x86_64 -m 1000 >> Unexpected error in ram_block_add() at /work/armbru/qemu/exec.c:1456: >> upstream-qemu: cannot set up guest memory 'pc.ram': Cannot allocate >>

Re: [Qemu-devel] [PATCH 2/4] Fix bad error handling after memory_region_init_ram()

2015-09-13 Thread Peter Crosthwaite
On Fri, Sep 11, 2015 at 7:51 AM, Markus Armbruster wrote: > Symptom: > > $ qemu-system-x86_64 -m 1000 > Unexpected error in ram_block_add() at /work/armbru/qemu/exec.c:1456: > upstream-qemu: cannot set up guest memory 'pc.ram': Cannot allocate memory > Aborted (core dumped) > >

[Qemu-devel] [PATCH 2/4] Fix bad error handling after memory_region_init_ram()

2015-09-11 Thread Markus Armbruster
Symptom: $ qemu-system-x86_64 -m 1000 Unexpected error in ram_block_add() at /work/armbru/qemu/exec.c:1456: upstream-qemu: cannot set up guest memory 'pc.ram': Cannot allocate memory Aborted (core dumped) Root cause: commit ef701d7 screwed up handling of out-of-memory conditio