Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove multi irq support for mmio devices #4534

Open
3 tasks
ShadowCurse opened this issue Apr 2, 2024 · 2 comments
Open
3 tasks

Remove multi irq support for mmio devices #4534

ShadowCurse opened this issue Apr 2, 2024 · 2 comments
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 Type: Enhancement Indicates new feature requests

Comments

@ShadowCurse
Copy link
Contributor

ShadowCurse commented Apr 2, 2024

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> with Option<NonZeroU32> and updating all places where this field is used.

Checks

  • Have you searched the Firecracker Issues database for similar requests?
  • Have you read all the existing relevant Firecracker documentation?
  • Have you read and understood Firecracker's core tenets?
@ShadowCurse ShadowCurse added 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 ` Type: Enhancement Indicates new feature requests rust Pull requests that update Rust code labels Apr 2, 2024
@andr3wy
Copy link
Contributor

andr3wy commented Apr 3, 2024

Hi everyone,

We're a group at UT Austin and we're interested in picking this issue up.

@ShadowCurse
Copy link
Contributor Author

Hi @andr3wy, you are welcome to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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 Type: Enhancement Indicates new feature requests
Projects
None yet
Development

No branches or pull requests

2 participants