Explorar el Código

Merge pull request #42611 from kevpar/update-hcsshim

Update hcsshim vendor to v0.8.20
Sebastiaan van Stijn hace 4 años
padre
commit
a4ee738b31
Se han modificado 100 ficheros con 97 adiciones y 36 borrados
  1. 1 1
      vendor.conf
  2. 1 1
      vendor/github.com/Microsoft/hcsshim/computestorage/setup.go
  3. 1 1
      vendor/github.com/Microsoft/hcsshim/computestorage/storage.go
  4. 1 1
      vendor/github.com/Microsoft/hcsshim/container.go
  5. 3 3
      vendor/github.com/Microsoft/hcsshim/errors.go
  6. 11 6
      vendor/github.com/Microsoft/hcsshim/go.mod
  7. 1 1
      vendor/github.com/Microsoft/hcsshim/interface.go
  8. 8 2
      vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go
  9. 2 2
      vendor/github.com/Microsoft/hcsshim/internal/hcs/callback.go
  10. 5 7
      vendor/github.com/Microsoft/hcsshim/internal/hcs/errors.go
  11. 58 9
      vendor/github.com/Microsoft/hcsshim/internal/hcs/process.go
  12. 1 1
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema1/schema1.go
  13. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/attachment.go
  14. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/battery.go
  15. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cache_query_stats_response.go
  16. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/chipset.go
  17. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/close_handle.go
  18. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/com_port.go
  19. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/compute_system.go
  20. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/configuration.go
  21. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/console_size.go
  22. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container.go
  23. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_add_instance_request.go
  24. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_hv_socket_service_config.go
  25. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_instance.go
  26. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_modify_operation.go
  27. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_operation_request.go
  28. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_remove_instance_request.go
  29. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_state.go
  30. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_system_info.go
  31. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_memory_information.go
  32. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group.go
  33. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_affinity.go
  34. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_config.go
  35. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_configurations.go
  36. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_operations.go
  37. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_property.go
  38. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/create_group_operation.go
  39. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/delete_group_operation.go
  40. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/device.go
  41. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/devices.go
  42. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/enhanced_mode_video.go
  43. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/flexible_io_device.go
  44. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection.go
  45. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection_info.go
  46. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_crash_reporting.go
  47. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_os.go
  48. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_state.go
  49. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/host_processor_modify_request.go
  50. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hosted_system.go
  51. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket.go
  52. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_2.go
  53. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_address.go
  54. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_service_config.go
  55. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_system_config.go
  56. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/interrupt_moderation_mode.go
  57. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/iov_settings.go
  58. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/keyboard.go
  59. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/layer.go
  60. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/linux_kernel_direct.go
  61. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/logical_processor.go
  62. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_directory.go
  63. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_pipe.go
  64. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory.go
  65. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_2.go
  66. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_information_for_vm.go
  67. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_stats.go
  68. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modification_request.go
  69. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modify_setting_request.go
  70. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mouse.go
  71. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/network_adapter.go
  72. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/networking.go
  73. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_notification.go
  74. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_options.go
  75. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9.go
  76. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9_share.go
  77. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_details.go
  78. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_modify_request.go
  79. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_parameters.go
  80. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_status.go
  81. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor.go
  82. 4 1
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_2.go
  83. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_stats.go
  84. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_topology.go
  85. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/properties.go
  86. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_query.go
  87. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_type.go
  88. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/rdp_connection_options.go
  89. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_changes.go
  90. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_key.go
  91. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_value.go
  92. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/restore_state.go
  93. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/save_options.go
  94. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/scsi.go
  95. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/service_properties.go
  96. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_configuration.go
  97. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region.go
  98. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region_info.go
  99. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/silo_properties.go
  100. 0 0
      vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/statistics.go

+ 1 - 1
vendor.conf

@@ -1,5 +1,5 @@
 github.com/Azure/go-ansiterm                        d185dfc1b5a126116ea5a19e148e29d16b4574c9
 github.com/Azure/go-ansiterm                        d185dfc1b5a126116ea5a19e148e29d16b4574c9
