Re: [Qemu-devel] [PATCH v3 6/6] pci: introduce PCI_DEVFN_AUTO

2015-01-26 Thread Hu Tao
On Wed, Jan 21, 2015 at 02:00:02PM +0200, Michael S. Tsirkin wrote: > 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 ++

Re: [Qemu-devel] [PATCH v3 6/6] pci: introduce PCI_DEVFN_AUTO

2015-01-21 Thread Michael S. Tsirkin
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 del

Re: [Qemu-devel] [PATCH v3 6/6] pci: introduce PCI_DEVFN_AUTO

2014-12-10 Thread Hu Tao
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 del

[Qemu-devel] [PATCH v3 6/6] pci: introduce PCI_DEVFN_AUTO

2014-12-10 Thread Hu Tao
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-propert