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

Arm vm multicore debug #124

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

chrisguikema
Copy link
Contributor

No description provided.

Alex Pavey added 3 commits February 1, 2024 09:57
Calling seL4_TCB_SetAffinity in the vm_assign_vcpu_target function
allows the vcpu to correctly run on the cpu it is assigned to.
Previously the vcpu was getting assigned to the same core as it's ID.

Signed-off-by: Alex Pavey <[email protected]>
Previously the target_cpu member was being used to determine if a vcpu
was started in conjunction with the is_vcpu_online function. This is
unneccessary and has been repurposed to keep track of whether or not the
vcpu has been previously assigned a pcpu or not.

Signed-off-by: Alex Pavey <[email protected]>
Signed-off-by: Chris Guikema <[email protected]>
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.

1 participant