Re: [Qemu-devel] [RFC][PATCH 42/45] msix: Introduce msix_init_simple

2011-10-18 Thread Jan Kiszka
On 2011-10-17 16:28, Michael S. Tsirkin wrote: > On Mon, Oct 17, 2011 at 01:27:31PM +0200, Jan Kiszka wrote: >> On 2011-10-17 13:22, Michael S. Tsirkin wrote: >>> On Mon, Oct 17, 2011 at 11:28:16AM +0200, Jan Kiszka wrote: Devices models are usually not interested in specifying MSI-X conf

Re: [Qemu-devel] [RFC][PATCH 42/45] msix: Introduce msix_init_simple

2011-10-18 Thread Jan Kiszka
On 2011-10-18 12:52, Michael S. Tsirkin wrote: > On Mon, Oct 17, 2011 at 09:21:34PM +0200, Jan Kiszka wrote: >> On 2011-10-17 16:28, Michael S. Tsirkin wrote: >>> On Mon, Oct 17, 2011 at 01:27:31PM +0200, Jan Kiszka wrote: On 2011-10-17 13:22, Michael S. Tsirkin wrote: > On Mon, Oct 17, 20

Re: [Qemu-devel] [RFC][PATCH 42/45] msix: Introduce msix_init_simple

2011-10-18 Thread Michael S. Tsirkin
On Mon, Oct 17, 2011 at 09:21:34PM +0200, Jan Kiszka wrote: > On 2011-10-17 16:28, Michael S. Tsirkin wrote: > > On Mon, Oct 17, 2011 at 01:27:31PM +0200, Jan Kiszka wrote: > >> On 2011-10-17 13:22, Michael S. Tsirkin wrote: > >>> On Mon, Oct 17, 2011 at 11:28:16AM +0200, Jan Kiszka wrote: > D

Re: [Qemu-devel] [RFC][PATCH 42/45] msix: Introduce msix_init_simple

2011-10-17 Thread Michael S. Tsirkin
On Mon, Oct 17, 2011 at 01:27:31PM +0200, Jan Kiszka wrote: > On 2011-10-17 13:22, Michael S. Tsirkin wrote: > > On Mon, Oct 17, 2011 at 11:28:16AM +0200, Jan Kiszka wrote: > >> Devices models are usually not interested in specifying MSI-X > >> configuration details beyond the number of vectors to

Re: [Qemu-devel] [RFC][PATCH 42/45] msix: Introduce msix_init_simple

2011-10-17 Thread Jan Kiszka
On 2011-10-17 13:22, Michael S. Tsirkin wrote: > On Mon, Oct 17, 2011 at 11:28:16AM +0200, Jan Kiszka wrote: >> Devices models are usually not interested in specifying MSI-X >> configuration details beyond the number of vectors to provide and the >> BAR number to use. Layout of an exclusively used

Re: [Qemu-devel] [RFC][PATCH 42/45] msix: Introduce msix_init_simple

2011-10-17 Thread Michael S. Tsirkin
On Mon, Oct 17, 2011 at 11:28:16AM +0200, Jan Kiszka wrote: > Devices models are usually not interested in specifying MSI-X > configuration details beyond the number of vectors to provide and the > BAR number to use. Layout of an exclusively used BAR and its > registration can also be handled centr

[Qemu-devel] [RFC][PATCH 42/45] msix: Introduce msix_init_simple

2011-10-17 Thread Jan Kiszka
Devices models are usually not interested in specifying MSI-X configuration details beyond the number of vectors to provide and the BAR number to use. Layout of an exclusively used BAR and its registration can also be handled centrally. This is the purpose of msix_init_simple. It provides handy se