From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWogc-0007sS-KU for qemu-devel@nongnu.org; Fri, 19 Feb 2016 12:17:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWogZ-0005Lo-Ev for qemu-devel@nongnu.org; Fri, 19 Feb 2016 12:17:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWogZ-0005L6-8k for qemu-devel@nongnu.org; Fri, 19 Feb 2016 12:17:43 -0500 References: <4744c26fdfd911c44b58a9b6e1d0effc6cb39594.1455739133.git.alistair.francis@xilinx.com> <87lh6ijqa2.fsf@blackfin.pond.sub.org> <56C63C0D.8030501@redhat.com> <56C6E16D.10605@redhat.com> From: Paolo Bonzini Message-ID: <56C74E31.6030806@redhat.com> Date: Fri, 19 Feb 2016 18:17:37 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 1/2] qdev-monitor.c: Register reset function if the device has one List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Markus Armbruster , "qemu-devel@nongnu.org Developers" , Alistair Francis , Peter Crosthwaite , Christopher Covington , =?UTF-8?Q?Andreas_F=c3=a4rber?= , Li Guang On 19/02/2016 11:55, Peter Maydell wrote: >> Any abstraction we have in QEMU should have at least a parallel (though >> > it need not be the same) in real hardware. Reset signals _do_ propagate >> > along buses, or at least along some buses, so "debusifying" reset seems >> > like a counterproductive goal to me. > Reset for some buses propagates along buses, but not in all > cases. Agreed. But still this doesn't change the fact that "debusifying" reset is a non-goal. > In any case our current "reset" semantics are "power on > reset", not any kind of driven-by-hardware-reset-lines reset. It depends. There are several cases (PCI, SCSI) where qdev_reset_all is used from within the code in order to provide hardware reset semantics. Paolo