File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -184,12 +184,16 @@ architecture. They are only compatible if the CPU features exposed to the guest
184
184
are an invariant when saving and restoring the snapshot. The trivial scenario
185
185
is creating and restoring snapshots on hosts that have the same CPU model.
186
186
187
- To make snapshots more portable across Intel CPUs Firecracker provides an API
188
- to select a CPU template which is only available for Intel - T2 and C3.
189
- Firecracker CPU templates mask CPUID to restrict the exposed features to a
190
- common denominator of multiple CPU models. These templates are mapped as close
191
- as possible to AWS T2/C3 instances in terms of CPU features. There are no
192
- templates available for AMD or ARM64.
187
+ To make snapshots more portable across Intel CPUs Firecracker provides an API to
188
+ select a CPU template which is only available for Intel - T2, T2S and C3.
189
+ Firecracker CPU templates mask CPUID and some MSR values (in case of T2S) to
190
+ restrict the exposed features to a common denominator of multiple CPU models. T2
191
+ and C3 templates are mapped as close as possible to AWS T2/C3 instances in terms
192
+ of CPU features. The T2S template is designed to allow migrating snapshots
193
+ between hosts with Intel SkyLake and Cascade Lake securely by further
194
+ restricting CPU features for the guest, however this comes with a performance
195
+ penalty. Users are encouraged to carry out a performance assessment if they wish
196
+ to use the T2S template. There are no templates available for AMD or ARM64.
193
197
194
198
It is important to note that guest workloads can still execute instructions
195
199
that are being masked by CPUID and restoring and saving of such workloads will
You can’t perform that action at this time.
0 commit comments