-github.com/Microsoft/hcsshim                        e811ee705ec77df2ae28857ade553043fb564d91 # v0.8.16
+github.com/Microsoft/hcsshim                        3ad51c76263bad09548a40e1996960814a12a870 # v0.8.20
 github.com/Microsoft/go-winio                       5c2e05d71961716a6c392a06ada435aaf5d5302c # v0.4.19
 github.com/Microsoft/go-winio                       5c2e05d71961716a6c392a06ada435aaf5d5302c # v0.4.19
 github.com/docker/libtrust                          9cbd2a1374f46905c68a4eb3694a130610adc62a
 github.com/docker/libtrust                          9cbd2a1374f46905c68a4eb3694a130610adc62a
 github.com/golang/gddo                              72a348e765d293ed6d1ded7b699591f14d6cd921
 github.com/golang/gddo                              72a348e765d293ed6d1ded7b699591f14d6cd921

+ 1 - 1
vendor/github.com/Microsoft/hcsshim/computestorage/setup.go

@@ -49,7 +49,7 @@ func SetupBaseOSLayer(ctx context.Context, layerPath string, vhdHandle windows.H
 //
 //
 // `options` are the options applied while processing the layer.
 // `options` are the options applied while processing the layer.
 func SetupBaseOSVolume(ctx context.Context, layerPath, volumePath string, options OsLayerOptions) (err error) {
 func SetupBaseOSVolume(ctx context.Context, layerPath, volumePath string, options OsLayerOptions) (err error) {
-	if osversion.Get().Build < 19645 {
+	if osversion.Build() < 19645 {
 		return errors.New("SetupBaseOSVolume is not present on builds older than 19645")
 		return errors.New("SetupBaseOSVolume is not present on builds older than 19645")
 	}
 	}
 	title := "hcsshim.SetupBaseOSVolume"
 	title := "hcsshim.SetupBaseOSVolume"

+ 1 - 1
vendor/github.com/Microsoft/hcsshim/computestorage/storage.go

@@ -4,7 +4,7 @@
 package computestorage
 package computestorage
 
 
 import (
 import (
-	hcsschema "github.com/Microsoft/hcsshim/internal/schema2"
+	hcsschema "github.com/Microsoft/hcsshim/internal/hcs/schema2"
 )
 )
 
 
 //go:generate go run ../mksyscall_windows.go -output zsyscall_windows.go storage.go
 //go:generate go run ../mksyscall_windows.go -output zsyscall_windows.go storage.go

+ 1 - 1
vendor/github.com/Microsoft/hcsshim/container.go

@@ -8,8 +8,8 @@ import (
 	"time"
 	"time"
 
 
 	"github.com/Microsoft/hcsshim/internal/hcs"
 	"github.com/Microsoft/hcsshim/internal/hcs"
+	"github.com/Microsoft/hcsshim/internal/hcs/schema1"
 	"github.com/Microsoft/hcsshim/internal/mergemaps"
 	"github.com/Microsoft/hcsshim/internal/mergemaps"
-	"github.com/Microsoft/hcsshim/internal/schema1"
 )
 )
 
 
 // ContainerProperties holds the properties for a container and the processes running in that container
 // ContainerProperties holds the properties for a container and the processes running in that container

+ 3 - 3
vendor/github.com/Microsoft/hcsshim/errors.go

@@ -59,7 +59,7 @@ var (
 	// ErrVmcomputeOperationInvalidState is an error encountered when the compute system is not in a valid state for the requested operation
 	// ErrVmcomputeOperationInvalidState is an error encountered when the compute system is not in a valid state for the requested operation
 	ErrVmcomputeOperationInvalidState = hcs.ErrVmcomputeOperationInvalidState
 	ErrVmcomputeOperationInvalidState = hcs.ErrVmcomputeOperationInvalidState
 
 
-	// ErrProcNotFound is an error encountered when the the process cannot be found
+	// ErrProcNotFound is an error encountered when a procedure look up fails.
 	ErrProcNotFound = hcs.ErrProcNotFound
 	ErrProcNotFound = hcs.ErrProcNotFound
 
 
 	// ErrVmcomputeOperationAccessIsDenied is an error which can be encountered when enumerating compute systems in RS1/RS2
 	// ErrVmcomputeOperationAccessIsDenied is an error which can be encountered when enumerating compute systems in RS1/RS2
@@ -159,7 +159,7 @@ func (e *ProcessError) Error() string {
 // IsNotExist checks if an error is caused by the Container or Process not existing.
 // IsNotExist checks if an error is caused by the Container or Process not existing.
 // Note: Currently, ErrElementNotFound can mean that a Process has either
 // Note: Currently, ErrElementNotFound can mean that a Process has either
 // already exited, or does not exist. Both IsAlreadyStopped and IsNotExist
 // already exited, or does not exist. Both IsAlreadyStopped and IsNotExist
-// will currently return true when the error is ErrElementNotFound or ErrProcNotFound.
+// will currently return true when the error is ErrElementNotFound.
 func IsNotExist(err error) bool {
 func IsNotExist(err error) bool {
 	if _, ok := err.(EndpointNotFoundError); ok {
 	if _, ok := err.(EndpointNotFoundError); ok {
 		return true
 		return true
@@ -192,7 +192,7 @@ func IsTimeout(err error) bool {
 // a Container or Process being already stopped.
 // a Container or Process being already stopped.
 // Note: Currently, ErrElementNotFound can mean that a Process has either
 // Note: Currently, ErrElementNotFound can mean that a Process has either
 // already exited, or does not exist. Both IsAlreadyStopped and IsNotExist
 // already exited, or does not exist. Both IsAlreadyStopped and IsNotExist
-// will currently return true when the error is ErrElementNotFound or ErrProcNotFound.
+// will currently return true when the error is ErrElementNotFound.
 func IsAlreadyStopped(err error) bool {
 func IsAlreadyStopped(err error) bool {
 	return hcs.IsAlreadyStopped(getInnerError(err))
 	return hcs.IsAlreadyStopped(getInnerError(err))
 }
 }

+ 11 - 6
vendor/github.com/Microsoft/hcsshim/go.mod

@@ -3,13 +3,13 @@ module github.com/Microsoft/hcsshim
 go 1.13
 go 1.13
 
 
 require (
 require (
-	github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3
-	github.com/containerd/cgroups v0.0.0-20210114181951-8a68de567b68
-	github.com/containerd/console v1.0.1
-	github.com/containerd/containerd v1.5.0-beta.4
-	github.com/containerd/go-runc v0.0.0-20201020171139-16b287bc67d0
+	github.com/Microsoft/go-winio v0.4.17
+	github.com/containerd/cgroups v1.0.1
+	github.com/containerd/console v1.0.2
+	github.com/containerd/containerd v1.5.1
+	github.com/containerd/go-runc v1.0.0
 	github.com/containerd/ttrpc v1.0.2
 	github.com/containerd/ttrpc v1.0.2
-	github.com/containerd/typeurl v1.0.1
+	github.com/containerd/typeurl v1.0.2
 	github.com/gogo/protobuf v1.3.2
 	github.com/gogo/protobuf v1.3.2
 	github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d
 	github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d
 	github.com/pkg/errors v0.9.1
 	github.com/pkg/errors v0.9.1
@@ -20,3 +20,8 @@ require (
 	golang.org/x/sys v0.0.0-20210324051608-47abb6519492
 	golang.org/x/sys v0.0.0-20210324051608-47abb6519492
 	google.golang.org/grpc v1.33.2
 	google.golang.org/grpc v1.33.2
 )
 )
+
+replace (
+	google.golang.org/genproto => google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63
+	google.golang.org/grpc => google.golang.org/grpc v1.27.1
+)

+ 1 - 1
vendor/github.com/Microsoft/hcsshim/interface.go

@@ -4,7 +4,7 @@ import (
 	"io"
 	"io"
 	"time"
 	"time"
 
 
-	"github.com/Microsoft/hcsshim/internal/schema1"
+	"github.com/Microsoft/hcsshim/internal/hcs/schema1"
 )
 )
 
 
 // ProcessConfig is used as both the input of Container.CreateProcess
 // ProcessConfig is used as both the input of Container.CreateProcess

+ 8 - 2
vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go

@@ -4,8 +4,8 @@ import (
 	"context"
 	"context"
 	"io"
 	"io"
 
 
-	"github.com/Microsoft/hcsshim/internal/schema1"
-	hcsschema "github.com/Microsoft/hcsshim/internal/schema2"
+	"github.com/Microsoft/hcsshim/internal/hcs/schema1"
+	hcsschema "github.com/Microsoft/hcsshim/internal/hcs/schema2"
 )
 )
 
 
 // Process is the interface for an OS process running in a container or utility VM.
 // Process is the interface for an OS process running in a container or utility VM.
@@ -17,6 +17,12 @@ type Process interface {
 	// CloseStdin causes the process's stdin handle to receive EOF/EPIPE/whatever
 	// CloseStdin causes the process's stdin handle to receive EOF/EPIPE/whatever
 	// is appropriate to indicate that no more data is available.
 	// is appropriate to indicate that no more data is available.
 	CloseStdin(ctx context.Context) error
 	CloseStdin(ctx context.Context) error
+	// CloseStdout closes the stdout connection to the process. It is used to indicate
+	// that we are done receiving output on the shim side.
+	CloseStdout(ctx context.Context) error
+	// CloseStderr closes the stderr connection to the process. It is used to indicate
+	// that we are done receiving output on the shim side.
+	CloseStderr(ctx context.Context) error
 	// Pid returns the process ID.
 	// Pid returns the process ID.
 	Pid() int
 	Pid() int
 	// Stdio returns the stdio streams for a process. These may be nil if a stream
 	// Stdio returns the stdio streams for a process. These may be nil if a stream

+ 2 - 2
vendor/github.com/Microsoft/hcsshim/internal/hcs/callback.go

@@ -13,7 +13,7 @@ import (
 
 
 var (
 var (
 	nextCallback    uintptr
 	nextCallback    uintptr
-	callbackMap     = map[uintptr]*notifcationWatcherContext{}
+	callbackMap     = map[uintptr]*notificationWatcherContext{}
 	callbackMapLock = sync.RWMutex{}
 	callbackMapLock = sync.RWMutex{}
 
 
 	notificationWatcherCallback = syscall.NewCallback(notificationWatcher)
 	notificationWatcherCallback = syscall.NewCallback(notificationWatcher)
@@ -87,7 +87,7 @@ func (hn hcsNotification) String() string {
 
 
 type notificationChannel chan error
 type notificationChannel chan error
 
 
-type notifcationWatcherContext struct {
+type notificationWatcherContext struct {
 	channels notificationChannels
 	channels notificationChannels
 	handle   vmcompute.HcsCallback
 	handle   vmcompute.HcsCallback
 
 

+ 5 - 7
vendor/github.com/Microsoft/hcsshim/internal/hcs/errors.go

@@ -60,7 +60,7 @@ var (
 	// ErrVmcomputeOperationInvalidState is an error encountered when the compute system is not in a valid state for the requested operation
 	// ErrVmcomputeOperationInvalidState is an error encountered when the compute system is not in a valid state for the requested operation
 	ErrVmcomputeOperationInvalidState = syscall.Errno(0xc0370105)
 	ErrVmcomputeOperationInvalidState = syscall.Errno(0xc0370105)
 
 
-	// ErrProcNotFound is an error encountered when the the process cannot be found
+	// ErrProcNotFound is an error encountered when a procedure look up fails.
 	ErrProcNotFound = syscall.Errno(0x7f)
 	ErrProcNotFound = syscall.Errno(0x7f)
 
 
 	// ErrVmcomputeOperationAccessIsDenied is an error which can be encountered when enumerating compute systems in RS1/RS2
 	// ErrVmcomputeOperationAccessIsDenied is an error which can be encountered when enumerating compute systems in RS1/RS2
@@ -242,12 +242,11 @@ func makeProcessError(process *Process, op string, err error, events []ErrorEven
 // IsNotExist checks if an error is caused by the Container or Process not existing.
 // IsNotExist checks if an error is caused by the Container or Process not existing.
 // Note: Currently, ErrElementNotFound can mean that a Process has either
 // Note: Currently, ErrElementNotFound can mean that a Process has either
 // already exited, or does not exist. Both IsAlreadyStopped and IsNotExist
 // already exited, or does not exist. Both IsAlreadyStopped and IsNotExist
-// will currently return true when the error is ErrElementNotFound or ErrProcNotFound.
+// will currently return true when the error is ErrElementNotFound.
 func IsNotExist(err error) bool {
 func IsNotExist(err error) bool {
 	err = getInnerError(err)
 	err = getInnerError(err)
 	return err == ErrComputeSystemDoesNotExist ||
 	return err == ErrComputeSystemDoesNotExist ||
-		err == ErrElementNotFound ||
-		err == ErrProcNotFound
+		err == ErrElementNotFound
 }
 }
 
 
 // IsAlreadyClosed checks if an error is caused by the Container or Process having been
 // IsAlreadyClosed checks if an error is caused by the Container or Process having been
@@ -278,12 +277,11 @@ func IsTimeout(err error) bool {
 // a Container or Process being already stopped.
 // a Container or Process being already stopped.
 // Note: Currently, ErrElementNotFound can mean that a Process has either
 // Note: Currently, ErrElementNotFound can mean that a Process has either
 // already exited, or does not exist. Both IsAlreadyStopped and IsNotExist
 // already exited, or does not exist. Both IsAlreadyStopped and IsNotExist
-// will currently return true when the error is ErrElementNotFound or ErrProcNotFound.
+// will currently return true when the error is ErrElementNotFound.
 func IsAlreadyStopped(err error) bool {
 func IsAlreadyStopped(err error) bool {
 	err = getInnerError(err)
 	err = getInnerError(err)
 	return err == ErrVmcomputeAlreadyStopped ||
 	return err == ErrVmcomputeAlreadyStopped ||
-		err == ErrElementNotFound ||
-		err == ErrProcNotFound
+		err == ErrElementNotFound
 }
 }
 
 
 // IsNotSupported returns a boolean indicating whether the error is caused by
 // IsNotSupported returns a boolean indicating whether the error is caused by

+ 58 - 9
vendor/github.com/Microsoft/hcsshim/internal/hcs/process.go

@@ -118,7 +118,7 @@ func (process *Process) Signal(ctx context.Context, options interface{}) (bool,
 	process.handleLock.RLock()
 	process.handleLock.RLock()
 	defer process.handleLock.RUnlock()
 	defer process.handleLock.RUnlock()
 
 
-	operation := "hcsshim::Process::Signal"
+	operation := "hcs::Process::Signal"
 
 
 	if process.handle == 0 {
 	if process.handle == 0 {
 		return false, makeProcessError(process, operation, ErrAlreadyClosed, nil)
 		return false, makeProcessError(process, operation, ErrAlreadyClosed, nil)
@@ -143,7 +143,7 @@ func (process *Process) Kill(ctx context.Context) (bool, error) {
 	process.handleLock.RLock()
 	process.handleLock.RLock()
 	defer process.handleLock.RUnlock()
 	defer process.handleLock.RUnlock()
 
 
-	operation := "hcsshim::Process::Kill"
+	operation := "hcs::Process::Kill"
 
 
 	if process.handle == 0 {
 	if process.handle == 0 {
 		return false, makeProcessError(process, operation, ErrAlreadyClosed, nil)
 		return false, makeProcessError(process, operation, ErrAlreadyClosed, nil)
@@ -164,7 +164,7 @@ func (process *Process) Kill(ctx context.Context) (bool, error) {
 // This MUST be called exactly once per `process.handle` but `Wait` is safe to
 // This MUST be called exactly once per `process.handle` but `Wait` is safe to
 // call multiple times.
 // call multiple times.
 func (process *Process) waitBackground() {
 func (process *Process) waitBackground() {
-	operation := "hcsshim::Process::waitBackground"
+	operation := "hcs::Process::waitBackground"
 	ctx, span := trace.StartSpan(context.Background(), operation)
 	ctx, span := trace.StartSpan(context.Background(), operation)
 	defer span.End()
 	defer span.End()
 	span.AddAttributes(
 	span.AddAttributes(
@@ -229,7 +229,7 @@ func (process *Process) ResizeConsole(ctx context.Context, width, height uint16)
 	process.handleLock.RLock()
 	process.handleLock.RLock()
 	defer process.handleLock.RUnlock()
 	defer process.handleLock.RUnlock()
 
 
-	operation := "hcsshim::Process::ResizeConsole"
+	operation := "hcs::Process::ResizeConsole"
 
 
 	if process.handle == 0 {
 	if process.handle == 0 {
 		return makeProcessError(process, operation, ErrAlreadyClosed, nil)
 		return makeProcessError(process, operation, ErrAlreadyClosed, nil)
@@ -267,7 +267,7 @@ func (process *Process) ExitCode() (int, error) {
 		}
 		}
 		return process.exitCode, nil
 		return process.exitCode, nil
 	default:
 	default:
-		return -1, makeProcessError(process, "hcsshim::Process::ExitCode", ErrInvalidProcessState, nil)
+		return -1, makeProcessError(process, "hcs::Process::ExitCode", ErrInvalidProcessState, nil)
 	}
 	}
 }
 }
 
 
@@ -275,7 +275,7 @@ func (process *Process) ExitCode() (int, error) {
 // these pipes does not close the underlying pipes. Once returned, these pipes
 // these pipes does not close the underlying pipes. Once returned, these pipes
 // are the responsibility of the caller to close.
 // are the responsibility of the caller to close.
 func (process *Process) StdioLegacy() (_ io.WriteCloser, _ io.ReadCloser, _ io.ReadCloser, err error) {
 func (process *Process) StdioLegacy() (_ io.WriteCloser, _ io.ReadCloser, _ io.ReadCloser, err error) {
-	operation := "hcsshim::Process::StdioLegacy"
+	operation := "hcs::Process::StdioLegacy"
 	ctx, span := trace.StartSpan(context.Background(), operation)
 	ctx, span := trace.StartSpan(context.Background(), operation)
 	defer span.End()
 	defer span.End()
 	defer func() { oc.SetSpanStatus(span, err) }()
 	defer func() { oc.SetSpanStatus(span, err) }()
@@ -327,7 +327,7 @@ func (process *Process) CloseStdin(ctx context.Context) error {
 	process.handleLock.RLock()
 	process.handleLock.RLock()
 	defer process.handleLock.RUnlock()
 	defer process.handleLock.RUnlock()
 
 
-	operation := "hcsshim::Process::CloseStdin"
+	operation := "hcs::Process::CloseStdin"
 
 
 	if process.handle == 0 {
 	if process.handle == 0 {
 		return makeProcessError(process, operation, ErrAlreadyClosed, nil)
 		return makeProcessError(process, operation, ErrAlreadyClosed, nil)
@@ -361,10 +361,59 @@ func (process *Process) CloseStdin(ctx context.Context) error {
 	return nil
 	return nil
 }
 }
 
 
+func (process *Process) CloseStdout(ctx context.Context) (err error) {
+	ctx, span := trace.StartSpan(ctx, "hcs::Process::CloseStdout") //nolint:ineffassign,staticcheck
+	defer span.End()
+	defer func() { oc.SetSpanStatus(span, err) }()
+	span.AddAttributes(
+		trace.StringAttribute("cid", process.SystemID()),
+		trace.Int64Attribute("pid", int64(process.processID)))
+
+	process.handleLock.Lock()
+	defer process.handleLock.Unlock()
+
+	if process.handle == 0 {
+		return nil
+	}
+
+	process.stdioLock.Lock()
+	defer process.stdioLock.Unlock()
+	if process.stdout != nil {
+		process.stdout.Close()
+		process.stdout = nil
+	}
+	return nil
+}
+
+func (process *Process) CloseStderr(ctx context.Context) (err error) {
+	ctx, span := trace.StartSpan(ctx, "hcs::Process::CloseStderr") //nolint:ineffassign,staticcheck
+	defer span.End()
+	defer func() { oc.SetSpanStatus(span, err) }()
+	span.AddAttributes(
+		trace.StringAttribute("cid", process.SystemID()),
+		trace.Int64Attribute("pid", int64(process.processID)))
+
+	process.handleLock.Lock()
+	defer process.handleLock.Unlock()
+
+	if process.handle == 0 {
+		return nil
+	}
+
+	process.stdioLock.Lock()
+	defer process.stdioLock.Unlock()
+	if process.stderr != nil {
+		process.stderr.Close()
+		process.stderr = nil
+
+	}
+	return nil
+}
+
 // Close cleans up any state associated with the process but does not kill
 // Close cleans up any state associated with the process but does not kill
 // or wait on it.
 // or wait on it.
 func (process *Process) Close() (err error) {
 func (process *Process) Close() (err error) {
-	operation := "hcsshim::Process::Close"
+	operation := "hcs::Process::Close"
 	ctx, span := trace.StartSpan(context.Background(), operation)
 	ctx, span := trace.StartSpan(context.Background(), operation)
 	defer span.End()
 	defer span.End()
 	defer func() { oc.SetSpanStatus(span, err) }()
 	defer func() { oc.SetSpanStatus(span, err) }()
@@ -414,7 +463,7 @@ func (process *Process) Close() (err error) {
 }
 }
 
 
 func (process *Process) registerCallback(ctx context.Context) error {
 func (process *Process) registerCallback(ctx context.Context) error {
-	callbackContext := &notifcationWatcherContext{
+	callbackContext := &notificationWatcherContext{
 		channels:  newProcessChannels(),
 		channels:  newProcessChannels(),
 		systemID:  process.SystemID(),
 		systemID:  process.SystemID(),
 		processID: process.processID,
 		processID: process.processID,

+ 1 - 1
vendor/github.com/Microsoft/hcsshim/internal/schema1/schema1.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema1/schema1.go

@@ -5,7 +5,7 @@ import (
 	"time"
 	"time"
 
 
 	"github.com/Microsoft/go-winio/pkg/guid"
 	"github.com/Microsoft/go-winio/pkg/guid"
-	hcsschema "github.com/Microsoft/hcsshim/internal/schema2"
+	hcsschema "github.com/Microsoft/hcsshim/internal/hcs/schema2"
 )
 )
 
 
 // ProcessConfig is used as both the input of Container.CreateProcess
 // ProcessConfig is used as both the input of Container.CreateProcess

+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/attachment.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/attachment.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/battery.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/battery.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/cache_query_stats_response.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cache_query_stats_response.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/chipset.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/chipset.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/close_handle.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/close_handle.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/com_port.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/com_port.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/compute_system.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/compute_system.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/configuration.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/configuration.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/console_size.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/console_size.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/container.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_add_instance_request.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_add_instance_request.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_hv_socket_service_config.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_hv_socket_service_config.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_instance.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_instance.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_modify_operation.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_modify_operation.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_operation_request.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_operation_request.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_remove_instance_request.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_remove_instance_request.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_state.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_state.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_system_info.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_system_info.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/container_memory_information.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_memory_information.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_affinity.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_affinity.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_config.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_config.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_configurations.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_configurations.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_operations.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_operations.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_property.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_property.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/create_group_operation.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/create_group_operation.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/delete_group_operation.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/delete_group_operation.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/device.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/device.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/devices.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/devices.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/enhanced_mode_video.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/enhanced_mode_video.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/flexible_io_device.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/flexible_io_device.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_connection.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_connection_info.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection_info.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_crash_reporting.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_crash_reporting.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_os.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_os.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_state.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_state.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/host_processor_modify_request.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/host_processor_modify_request.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/hosted_system.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hosted_system.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_2.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_2.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_address.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_address.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_service_config.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_service_config.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_system_config.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_system_config.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/interrupt_moderation_mode.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/interrupt_moderation_mode.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/iov_settings.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/iov_settings.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/keyboard.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/keyboard.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/layer.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/layer.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/linux_kernel_direct.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/linux_kernel_direct.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/logical_processor.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/logical_processor.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/mapped_directory.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_directory.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/mapped_pipe.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_pipe.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/memory.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_2.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_2.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_information_for_vm.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_information_for_vm.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_stats.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_stats.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/modification_request.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modification_request.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/modify_setting_request.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modify_setting_request.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/mouse.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mouse.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/network_adapter.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/network_adapter.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/networking.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/networking.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/pause_notification.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_notification.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/pause_options.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_options.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/plan9.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/plan9_share.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9_share.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/process_details.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_details.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/process_modify_request.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_modify_request.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/process_parameters.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_parameters.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/process_status.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_status.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/processor.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor.go


+ 4 - 1
vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_2.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_2.go

@@ -3,7 +3,7 @@
  *
  *
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
  *
  *
- * API version: 2.1
+ * API version: 2.5
  * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
  * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
  */
  */
 
 
@@ -17,4 +17,7 @@ type Processor2 struct {
 	Weight int32 `json:"Weight,omitempty"`
 	Weight int32 `json:"Weight,omitempty"`
 
 
 	ExposeVirtualizationExtensions bool `json:"ExposeVirtualizationExtensions,omitempty"`
 	ExposeVirtualizationExtensions bool `json:"ExposeVirtualizationExtensions,omitempty"`
+
+	// An optional object that configures the CPU Group to which a Virtual Machine is going to bind to.
+	CpuGroup *CpuGroup `json:"CpuGroup,omitempty"`
 }
 }

+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_stats.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_stats.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_topology.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_topology.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/properties.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/properties.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/property_query.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_query.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/property_type.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_type.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/rdp_connection_options.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/rdp_connection_options.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_changes.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_changes.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_key.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_key.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_value.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_value.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/restore_state.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/restore_state.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/save_options.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/save_options.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/scsi.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/scsi.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/service_properties.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/service_properties.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_configuration.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_configuration.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_region.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_region_info.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region_info.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/silo_properties.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/silo_properties.go


+ 0 - 0
vendor/github.com/Microsoft/hcsshim/internal/schema2/statistics.go → vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/statistics.go


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio