Skip to content

tool: a VM on x86-64 cannot have scheduling params#552

Merged
midnightveil merged 4 commits into
seL4:mainfrom
au-ts:manual_update
Jul 13, 2026
Merged

tool: a VM on x86-64 cannot have scheduling params#552
midnightveil merged 4 commits into
seL4:mainfrom
au-ts:manual_update

Conversation

@dreamliner787-9

Copy link
Copy Markdown
Collaborator

Closes #540.

Because the tool will default to priority 0 if it is not specified.

Signed-off-by: Bill Nguyen <bill.nguyen@unsw.edu.au>
No behavioural changes.

Signed-off-by: Bill Nguyen <bill.nguyen@unsw.edu.au>
This is because on x86-64, the VM shares TCB with the parent PD (VMM).
Rather than being distinct entities like on ARM.

Signed-off-by: Bill Nguyen <bill.nguyen@unsw.edu.au>
Add tests for valid and invalid VM scenarios.

Signed-off-by: Bill Nguyen <bill.nguyen@unsw.edu.au>
Comment thread tool/microkit/src/sdf.rs
pub priority: u8,
pub budget: u64,
pub period: u64,
pub sched_params: SchedulingParams,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This change to PD isn't actually necessary, right? This is what creates a bunch of changes everywhere else.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

That's right, I made that change because in struct VirtualMachine I thought making the priority, budget and period Optional is a bit ugly. So I applied the refactor to ProtectionDomain too.

@midnightveil midnightveil merged commit 200df43 into seL4:main Jul 13, 2026
12 checks passed
@midnightveil midnightveil deleted the manual_update branch July 13, 2026 05:56
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.

x86_64: a VM should not take any scheduling parameters in the SDF

2 participants