From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TszjJ-0001O2-N2 for qemu-devel@nongnu.org; Wed, 09 Jan 2013 12:46:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TszjI-00048H-M1 for qemu-devel@nongnu.org; Wed, 09 Jan 2013 12:46:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TszjI-00048B-EI for qemu-devel@nongnu.org; Wed, 09 Jan 2013 12:46:20 -0500 Message-ID: <50EDACE6.7080706@redhat.com> Date: Wed, 09 Jan 2013 18:46:14 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1355761490-10073-1-git-send-email-pbonzini@redhat.com> <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> In-Reply-To: <20130109121027.GA18244@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: "Michael S. Tsirkin" Cc: Peter Maydell , Anthony Liguori , qemu-devel@nongnu.org, =?ISO-8859-1?Q?Andreas_F=E4rber?= Il 09/01/2013 13:10, Michael S. Tsirkin ha scritto: > OK you mean like this this? Completely untested - if you > and Anthony think we need this change please let me know > and I'll test and repost. > > --> > > pci: make secondary bus reset explicit > > Signed-off-by: Michael S. Tsirkin 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. Paolo