Re: [Qemu-devel] [PATCH 0/2] fix segfaults caused by accessing CPU in empty machine

2017-02-21 Thread Dr. David Alan Gilbert
* Thomas Huth (th...@redhat.com) wrote: > On 17.02.2017 09:27, Ziyue Yang wrote: > > From: Ziyue Yang > > > > Many QEMU monitor commands, like "info lapic", "info tlb" and so on > > use mon_get_cpu or related wrappers to access CPU info without checking > > whether the CPU exists. > > This patch

Re: [Qemu-devel] [PATCH 0/2] fix segfaults caused by accessing CPU in empty machine

2017-02-19 Thread Thomas Huth
On 17.02.2017 09:27, Ziyue Yang wrote: > From: Ziyue Yang > > Many QEMU monitor commands, like "info lapic", "info tlb" and so on > use mon_get_cpu or related wrappers to access CPU info without checking > whether the CPU exists. > This patch series fix the "info lapic" case, and is the base of t

[Qemu-devel] [PATCH 0/2] fix segfaults caused by accessing CPU in empty machine

2017-02-17 Thread Ziyue Yang
From: Ziyue Yang Many QEMU monitor commands, like "info lapic", "info tlb" and so on use mon_get_cpu or related wrappers to access CPU info without checking whether the CPU exists. This patch series fix the "info lapic" case, and is the base of the incoming patch series aiming to eliminate segfau