Re: [Qemu-devel] [PATCH] kvm: set gsi_bits and max_gsi correctly

2012-04-10 Thread Marcelo Tosatti
On Wed, Mar 28, 2012 at 02:18:05PM -0400, Jason Baron wrote: > The current kvm_init_irq_routing() doesn't set up the used_gsi_bitmap > correctly, and as a consequence pins max_gsi to 32 when it really > should be 1024. I ran into this limitation while testing pci > passthrough, where I consistently

Re: [Qemu-devel] [PATCH] kvm: set gsi_bits and max_gsi correctly

2012-03-28 Thread Jan Kiszka
On 2012-03-28 20:20, Alex Williamson wrote: > On Wed, 2012-03-28 at 14:18 -0400, Jason Baron wrote: >> The current kvm_init_irq_routing() doesn't set up the used_gsi_bitmap >> correctly, and as a consequence pins max_gsi to 32 when it really >> should be 1024. I ran into this limitation while testi

Re: [Qemu-devel] [PATCH] kvm: set gsi_bits and max_gsi correctly

2012-03-28 Thread Alex Williamson
On Wed, 2012-03-28 at 14:18 -0400, Jason Baron wrote: > The current kvm_init_irq_routing() doesn't set up the used_gsi_bitmap > correctly, and as a consequence pins max_gsi to 32 when it really > should be 1024. I ran into this limitation while testing pci > passthrough, where I consistently got an

[Qemu-devel] [PATCH] kvm: set gsi_bits and max_gsi correctly

2012-03-28 Thread Jason Baron
The current kvm_init_irq_routing() doesn't set up the used_gsi_bitmap correctly, and as a consequence pins max_gsi to 32 when it really should be 1024. I ran into this limitation while testing pci passthrough, where I consistently got an -ENOSPC return from kvm_get_irq_route_gsi() called from assig