From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws7Ep-000723-2B for qemu-devel@nongnu.org; Wed, 04 Jun 2014 05:12:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws7Eh-0005Zh-JB for qemu-devel@nongnu.org; Wed, 04 Jun 2014 05:12:03 -0400 Message-ID: <538EE2CA.2000003@redhat.com> Date: Wed, 04 Jun 2014 11:11:38 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1401869330-32449-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <1401869330-32449-1-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy , qemu-devel@nongnu.org Cc: Alex Bligh , Markus Armbruster , Alexander Graf , qemu-ppc@nongnu.org, Stefan Hajnoczi , Cornelia Huck , Luiz Capitulino , =?ISO-8859-15?Q?Andreas_F=E4rber?= , Richard Henderson Il 04/06/2014 10:08, Alexey Kardashevskiy ha scritto: > This adds an NMI handler per CPUs. x86, s390 and ppc CPUS are supported. > > The change to existing behaviour is that x86 only delivers NMI to > the current monitored CPU now, not to every CPU. > > Please comment. Thanks. > > > Changes: > v3: > * patches reorganized > * comments from v2 addressed, more details are in individual commit logs > > v2: > * moved from machine interface to CPUClass callback > * s390 and x86 moved to target-s390/target-i386 > * x86 handler delivers to the current CPU only now > > > Alexey Kardashevskiy (4): > cpus: Define NMI callback > target-s390x: Migrate to new nmi() CPU callback > target-i386: Migrate to new nmi() CPU callback > target-ppc: Add support for new nmi() CPU callback > > cpus.c | 33 +++++++-------------------------- > hmp-commands.hx | 6 ++---- > include/qom/cpu.h | 1 + > qapi-schema.json | 4 +--- > qmp-commands.hx | 3 +-- > target-i386/cpu.c | 16 ++++++++++++++++ > target-ppc/cpu-qom.h | 1 + > target-ppc/excp_helper.c | 8 ++++++++ > target-ppc/translate_init.c | 17 +++++++++++++++++ > target-s390x/cpu.c | 6 ++++++ > 10 files changed, 60 insertions(+), 35 deletions(-) > Acked-by: Paolo Bonzini