« Previous | Next » 

Revision bc8c6788

IDbc8c6788b60cbbe56700568bcb645e139ab29b7d

Added by Jason Baron almost 12 years ago

kvm: set gsi_bits and max_gsi correctly

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 assigned_dev_update_msix_mmio().

Signed-off-by: Jason Baron <>
Acked-by: Alex Williamson <>
Acked-by: Jan Kiszka <>
Signed-off-by: Marcelo Tosatti <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences