Skip to content

Commit 6b59f50

Browse files
authored
Merge pull request #278 from askervin/5cP_runtimespec_rdtchange
Remove deprecated RDT fields
2 parents 271fea3 + 3ebd90e commit 6b59f50

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

pkg/cdi/container-edits_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,6 @@ func TestApplyContainerEdits(t *testing.T) {
527527
ClosID: "clos-1",
528528
L3CacheSchema: "L3:0=ff;1=ff",
529529
MemBwSchema: "MB:0=50;1=50",
530-
EnableCMT: true,
531-
EnableMBM: true,
532530
},
533531
},
534532
result: &oci.Spec{
@@ -537,8 +535,6 @@ func TestApplyContainerEdits(t *testing.T) {
537535
ClosID: "clos-1",
538536
L3CacheSchema: "L3:0=ff;1=ff",
539537
MemBwSchema: "MB:0=50;1=50",
540-
EnableCMT: true,
541-
EnableMBM: true,
542538
},
543539
},
544540
},
@@ -551,8 +547,6 @@ func TestApplyContainerEdits(t *testing.T) {
551547
ClosID: "clos-1",
552548
L3CacheSchema: "L3:0=ff",
553549
MemBwSchema: "MB:0=100",
554-
EnableCMT: true,
555-
EnableMBM: true,
556550
},
557551
},
558552
},

pkg/cdi/oci.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,5 @@ func (i *IntelRdt) toOCI() *spec.LinuxIntelRdt {
5959
ClosID: i.ClosID,
6060
L3CacheSchema: i.L3CacheSchema,
6161
MemBwSchema: i.MemBwSchema,
62-
EnableCMT: i.EnableCMT,
63-
EnableMBM: i.EnableMBM,
6462
}
6563
}

specs-go/config.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,4 @@ type IntelRdt struct {
6767
ClosID string `json:"closID,omitempty" yaml:"closID,omitempty"`
6868
L3CacheSchema string `json:"l3CacheSchema,omitempty" yaml:"l3CacheSchema,omitempty"`
6969
MemBwSchema string `json:"memBwSchema,omitempty" yaml:"memBwSchema,omitempty"`
70-
EnableCMT bool `json:"enableCMT,omitempty" yaml:"enableCMT,omitempty"`
71-
EnableMBM bool `json:"enableMBM,omitempty" yaml:"enableMBM,omitempty"`
7270
}

0 commit comments

Comments
 (0)