Re: [Qemu-devel] [PATCH v3] hmp: fix "info cpu" segfault

2017-03-31 Thread Dr. David Alan Gilbert
* Iwona Kotlarska (iwona260...@gmail.com) wrote: > Running QEMU with "qemu-system-x86_64 -M none -nographic -m 256" and executing > "dump-guest-memory /dev/null 0 8192" results in segfault. > Fix by checking if we have CPU. > > Signed-off-by: Iwona Kotlarska Queued. I've fixed up the title to

Re: [Qemu-devel] [PATCH v3] hmp: fix "info cpu" segfault

2017-03-30 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: > > > On 30/03/2017 16:28, Eduardo Habkost wrote: > > On Thu, Mar 30, 2017 at 07:09:24AM +0200, Iwona Kotlarska wrote: > >> Running QEMU with "qemu-system-x86_64 -M none -nographic -m 256" and > >> executing > >> "dump-guest-memory /dev/null 0 8192" r

Re: [Qemu-devel] [PATCH v3] hmp: fix "info cpu" segfault

2017-03-30 Thread Paolo Bonzini
On 30/03/2017 16:28, Eduardo Habkost wrote: > On Thu, Mar 30, 2017 at 07:09:24AM +0200, Iwona Kotlarska wrote: >> Running QEMU with "qemu-system-x86_64 -M none -nographic -m 256" and >> executing >> "dump-guest-memory /dev/null 0 8192" results in segfault. >> Fix by checking if we have CPU. >> >

Re: [Qemu-devel] [PATCH v3] hmp: fix "info cpu" segfault

2017-03-30 Thread Eduardo Habkost
On Thu, Mar 30, 2017 at 07:09:24AM +0200, Iwona Kotlarska wrote: > Running QEMU with "qemu-system-x86_64 -M none -nographic -m 256" and executing > "dump-guest-memory /dev/null 0 8192" results in segfault. > Fix by checking if we have CPU. > > Signed-off-by: Iwona Kotlarska Reviewed-by: Eduardo

Re: [Qemu-devel] [PATCH v3] hmp: fix "info cpu" segfault

2017-03-30 Thread Marcel Apfelbaum
On 03/30/2017 08:09 AM, Iwona Kotlarska wrote: Running QEMU with "qemu-system-x86_64 -M none -nographic -m 256" and executing "dump-guest-memory /dev/null 0 8192" results in segfault. Fix by checking if we have CPU. Signed-off-by: Iwona Kotlarska --- Hi Iwona, Next time (this patch is OK) pl

Re: [Qemu-devel] [PATCH v3] hmp: fix "info cpu" segfault

2017-03-30 Thread Stefan Hajnoczi
On Thu, Mar 30, 2017 at 6:09 AM, Iwona Kotlarska wrote: > Running QEMU with "qemu-system-x86_64 -M none -nographic -m 256" and executing > "dump-guest-memory /dev/null 0 8192" results in segfault. > Fix by checking if we have CPU. > > Signed-off-by: Iwona Kotlarska > --- > target/i386/arch_dump.

[Qemu-devel] [PATCH v3] hmp: fix "info cpu" segfault

2017-03-29 Thread Iwona Kotlarska
Running QEMU with "qemu-system-x86_64 -M none -nographic -m 256" and executing "dump-guest-memory /dev/null 0 8192" results in segfault. Fix by checking if we have CPU. Signed-off-by: Iwona Kotlarska --- target/i386/arch_dump.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git