Skip to content

Commit 81693c2

Browse files
authored
Merge pull request #4833 from marquiz/release-1.3
[release-1.3] runc update: don't lose intelRdt state
2 parents 3e72ae4 + 765cd9d commit 81693c2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

update.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,12 @@ other options are ignored.
367367
return err
368368
}
369369
}
370-
config.IntelRdt.L3CacheSchema = l3CacheSchema
371-
config.IntelRdt.MemBwSchema = memBwSchema
370+
if l3CacheSchema != "" {
371+
config.IntelRdt.L3CacheSchema = l3CacheSchema
372+
}
373+
if memBwSchema != "" {
374+
config.IntelRdt.MemBwSchema = memBwSchema
375+
}
372376
}
373377

374378
// XXX(kolyshkin@): currently "runc update" is unable to change

0 commit comments

Comments
 (0)