Re: [Qemu-devel] [PATCH] monitor: Fix crashes when using HMP commands without CPU

2017-01-12 Thread Thomas Huth
On 12.01.2017 09:10, Markus Armbruster wrote: > Thomas Huth writes: > >> When running certain HMP commands ("info registers", "info cpustats" >> or dumping virtual memory) with the "none" machine, QEMU crashes >> with a segmentation fault. This happens because the "none" machine does >> not have

Re: [Qemu-devel] [PATCH] monitor: Fix crashes when using HMP commands without CPU

2017-01-12 Thread Markus Armbruster
Thomas Huth writes: > When running certain HMP commands ("info registers", "info cpustats" > or dumping virtual memory) with the "none" machine, QEMU crashes > with a segmentation fault. This happens because the "none" machine does > not have any CPUs by default, "Sachen gibt's!" >

[Qemu-devel] [PATCH] monitor: Fix crashes when using HMP commands without CPU

2017-01-11 Thread Thomas Huth
When running certain HMP commands ("info registers", "info cpustats" or dumping virtual memory) with the "none" machine, QEMU crashes with a segmentation fault. This happens because the "none" machine does not have any CPUs by default, but these HMP commands did not check for a valid CPU pointer ye