Skip to content

DO_NOT_MERGE: a draft design for interrupt management#6

Closed
jiangliu wants to merge 3 commits into
rust-vmm:masterfrom
jiangliu:irq
Closed

DO_NOT_MERGE: a draft design for interrupt management#6
jiangliu wants to merge 3 commits into
rust-vmm:masterfrom
jiangliu:irq

Conversation

@jiangliu

@jiangliu jiangliu commented Aug 5, 2019

Copy link
Copy Markdown
Member

This PR is a draft for interrupt management, which aims to decouple the vm-allocator crate from the vm-device crate.
@sboeuf @liujing2 @sameo @andreeaflorescu Please help to take a look at the proposal:)

@andreeaflorescu

Copy link
Copy Markdown
Member

P.S. you can create a draft PR. The draft PR cannot be merged. Check it out here: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Comment thread src/interrupt/mod.rs
Comment thread src/interrupt/mod.rs

@sboeuf sboeuf left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jiangliu proposal looks good.

Comment thread src/interrupt/mod.rs
//!
//! The overall flow to deal with interrupts is:
//! * the VMM creates an interrupt manager
//! * the VMM creates a device manager, passing on an reference to the interrupt manager

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the sake of API simplicity, should we have the device manager creation API implicitly create the interrupt manager?
Do you need access to the interrupt manager from the VMM itself?

Comment thread src/interrupt/mod.rs
@sameo

sameo commented Oct 21, 2019

Copy link
Copy Markdown

@jiangliu Can we close this one as it's replaced by #8 ?

@jiangliu

Copy link
Copy Markdown
Member Author

Sure, I will address comments and then create a formal PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants