From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43647 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqQuR-0003gN-CB for qemu-devel@nongnu.org; Tue, 31 Aug 2010 09:30:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqQuK-0000Ho-6H for qemu-devel@nongnu.org; Tue, 31 Aug 2010 09:29:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33357) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqQuK-0000H9-0A for qemu-devel@nongnu.org; Tue, 31 Aug 2010 09:29:48 -0400 Message-ID: <4C7D03C7.9090406@redhat.com> Date: Tue, 31 Aug 2010 16:29:43 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH 5/5] RFC: distinguish warm reset from cold reset. References: <0a460e01cca4fa24f446c7a715fe6df17d0be9ed.1283152674.git.yamahata@valinux.co.jp> <4C7BAB2A.30608@codemonkey.ws> <20100831025808.GA19374@valinux.co.jp> <4C7CFEC1.8040204@codemonkey.ws> <20100831131449.GG10499@redhat.com> <4C7D01B3.4030602@codemonkey.ws> <20100831132158.GH10499@redhat.com> <4C7D02FB.4030706@codemonkey.ws> In-Reply-To: <4C7D02FB.4030706@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Gleb Natapov , glommer@redhat.com, qemu-devel@nongnu.org, blauwirbel@gmail.com, Isaku Yamahata , alex.williamson@redhat.com On 08/31/2010 04:26 PM, Anthony Liguori wrote: > On 08/31/2010 08:21 AM, Gleb Natapov wrote: >> On Tue, Aug 31, 2010 at 08:20:51AM -0500, Anthony Liguori wrote: >>> On 08/31/2010 08:14 AM, Gleb Natapov wrote: >>>> System_reset should do cold reset like it does now. >>> Why? >>> >> Because I should not be forced to restart qemu to bring devices to >> initial state. > > IOW, you use system_reset for debugging purposes to reset the device > model. > > Point taken but functionally speaking, system_reset should map to a > RESET signal and from what I can tell in this thread, that's a warm > reset. > Note, for most devices there's no difference. x86 has INIT and RESET, with the keyboard controller RESET signal sometimes wired to INIT, and RAM doesn't have RESET. Otherwise most devices don't see a difference. -- error compiling committee.c: too many arguments to function