Skip to content

Commit 2094fef

Browse files
Alex Paveychrisguikema
Alex Pavey
authored andcommitted
trivial: Set vmpidr value to vcpu instead pcpu
Signed-off-by: Alex Pavey <Alex.Pavey@dornerworks.com>
1 parent cd1aab7 commit 2094fef

File tree

1 file changed

+1
-1
lines changed
  • libsel4vm/src/arch/arm

1 file changed

+1
-1
lines changed

libsel4vm/src/arch/arm/vm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ int vcpu_start(vm_vcpu_t *vcpu)
181181
*/
182182
vmpidr_val = BIT(24) | BIT(31);
183183
} else {
184-
vmpidr_val = vcpu->target_cpu;
184+
vmpidr_val = vcpu->vcpu_id;
185185
}
186186
err = vm_set_arm_vcpu_reg(vcpu, vmpidr_reg, vmpidr_val);
187187
if (err) {

0 commit comments

Comments
 (0)