Skip to content

Commit

Permalink
fix: make aarch64_with_sve_and_pac template work with >=2 vcpus
Browse files Browse the repository at this point in the history
Setting the least significant 4 bits to zero overwrites some
configuration that Firecracker sets on secondary CPUs that is needed for
them to be able to be booted. With these 4 bits set to 0, the CPUs will
never show up as online inside the guest, and KVM will just infinitely
spin inside KVM_RUN for them. Fix by using 'x' in the template, which
preserves the defaults set by Firecracker.

Signed-off-by: Patrick Roy <[email protected]>
  • Loading branch information
roypat committed Nov 25, 2024
1 parent 350bfb3 commit 1320786
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"kvm_capabilities": ["170", "171", "172"],
"vcpu_features": [{ "index": 0, "bitmap": "0b1110000" }]
"vcpu_features": [{ "index": 0, "bitmap": "0b111xxxx" }]
}

0 comments on commit 1320786

Please sign in to comment.