Re: [Qemu-devel] [PATCH v2] Align PCI capabilities in pci_find_space

2012-09-26 Thread Alex Williamson
On Tue, 2012-09-25 at 21:08 -0600, Alex Williamson wrote: > On Tue, 2012-09-25 at 20:01 -0500, m...@cs.wisc.edu wrote: > > From: Matt Renzelmann > > > > The current implementation of pci_find_space does not correctly align > > PCI capabilities in the PCI configuration space. This patch fixes > >

Re: [Qemu-devel] [PATCH v2] Align PCI capabilities in pci_find_space

2012-09-25 Thread Alex Williamson
On Tue, 2012-09-25 at 20:01 -0500, m...@cs.wisc.edu wrote: > From: Matt Renzelmann > > The current implementation of pci_find_space does not correctly align > PCI capabilities in the PCI configuration space. This patch fixes > this issue. > > Signed-off-by: Matt Renzelmann > --- > > Alex Will

[Qemu-devel] [PATCH v2] Align PCI capabilities in pci_find_space

2012-09-25 Thread mjr
From: Matt Renzelmann The current implementation of pci_find_space does not correctly align PCI capabilities in the PCI configuration space. This patch fixes this issue. Signed-off-by: Matt Renzelmann --- Alex Williamson wrote: > I think you could just search every 4th byte. In fact, this w