From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xytov-0006i6-3T for qemu-devel@nongnu.org; Wed, 10 Dec 2014 21:49:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xytoq-0000Dw-F8 for qemu-devel@nongnu.org; Wed, 10 Dec 2014 21:49:37 -0500 Received: from [59.151.112.132] (port=55952 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xytoq-0000D0-3L for qemu-devel@nongnu.org; Wed, 10 Dec 2014 21:49:32 -0500 Date: Thu, 11 Dec 2014 10:46:39 +0800 From: Hu Tao Message-ID: <20141211024639.GA27292@localhost.localdomain> References: <020963ffeebb642cd47ec5827bce95e9e14863d7.1418264106.git.hutao@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <020963ffeebb642cd47ec5827bce95e9e14863d7.1418264106.git.hutao@cn.fujitsu.com> Subject: Re: [Qemu-devel] [PATCH v3 6/6] pci: introduce PCI_DEVFN_AUTO List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Marcel Apfelbaum On Thu, Dec 11, 2014 at 10:20:28AM +0800, Hu Tao wrote: > Introduce PCI_DEVFN_AUTO rather than using -1 in code. > > Signed-off-by: Hu Tao > --- > hw/core/qdev-properties.c | 1 + > hw/pci/pci.c | 5 ++--- > include/hw/pci/pci.h | 2 ++ > 3 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/hw/core/qdev-properties.c b/hw/core/qdev-properties.c > index 2e47f70..df4ad14 100644 > --- a/hw/core/qdev-properties.c > +++ b/hw/core/qdev-properties.c > @@ -6,6 +6,7 @@ > #include "net/hub.h" > #include "qapi/visitor.h" > #include "sysemu/char.h" > +#include "hw/pci/pci.h" Oops, this one shouldn't be here, will resend. Regards, Hu