aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/outcome/shim.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/outcome/shim.go')
-rw-r--r--internal/outcome/shim.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/outcome/shim.go b/internal/outcome/shim.go
index 6d3e8d8b..a35ea1fe 100644
--- a/internal/outcome/shim.go
+++ b/internal/outcome/shim.go
@@ -75,6 +75,8 @@ type shimParams struct {
// Copied from [hst.Config].
SchedPolicy std.SchedPolicy
+ // Copied from [hst.Config].
+ SchedPriority std.Int
// Outcome setup ops, contains setup state. Populated by outcome.finalise.
Ops []outcomeOp
@@ -276,6 +278,7 @@ func shimEntrypoint(k syscallDispatcher) {
z := container.New(ctx, msg)
z.SetScheduler = state.Shim.SchedPolicy > 0
z.SchedPolicy = state.Shim.SchedPolicy
+ z.SchedPriority = state.Shim.SchedPriority
z.Params = *stateParams.params
z.Stdin, z.Stdout, z.Stderr = os.Stdin, os.Stdout, os.Stderr