We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b90a793 commit fe32cd8Copy full SHA for fe32cd8
tool/microkit/src/main.rs
@@ -2683,6 +2683,22 @@ fn build_system(
2683
tcb: pd_tcb_objs[pd_idx].cap_addr,
2684
},
2685
));
2686
+ if let Some(pd_vm) = &pd.virtual_machine {
2687
+ for (vm_idx, vm) in virtual_machines.iter().enumerate() {
2688
+ if pd_vm.name == vm.name {
2689
+ for vcpu_idx in 0..vm.vcpus.len() {
2690
+ system_invocations.push(Invocation::new(
2691
+ config,
2692
+ InvocationArgs::DomainSetSet {
2693
+ domain_set: DOMAIN_CAP_ADDRESS,
2694
+ domain: domain_id as u8,
2695
+ tcb: vcpu_tcb_objs[vm_idx + vcpu_idx].cap_addr,
2696
+ },
2697
+ ));
2698
+ }
2699
2700
2701
2702
}
2703
2704
0 commit comments