[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 6/6] pci: introduce PCI_DEVFN_AUTO
From: |
Hu Tao |
Subject: |
Re: [Qemu-devel] [PATCH v3 6/6] pci: introduce PCI_DEVFN_AUTO |
Date: |
Thu, 11 Dec 2014 10:46:39 +0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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 <address@hidden>
> ---
> 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
- [Qemu-devel] [PATCH v3 0/6] Some PCI related cleanup patches, Hu Tao, 2014/12/10
- [Qemu-devel] [PATCH v3 1/6] pci: reorganize QEMU_PCI_CAP_*, Hu Tao, 2014/12/10
- [Qemu-devel] [PATCH v3 5/6] pci: remove the limit parameter of pci_host_config_write_common, Hu Tao, 2014/12/10
- [Qemu-devel] [PATCH v3 4/6] pci: remove the limit parameter of pci_host_config_read_common, Hu Tao, 2014/12/10
- [Qemu-devel] [PATCH v3 2/6] pci: introduce pci_host_config_enabled(), Hu Tao, 2014/12/10
- [Qemu-devel] [PATCH v3 3/6] pci: define PCI_HOST_BRIDGE_CONFIG_ADDR and PCI_HOST_BRIDGE_CONFIG_DATA., Hu Tao, 2014/12/10
- [Qemu-devel] [PATCH v3 6/6] pci: introduce PCI_DEVFN_AUTO, Hu Tao, 2014/12/10
- Re: [Qemu-devel] [PATCH v3 6/6] pci: introduce PCI_DEVFN_AUTO,
Hu Tao <=
- [Qemu-devel] [PATCH v3 RESEND 6/6] pci: introduce PCI_DEVFN_AUTO, Hu Tao, 2014/12/10