Re: [Qemu-devel] [PATCH 3/6] versatile_pci: user PCIHostState instead of PCIBus

2010-01-13 Thread Michael S. Tsirkin
On Wed, Jan 13, 2010 at 01:02:50PM +, Paul Brook wrote: > On Tuesday 12 January 2010, Isaku Yamahata wrote: > > To use pci host framework, use PCIHostState instead of PCIBus in > > PCIVPBState. > > No. > > pci_host.[ch] provides very specific functionality, it is not a generic PCI > host de

Re: [Qemu-devel] [PATCH 3/6] versatile_pci: user PCIHostState instead of PCIBus

2010-01-13 Thread Paul Brook
On Tuesday 12 January 2010, Isaku Yamahata wrote: > To use pci host framework, use PCIHostState instead of PCIBus in > PCIVPBState. No. pci_host.[ch] provides very specific functionality, it is not a generic PCI host device. Specifically it provides indirect access to PCI config space via a me

[Qemu-devel] [PATCH 3/6] versatile_pci: user PCIHostState instead of PCIBus

2010-01-12 Thread Isaku Yamahata
To use pci host framework, use PCIHostState instead of PCIBus in PCIVPBState. Cc: Paul Brook Signed-off-by: Isaku Yamahata --- hw/versatile_pci.c | 29 +++-- 1 files changed, 19 insertions(+), 10 deletions(-) diff --git a/hw/versatile_pci.c b/hw/versatile_pci.c index