From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50162 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAHV7-0005qH-QI for qemu-devel@nongnu.org; Mon, 25 Oct 2010 03:29:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAGLH-0008Bf-Bq for qemu-devel@nongnu.org; Mon, 25 Oct 2010 02:15:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PAGLH-0008BW-0a for qemu-devel@nongnu.org; Mon, 25 Oct 2010 02:15:35 -0400 Date: Mon, 25 Oct 2010 08:08:55 +0200 From: "Michael S. Tsirkin" Message-ID: <20101025060855.GA3559@redhat.com> References: <20101025054941.GA3223@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101025054941.GA3223@redhat.com> Subject: [Qemu-devel] Re: [PATCH RFC] pcie: clean up hot plug notification List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: yamahata@valinux.co.jp, qemu-devel@nongnu.org On Mon, Oct 25, 2010 at 07:49:41AM +0200, Michael S. Tsirkin wrote: > Simplify logic for hotplug notification, by tracking state of the > logical interrupt condition. We then simply use this variable to make > the interrupt decision, according to spec. > > API is made cleaner as we no longer force users to pass in > old slot control value. > > Untested. > > Signed-off-by: Michael S. Tsirkin I made some changes to this and other patches, and pushed them out on my branch so everyone can take a look there. -- MST