Browse code

Vendor opencontainers/runtime-spec 29686dbc

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2019/01/24 08:29:51
Showing 2 changed files
... ...
@@ -80,7 +80,7 @@ google.golang.org/grpc v1.12.0
80 80
 # This commit does not need to match RUNC_COMMIT as it is used for helper
81 81
 # packages but should be newer or equal.
82 82
 github.com/opencontainers/runc 96ec2177ae841256168fcf76954f7177af9446eb
83
-github.com/opencontainers/runtime-spec 5684b8af48c1ac3b1451fa499724e30e3c20a294 # v1.0.1-49-g5684b8a
83
+github.com/opencontainers/runtime-spec 29686dbc5559d93fb1ef402eeda3e35c38d75af4 # v1.0.1-59-g29686db
84 84
 github.com/opencontainers/image-spec v1.0.1
85 85
 github.com/seccomp/libseccomp-golang 32f571b70023028bd57d9288c20efbcb237f3ce0
86 86
 
... ...
@@ -38,7 +38,9 @@ type Process struct {
38 38
 	// User specifies user information for the process.
39 39
 	User User `json:"user"`
40 40
 	// Args specifies the binary and arguments for the application to execute.
41
-	Args []string `json:"args"`
41
+	Args []string `json:"args,omitempty"`
42
+	// CommandLine specifies the full command line for the application to execute on Windows.
43
+	CommandLine string `json:"commandLine,omitempty" platform:"windows"`
42 44
 	// Env populates the process environment for the process.
43 45
 	Env []string `json:"env,omitempty"`
44 46
 	// Cwd is the current working directory for the process and must be
... ...
@@ -528,7 +530,7 @@ type VMHypervisor struct {
528 528
 	// Path is the host path to the hypervisor used to manage the virtual machine.
529 529
 	Path string `json:"path"`
530 530
 	// Parameters specifies parameters to pass to the hypervisor.
531
-	Parameters string `json:"parameters,omitempty"`
531
+	Parameters []string `json:"parameters,omitempty"`
532 532
 }
533 533
 
534 534
 // VMKernel contains information about the kernel to use for a virtual machine.
... ...
@@ -536,7 +538,7 @@ type VMKernel struct {
536 536
 	// Path is the host path to the kernel used to boot the virtual machine.
537 537
 	Path string `json:"path"`
538 538
 	// Parameters specifies parameters to pass to the kernel.
539
-	Parameters string `json:"parameters,omitempty"`
539
+	Parameters []string `json:"parameters,omitempty"`
540 540
 	// InitRD is the host path to an initial ramdisk to be used by the kernel.
541 541
 	InitRD string `json:"initrd,omitempty"`
542 542
 }
... ...
@@ -632,7 +634,9 @@ type LinuxIntelRdt struct {
632 632
 	// Format: "L3:<cache_id0>=<cbm0>;<cache_id1>=<cbm1>;..."
633 633
 	L3CacheSchema string `json:"l3CacheSchema,omitempty"`
634 634
 
635
-	// The schema of memory bandwidth percentage per L3 cache id
635
+	// The schema of memory bandwidth per L3 cache id
636 636
 	// Format: "MB:<cache_id0>=bandwidth0;<cache_id1>=bandwidth1;..."
637
+	// The unit of memory bandwidth is specified in "percentages" by
638
+	// default, and in "MBps" if MBA Software Controller is enabled.
637 639
 	MemBwSchema string `json:"memBwSchema,omitempty"`
638 640
 }