From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X743x-0003ot-JP for qemu-devel@nongnu.org; Tue, 15 Jul 2014 10:50:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X743q-0005zx-9V for qemu-devel@nongnu.org; Tue, 15 Jul 2014 10:50:37 -0400 Received: from qmta08.emeryville.ca.mail.comcast.net ([76.96.30.80]:46036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X743p-0005z4-Jw for qemu-devel@nongnu.org; Tue, 15 Jul 2014 10:50:30 -0400 Message-ID: <53C53FB2.7090107@redhat.com> Date: Tue, 15 Jul 2014 08:50:26 -0600 From: Eric Blake MIME-Version: 1.0 References: <1402630619-4408-1-git-send-email-aik@ozlabs.ru> <1402630619-4408-2-git-send-email-aik@ozlabs.ru> In-Reply-To: <1402630619-4408-2-git-send-email-aik@ozlabs.ru> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bUECUwPbg1AVRFufVq6LKhGKuXTv3N4lg" Subject: Re: [Qemu-devel] [PATCH v7 1/4] cpus: Define callback for QEMU "nmi" command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy , qemu-devel@nongnu.org Cc: Peter Maydell , Alexander Graf , Luiz Capitulino , Christian Borntraeger , qemu-ppc@nongnu.org, Cornelia Huck , Paolo Bonzini , Richard Henderson This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bUECUwPbg1AVRFufVq6LKhGKuXTv3N4lg Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/12/2014 09:36 PM, Alexey Kardashevskiy wrote: > This introduces an NMI (Non Maskable Interrupt) interface with > a single nmi_monitor_handler() method. A machine or a device can > implement it. This searches for an QOM object with this interface > and if it is implemented, calls it. The callback implements an action > required to cause debug crash dump on in-kernel debugger invocation. > The callback returns Error**. >=20 > This adds a nmi_monitor_handle() helper which walks through > all objects to find the interface. The interface method is called > for all found instances. >=20 > This adds support for it in qmp_inject_nmi(). Since no architecture > supports it at the moment, there is no change in behaviour. >=20 > This changes inject-nmi command description for HMP and QMP. >=20 > Signed-off-by: Alexey Kardashevskiy > --- > +++ b/qapi-schema.json > @@ -1116,13 +1116,13 @@ > ## > # @inject-nmi: > # > -# Injects an Non-Maskable Interrupt into all guest's VCPUs. > +# Injects a Non-Maskable Interrupt into the default CPU (x86/s390) or = all CPUs (ppc64). > # > # Returns: If successful, nothing > # > # Since: 0.14.0 > # > -# Notes: Only x86 Virtual Machines support this command. > +# Note: prior to 2.1, this command was only supported for x86 and s390= VMs Are we still trying to get this into 2.1, or has it slipped to 2.2? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --bUECUwPbg1AVRFufVq6LKhGKuXTv3N4lg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTxT+yAAoJEKeha0olJ0NqvoMH/j6iU8OYomhSBr2tM3AON1eR zJSzeijE+1mBlMs9sq8ChAmSMpvGZgUs+vcDa4bkG9f1+AxyLMzrOaHtltHzooT2 qx0OyvcrqBAiCU3fShKr5mX4LMv83zOOYRlWc7lMOVhdEhUpE5iDc94PYFC8GXoT 1Rus/IkcPKARyA7pkhxcORSGqXrq1nQcOyScuPswLNbZlbyINO1hme7H+EWSBkLn u9urNZXKG9ijtRJgOLnMig8k3EtUb9UJfcNRfLmVf+uSGbvarEw+vnTiuUMblr5y BK7xn9JB0KhHpD/4KYQKBTA4fjztwGKNETOMCPCzmmp6BPrlBIGXlZbZlLTRDds= =w7NO -----END PGP SIGNATURE----- --bUECUwPbg1AVRFufVq6LKhGKuXTv3N4lg--