[Qemu-devel] Re: PCI address question

2009-10-29 Thread Màrius Montón
Michael S. Tsirkin wrote: > On Thu, Oct 29, 2009 at 12:30:02PM +0100, Màrius Montón wrote: > >> Lennart Sorensen wrote: >> >> On Tue, Oct 27, 2009 at 04:05:25PM +0100, Màrius Montón wrote: >> >> >> Màrius Montón wrote: >> >> >> Hello, >> >> For my PCI device

Re: [Qemu-devel] Re: PCI address question

2009-10-29 Thread Màrius Montón
Lennart Sorensen wrote: On Tue, Oct 27, 2009 at 04:05:25PM +0100, Màrius Montón wrote: Màrius Montón wrote: Hello, For my PCI device to QEMU, I need the real address the PCI bus is using to access my device. For a IO BAR (PCI_ADDRESS_SPACE_IO), I receive the real a

Re: [Qemu-devel] Re: PCI address question

2009-10-27 Thread Lennart Sorensen
On Tue, Oct 27, 2009 at 04:05:25PM +0100, Màrius Montón wrote: > Màrius Montón wrote: > > Hello, > > > > For my PCI device to QEMU, I need the real address the PCI bus is using > > to access my device. For a IO BAR (PCI_ADDRESS_SPACE_IO), I receive the > > real address (like 0xc200 or similar), but

[Qemu-devel] Re: PCI address question

2009-10-27 Thread Màrius Montón
Màrius Montón wrote: > Hello, > > For my PCI device to QEMU, I need the real address the PCI bus is using > to access my device. For a IO BAR (PCI_ADDRESS_SPACE_IO), I receive the > real address (like 0xc200 or similar), but when registering a > PCI_ADDRESS_SPACE_MEM I only receive the offset to th