[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/2] fix segfaults caused by accessing CPU in em
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH 0/2] fix segfaults caused by accessing CPU in empty machine |
Date: |
Mon, 20 Feb 2017 07:07:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 17.02.2017 09:27, Ziyue Yang wrote:
> From: Ziyue Yang <address@hidden>
>
> 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 segfaults caused by other QEMU commands
> trying to access CPU that doesn't exist.
Hi,
FYI, I've posted a patch for all of these monitor commands that crash
without CPU already last month:
https://lists.gnu.org/archive/html/qemu-devel/2017-01/msg02602.html
Thomas