Re: [PATCH 1/2] msix: Allow msix_init on a device with existing MSI-X capability

2010-11-01 Thread Alex Williamson
On Thu, 2010-10-28 at 17:00 +0200, Avi Kivity wrote: On 10/23/2010 06:55 PM, Alex Williamson wrote: On Sat, 2010-10-23 at 18:18 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:31PM -0600, Alex Williamson wrote: To enable common msix support to be used with pass through

Re: [PATCH 1/2] msix: Allow msix_init on a device with existing MSI-X capability

2010-10-28 Thread Avi Kivity
On 10/23/2010 06:55 PM, Alex Williamson wrote: On Sat, 2010-10-23 at 18:18 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:31PM -0600, Alex Williamson wrote: To enable common msix support to be used with pass through devices, don't attempt to change the BAR if the

Re: [PATCH 1/2] msix: Allow msix_init on a device with existing MSI-X capability

2010-10-23 Thread Michael S. Tsirkin
On Fri, Oct 22, 2010 at 02:40:31PM -0600, Alex Williamson wrote: To enable common msix support to be used with pass through devices, don't attempt to change the BAR if the device already has an MSI-X capability. This also means we want to pay closer attention to the size when we map the msix

Re: [PATCH 1/2] msix: Allow msix_init on a device with existing MSI-X capability

2010-10-23 Thread Alex Williamson
On Sat, 2010-10-23 at 18:18 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:31PM -0600, Alex Williamson wrote: To enable common msix support to be used with pass through devices, don't attempt to change the BAR if the device already has an MSI-X capability. This also means

[PATCH 1/2] msix: Allow msix_init on a device with existing MSI-X capability

2010-10-22 Thread Alex Williamson
To enable common msix support to be used with pass through devices, don't attempt to change the BAR if the device already has an MSI-X capability. This also means we want to pay closer attention to the size when we map the msix table page, as it isn't necessarily covering the entire end of the