From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQ5LM-00040o-Gr for qemu-devel@nongnu.org; Thu, 22 Jan 2009 14:36:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQ5LK-00040N-Cq for qemu-devel@nongnu.org; Thu, 22 Jan 2009 14:35:59 -0500 Received: from [199.232.76.173] (port=51547 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQ5LK-00040K-4K for qemu-devel@nongnu.org; Thu, 22 Jan 2009 14:35:58 -0500 Received: from e5.ny.us.ibm.com ([32.97.182.145]:50397) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQ5LJ-0006j3-Qp for qemu-devel@nongnu.org; Thu, 22 Jan 2009 14:35:57 -0500 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e5.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n0MJY3aR002782 for ; Thu, 22 Jan 2009 14:34:03 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id n0MJZuWY194380 for ; Thu, 22 Jan 2009 14:35:56 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n0MJZus2002912 for ; Thu, 22 Jan 2009 14:35:56 -0500 Received: from squirrel.codemonkey.ws (sig-9-65-90-232.mts.ibm.com [9.65.90.232]) by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n0MJZtKI002849 for ; Thu, 22 Jan 2009 14:35:56 -0500 Message-ID: <4978CA8D.1050205@us.ibm.com> Date: Thu, 22 Jan 2009 13:35:41 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Rework vm_state_change notifiers References: <4971076D.5030106@web.de> In-Reply-To: <4971076D.5030106@web.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Jan Kiszka wrote: > [ Now tested and found working. ] > > Enhance the vm_state_change notifier API to pass also a change reason. > This allows for replacing the vm_stop_cb with it and drop related code. > > Converting gdb_vm_stopped to gdb_vm_state_change also includes that this > callback will now officially only handle EXCP_DEBUG and EXCP_INTERRUPT > stop reasons. That allows to define and use new (non-zero) stop reasons > without disturbing the gdbstub. > --- > > audio/audio.c | 3 ++- > gdbstub.c | 11 +++++------ > sysemu.h | 6 +----- > vl.c | 29 ++++------------------------- > 4 files changed, 12 insertions(+), 37 deletions(-) > > Applied. Thanks. Regards, Anthony Liguori