« Previous | Next » 

Revision 8fc94e5a

ID8fc94e5a8046e349e07976f9bcaffbcd5833f3a2

Added by Alex Williamson over 11 years ago

vfio-pci: Loosen sanity checks to allow future features

VFIO_PCI_NUM_REGIONS and VFIO_PCI_NUM_IRQS should never have been
used in this manner as it locks a specific kernel implementation.
Future features may introduce new regions or interrupt entries
(VGA may add legacy ranges, AER might add an IRQ for error
signalling). Fix this before it gets us into trouble.

Signed-off-by: Alex Williamson <>
Cc:

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences