From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tt3KE-0004tp-IA for qemu-devel@nongnu.org; Wed, 09 Jan 2013 16:36:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tt3K5-0006mo-9I for qemu-devel@nongnu.org; Wed, 09 Jan 2013 16:36:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tt3K5-0006mj-0P for qemu-devel@nongnu.org; Wed, 09 Jan 2013 16:36:33 -0500 Date: Wed, 9 Jan 2013 23:40:20 +0200 From: "Michael S. Tsirkin" Message-ID: <20130109214019.GA11806@redhat.com> References: <877gnovmgj.fsf@codemonkey.ws> <50ED3971.5030600@redhat.com> <20130109102238.GC30914@redhat.com> <50ED4C0C.5070109@redhat.com> <20130109110926.GA17317@redhat.com> <50ED50B7.4000907@redhat.com> <20130109121027.GA18244@redhat.com> <50EDACE6.7080706@redhat.com> <87wqvm5buw.fsf@codemonkey.ws> <50EDDFB2.9000308@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50EDDFB2.9000308@redhat.com> Subject: Re: [Qemu-devel] [PATCH 00/15] qdev: make reset semantics more clear and consistent, reset qbuses under virtio devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , Anthony Liguori , qemu-devel@nongnu.org, Andreas =?iso-8859-1?Q?F=E4rber?= On Wed, Jan 09, 2013 at 10:22:58PM +0100, Paolo Bonzini wrote: > Il 09/01/2013 21:40, Anthony Liguori ha scritto: > >> > Yes, but this can only be done after looking at all PCI devices that > >> > have buses below (of which the bridge is a special case). And Anthony > >> > also metioned using a new method of PCIDevice instead of device_reset. > > Sorry, what's the bug here? Is this a reset bug with cold reset or with > > a form of warm reset? > > Warm reset (virtio status register reset) of virtio-scsi wasn't > propagated down to the SCSI bus. I fixed it using qdev_reset_all, but > now I'll do it manually in the HBA. I'm fine with that as long as all > buses move away from device_reset. > > Paolo You also pointed out some bug related to status register handling in virtio on s390, right? -- MST