Remove multi irq support for mmio devices #4534
Labels
Good first issue
Indicates a good issue for first-time contributors
Priority: Low
Indicates that an issue or pull request should be resolved behind issues or pull requests labelled `
rust
Pull requests that update Rust code
Status: Parked
Indicates that an issues or pull request will be revisited later
Type: Enhancement
Indicates new feature requests
Currently Firecracker have an ability to create multiple irqs for MMIO devices. These irqs are store in the
MMIODeviceInfo
struct here.As per discussion here we would like to remove this "multi irq" configuration as Firecracker never uses for more than 1 irq per device. Also MMIO devices can not have more than 1 irq anyway.
The change can be as simple as replacing
Vec<u32>
withOption<NonZeroU32>
and updating all places where this field is used.Checks
The text was updated successfully, but these errors were encountered: