>
> Hi Michael S. Tsirkin:
> I test pci bridge filtering on real hardware, and I find that I can mmap
> the resource after I change the memory base and memory limit(The BAR should
> be not visible on OS after changing the memory region).
>
> So I try to write and read to the BAR. Here is my test result:
> 1. Before changing the pci bridge's memory region, I can read and write to
the memory, and
> I can get the same value that I write.
>
> 2. After changing the pci bridge's memory region, I can still read and write
to the memory,
> but it is very slow, and I can not get the same value that I write(The
value is always 0).
>
> Does this result means that pci bridge filtering works fine?
>
> Thanks
> Wen Congyang
Sounds more or less right except I expect to get ffffffff
and not 0. Avi, any idea?