Received: from eggs.gnu.org ([2001:4830:134:3::10]:54475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDF3Q-0001qe-Ei for qemu-devel@nongnu.org; Thu, 09 Jul 2015 12:52:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDF3J-0003p4-Ry for qemu-devel@nongnu.org; Thu, 09 Jul 2015 12:52:08 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:49123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDF3J-0003or-Ha for qemu-devel@nongnu.org; Thu, 09 Jul 2015 12:52:01 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 9 Jul 2015 17:51:59 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id D252817D8056 for ; Thu, 9 Jul 2015 17:52:52 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t69Gpa3334537668 for ; Thu, 9 Jul 2015 16:51:36 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t69GpZbK013862 for ; Thu, 9 Jul 2015 10:51:35 -0600 From: Cornelia Huck Date: Thu, 9 Jul 2015 18:51:30 +0200 Message-Id: <1436460692-5142-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH for-2.4 0/2] reset for bus-less devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.crosthwaite@xilinx.com, agraf@suse.de, borntraeger@de.ibm.com, jfrei@linux.vnet.ibm.com, Cornelia Huck , gesaint@linux.vnet.ibm.com, afaerber@suse.de We currently don't trigger resets for devices that don't have a bus. Rather than having to remember to register a reset handler for each of these devices, this should be handled by the core; there's probably a better way to do this long-term but this fixes reset problems we're having right now. I've adapted Xu's patch already posted at <1436259202-20509-2-git-send-email-cornelia.huck@de.ibm.com> and dropped Christian's t-b and David's r-b. Unfortunately, hw/core/qdev.c yields -ENOMAINTAINER; I hopefully added sensible cc:s. Cornelia Huck (1): core: reset handler for bus-less devices Xu Wang (1): watchdog/diag288: handle subsystem resets correctly hw/core/qdev.c | 15 +++++++++++++++ hw/s390x/s390-virtio-ccw.c | 6 +++++- 2 files changed, 20 insertions(+), 1 deletion(-) -- 2.3.8