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

Adding support for guests with multiple VCPUs #4

Open
Ivan-Velickovic opened this issue Apr 10, 2023 · 1 comment · May be fixed by #116
Open

Adding support for guests with multiple VCPUs #4

Ivan-Velickovic opened this issue Apr 10, 2023 · 1 comment · May be fixed by #116

Comments

@Ivan-Velickovic
Copy link
Collaborator

Ivan-Velickovic commented Apr 10, 2023

List of things to change in the VMM source code once Microkit has support for guests to have multiple TCBs/VCPUs.

  • Most of the fault handling is already setup to take in vcpu_id, right now they're all just given GUEST_VCPU_ID since there is only one VCPU that each VMM has to handle.
  • We would have to adapt guest_start and guest_restart for multiple VCPUs. We would also have to change the PSCI handling to turn on non-boot VCPUs.
  • vgic_init needs to be slightly modified to set the state depending on the number of VCPUs.
  • For GICv3 platforms would have to fix up the driver slightly.
  • The VMM would have to have knowledge of how many VCPUs is the guest using, which is currently hard-coded but it should come from the build process by looking some kind of system description (whether the XML seL4CP system description or some higher level one, I'm not sure yet).
@Ivan-Velickovic
Copy link
Collaborator Author

@Ivan-Velickovic Ivan-Velickovic linked a pull request Aug 19, 2024 that will close this issue
3 tasks
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 a pull request may close this issue.

1 participant