Received: from eggs.gnu.org ([2001:4830:134:3::10]:39182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bozLS-00069j-CK for qemu-devel@nongnu.org; Tue, 27 Sep 2016 16:51:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bozLQ-00049S-9V for qemu-devel@nongnu.org; Tue, 27 Sep 2016 16:51:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bozLQ-00048x-2S for qemu-devel@nongnu.org; Tue, 27 Sep 2016 16:51:16 -0400 Date: Tue, 27 Sep 2016 17:51:12 -0300 From: Eduardo Habkost Message-ID: <20160927205112.GE9160@thinpad.lan.raisama.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Default CPU for NMI injection (QMP and IPMI) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Corey Minyard Cc: Alexey Kardashevskiy , Bandan Das , qemu-devel@nongnu.org, Alexander Graf , Cornelia Huck , Christian Borntraeger On Thu, Sep 22, 2016 at 02:49:35PM -0500, Corey Minyard wrote: > On 09/22/2016 01:42 PM, Eduardo Habkost wrote: [...] > > In the case of the inject-nmi QMP command, I need to understand > > what "default CPU" is supposed to mean in the inject-nmi > > documentation. Maybe it can be changed to use the first CPU, too > > (that's probably the existing behavior because there's no way to > > change cur_mon->mon_cpu in a QMP monitor). > > > I looked through is a bit, and the only place I found it was used was > the x390 code. s390 maintainers: is the ability to send a NMI to a specific CPU really used in s390? The only way to use it today is to use HMP, so I guess no management interface really supports it. s390-ccw is the only machine that uses the cpu_index parameter. If we remove it, it will allow us to simplify the code. Otherwise, we will need to extend the inject-nmi command to accept a "cpu" parameter. -- Eduardo