Skip to content

Commit 5cf7b9c

Browse files
committed
and map the CPU platform "Turin" to all Turin sled CPU types
1 parent 9b6b6ec commit 5cf7b9c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

nexus/db-model/src/vmm_cpu_platform.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,14 @@ impl VmmCpuPlatform {
3838
// Milan-based instances can run on both Milan and Turin processors.
3939
// Turin and Turin Dense are equally viable from a features
4040
// perspective.
41-
Self::AmdMilan => {
42-
Some(&[SledCpuFamily::AmdMilan, SledCpuFamily::AmdTurin, SledCpuFamily::AmdTurinDense])
41+
Self::AmdMilan => Some(&[
42+
SledCpuFamily::AmdMilan,
43+
SledCpuFamily::AmdTurin,
44+
SledCpuFamily::AmdTurinDense,
45+
]),
46+
Self::AmdTurin => {
47+
Some(&[SledCpuFamily::AmdTurin, SledCpuFamily::AmdTurinDense])
4348
}
44-
Self::AmdTurin => Some(&[SledCpuFamily::AmdTurin, SledCpuFamily::AmdTurinDense]),
4549

4650
// VMMs get the "sled default" CPU platform when an instance starts
4751
// up on a sled that hasn't reported a well-known CPU family. Assume

0 commit comments

Comments
 (0)