[Qemu-devel] Re: [PATCH 3/3] msi: Store the capability size in PCIDevice

2010-11-02 Thread Michael S. Tsirkin
On Tue, Nov 02, 2010 at 10:08:30AM -0600, Alex Williamson wrote: > On Tue, 2010-11-02 at 17:39 +0200, Michael S. Tsirkin wrote: > > On Tue, Nov 02, 2010 at 08:23:10AM -0600, Alex Williamson wrote: > > > On Tue, 2010-11-02 at 16:07 +0200, Michael S. Tsirkin wrote: > > > > On Tue, Nov 02, 2010 at 08:

[Qemu-devel] Re: [PATCH 3/3] msi: Store the capability size in PCIDevice

2010-11-02 Thread Alex Williamson
On Tue, 2010-11-02 at 17:39 +0200, Michael S. Tsirkin wrote: > On Tue, Nov 02, 2010 at 08:23:10AM -0600, Alex Williamson wrote: > > On Tue, 2010-11-02 at 16:07 +0200, Michael S. Tsirkin wrote: > > > On Tue, Nov 02, 2010 at 08:00:38AM -0600, Alex Williamson wrote: > > > > On Tue, 2010-11-02 at 11:25

[Qemu-devel] Re: [PATCH 3/3] msi: Store the capability size in PCIDevice

2010-11-02 Thread Michael S. Tsirkin
On Tue, Nov 02, 2010 at 08:23:10AM -0600, Alex Williamson wrote: > On Tue, 2010-11-02 at 16:07 +0200, Michael S. Tsirkin wrote: > > On Tue, Nov 02, 2010 at 08:00:38AM -0600, Alex Williamson wrote: > > > On Tue, 2010-11-02 at 11:25 +0200, Michael S. Tsirkin wrote: > > > > On Mon, Nov 01, 2010 at 11:

[Qemu-devel] Re: [PATCH 3/3] msi: Store the capability size in PCIDevice

2010-11-02 Thread Michael S. Tsirkin
On Tue, Nov 02, 2010 at 08:00:38AM -0600, Alex Williamson wrote: > On Tue, 2010-11-02 at 11:25 +0200, Michael S. Tsirkin wrote: > > On Mon, Nov 01, 2010 at 11:37:53PM -0600, Alex Williamson wrote: > > > Avoid needing to get the MSI capability flags every time we need to > > > check the capability l

[Qemu-devel] Re: [PATCH 3/3] msi: Store the capability size in PCIDevice

2010-11-02 Thread Alex Williamson
On Tue, 2010-11-02 at 11:25 +0200, Michael S. Tsirkin wrote: > On Mon, Nov 01, 2010 at 11:37:53PM -0600, Alex Williamson wrote: > > Avoid needing to get the MSI capability flags every time we need to > > check the capability length. This also makes it accessible outside > > of msi.c, making it eas

[Qemu-devel] Re: [PATCH 3/3] msi: Store the capability size in PCIDevice

2010-11-02 Thread Alex Williamson
On Tue, 2010-11-02 at 16:07 +0200, Michael S. Tsirkin wrote: > On Tue, Nov 02, 2010 at 08:00:38AM -0600, Alex Williamson wrote: > > On Tue, 2010-11-02 at 11:25 +0200, Michael S. Tsirkin wrote: > > > On Mon, Nov 01, 2010 at 11:37:53PM -0600, Alex Williamson wrote: > > > > Avoid needing to get the MS

[Qemu-devel] Re: [PATCH 3/3] msi: Store the capability size in PCIDevice

2010-11-02 Thread Michael S. Tsirkin
On Mon, Nov 01, 2010 at 11:37:53PM -0600, Alex Williamson wrote: > Avoid needing to get the MSI capability flags every time we need to > check the capability length. This also makes it accessible outside > of msi.c, making it easier for users to filter config space writes > using msi_cap and msi_c