Received: from eggs.gnu.org ([2001:4830:134:3::10]:44184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEeSk-0000eF-3X for qemu-devel@nongnu.org; Mon, 13 Jul 2015 10:12:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEeSe-0004fD-Go for qemu-devel@nongnu.org; Mon, 13 Jul 2015 10:12:05 -0400 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:34343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEeSe-0004cy-5y for qemu-devel@nongnu.org; Mon, 13 Jul 2015 10:12:00 -0400 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 13 Jul 2015 15:11:58 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 2C22C1B08076 for ; Mon, 13 Jul 2015 15:13:08 +0100 (BST) Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t6DEBsvH38207636 for ; Mon, 13 Jul 2015 14:11:54 GMT Received: from d06av07.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t6DEBsaE008266 for ; Mon, 13 Jul 2015 10:11:54 -0400 Date: Mon, 13 Jul 2015 16:11:52 +0200 From: Cornelia Huck Message-ID: <20150713161152.3e519fcd.cornelia.huck@de.ibm.com> In-Reply-To: <55A3AD6D.5010303@de.ibm.com> References: <1436460692-5142-1-git-send-email-cornelia.huck@de.ibm.com> <1436460692-5142-2-git-send-email-cornelia.huck@de.ibm.com> <55A3AD6D.5010303@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.4 1/2] core: reset handler for bus-less devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger Cc: peter.crosthwaite@xilinx.com, qemu-devel@nongnu.org, agraf@suse.de, jfrei@linux.vnet.ibm.com, gesaint@linux.vnet.ibm.com, afaerber@suse.de On Mon, 13 Jul 2015 14:22:05 +0200 Christian Borntraeger wrote: > Am 09.07.2015 um 18:51 schrieb Cornelia Huck: > > Devices that don't live on a bus aren't caught by the normal device > > reset logic. Let's register a reset handler for those devices during > > device realization that calls the reset handler for the associated > > device class. > > > > Suggested-by: Peter Crosthwaite > > Signed-off-by: Cornelia Huck > reboot (from within guest) and external reset (system_reset in monitor) > now work fine with the s390 watchdog. > > Tested-by: Christian Borntraeger > > > --- > > hw/core/qdev.c | 15 +++++++++++++++ > > 1 file changed, 15 insertions(+) Thanks. Any objections against taking this through s390-next? I'd like to fix diag288 reset (+ that annoying migration regession) for 2.4-rc1 and send a pull request soon.