[Qemu-devel] Re: [PATCH v2 9/9] pci: Store capability offsets in PCIDevice

2010-11-14 Thread Alex Williamson
On Sat, 2010-11-13 at 23:05 +0200, Michael S. Tsirkin wrote: > On Fri, Nov 12, 2010 at 10:47:21AM -0700, Alex Williamson wrote: > > This not only makes pci_find_capability a directly lookup, but also > > allows us to better track added capabilities and avoids the proliferation > > of random additio

[Qemu-devel] Re: [PATCH v2 9/9] pci: Store capability offsets in PCIDevice

2010-11-13 Thread Michael S. Tsirkin
On Fri, Nov 12, 2010 at 10:47:21AM -0700, Alex Williamson wrote: > This not only makes pci_find_capability a directly lookup, but also > allows us to better track added capabilities and avoids the proliferation > of random additional capability offset markers. > > Signed-off-by: Alex Williamson