Re: [Qemu-devel] [PATCH] PPC: Pseries: Check for PCI boundaries

2012-01-18 Thread Michael S. Tsirkin
On Wed, Jan 18, 2012 at 05:24:50PM +0100, Alexander Graf wrote: > We call pci_host_config_{read,write}_common() which perform PCI config > accesses. However they don't do all limit checking the way we expect > it to. > > So let's introduce a small wrapper around them, making them behave the > way

[Qemu-devel] [PATCH] PPC: Pseries: Check for PCI boundaries

2012-01-18 Thread Alexander Graf
We call pci_host_config_{read,write}_common() which perform PCI config accesses. However they don't do all limit checking the way we expect it to. So let's introduce a small wrapper around them, making them behave the way we would without touching generic code. This patch is based on a patch by D