From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35704 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTwvm-0002mb-3s for qemu-devel@nongnu.org; Sat, 18 Dec 2010 08:34:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTwvl-0002Vw-5w for qemu-devel@nongnu.org; Sat, 18 Dec 2010 08:34:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:63937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTwvk-0002Vj-V4 for qemu-devel@nongnu.org; Sat, 18 Dec 2010 08:34:37 -0500 From: Alex Williamson In-Reply-To: <20101218125646.GA13562@linux.vnet.ibm.com> References: <20101218125646.GA13562@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Date: Sat, 18 Dec 2010 06:34:20 -0700 Message-ID: <1292679260.2893.1.camel@x201> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] Fix build failure in assigned_device_pci_cap_init () List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kamalesh Babulal Cc: qemu-devel@nongnu.org On Sat, 2010-12-18 at 18:31 +0530, Kamalesh Babulal wrote: > Hi, > > cb1983b880 build fails with > > CC x86_64-softmmu/device-assignment.o > /other/srcs/qemu-kvm/hw/device-assignment.c: In function 'assigned_device_pci_cap_init': > /other/srcs/qemu-kvm/hw/device-assignment.c:1463: error: 'PCI_PM_CTRL_NO_SOFT_RST' undeclared (first use in this function) > /other/srcs/qemu-kvm/hw/device-assignment.c:1463: error: (Each undeclared identifier is reported only once > /other/srcs/qemu-kvm/hw/device-assignment.c:1463: error: for each function it appears in.) > > I was able to build successfully, with the attached patch. Thanks. This has already been fixed in the next branch and should show up in master soon. http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commitdiff;h=571a2b67f3d6986f768d0623df6d97847e4b153e;hp=9e8caf52f2e9976faf83bfc588102912160ce911 Thanks, Alex