Re: [Qemu-devel] PCI 64-bit BAR access with qemu

2011-10-12 Thread Francois WELLENREITER
Hi Max, thank you for your answer. Actually, I hadn't confused. I already thought to your proposal but I found that it was a really ugly solution (essentially because of the uint32_t to uint64_t silent conversion). Isn't there any other (current or future) development that may fix it ?

Re: [Qemu-devel] PCI 64-bit BAR access with qemu

2011-10-12 Thread Max Filippov
>    I've read a few days ago that it was possible to emulate PCI device with > 64-bit BARs and have a real 64-bit memory access. > Thus, I've created a virtual device named toto accessible through a 64-bit > BAR You've probably confused an ability to locate BAR anywhere in 64-bit address space (s

[Qemu-devel] PCI 64-bit BAR access with qemu

2011-10-12 Thread Francois WELLENREITER
Hi there, I've read a few days ago that it was possible to emulate PCI device with 64-bit BARs and have a real 64-bit memory access. Thus, I've created a virtual device named toto accessible through a 64-bit BAR ___ static const MemoryRegionOps bxi_common_mmio_ops = { .read = toto_m