Skip to content

Conversation

@jiangliu
Copy link
Member

@jiangliu jiangliu commented Aug 5, 2019

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
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/

Copy link

@sboeuf sboeuf left a comment

Choose a reason for hiding this comment

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

@jiangliu proposal looks good.

//!
//! 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

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?

@sameo
Copy link

sameo commented Oct 21, 2019

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

@jiangliu
Copy link
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