diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-05-18 10:05:03 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-05-20 10:21:27 +0200 |
commit | 898a8ad28514f90e13b05707a0ead148caa33541 (patch) | |
tree | 5992a9a2a39e17d335e8f468aa4f546c2a18c91c /vendor/github.com/Microsoft/hcsshim/internal | |
parent | 8bc39f4a90a658e92305369cc2628e2a65874506 (diff) | |
download | podman-898a8ad28514f90e13b05707a0ead148caa33541.tar.gz podman-898a8ad28514f90e13b05707a0ead148caa33541.tar.bz2 podman-898a8ad28514f90e13b05707a0ead148caa33541.zip |
update c/common
Update containers common to the latest HEAD. Some bug fixes in libimage
forced us to have a clearer separation between ordinary images and
manifest lists. Hence, when looking up manifest lists without recursing
into any of their instances, we need to use `LookupManifestList()`.
Also account for some other changes in c/common (e.g., the changed order
in the security labels).
Further vendor the latest HEAD from Buildah which is required to get the
bud tests to pass.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/github.com/Microsoft/hcsshim/internal')
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go | 10 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/callback.go | 4 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/process.go | 67 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema1/schema1.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema1/schema1.go) | 2 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/attachment.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/attachment.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/battery.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/battery.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cache_query_stats_response.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/cache_query_stats_response.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/chipset.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/chipset.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/close_handle.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/close_handle.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/com_port.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/com_port.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/compute_system.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/compute_system.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/configuration.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/configuration.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/console_size.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/console_size.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/container.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_add_instance_request.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_add_instance_request.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_hv_socket_service_config.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_hv_socket_service_config.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_instance.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_instance.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_modify_operation.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_modify_operation.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_operation_request.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_operation_request.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_remove_instance_request.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_remove_instance_request.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_state.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_state.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_system_info.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_system_info.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_memory_information.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/container_memory_information.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_affinity.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_affinity.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_config.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_config.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_configurations.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_configurations.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_operations.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_operations.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_property.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_property.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/create_group_operation.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/create_group_operation.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/delete_group_operation.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/delete_group_operation.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/device.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/device.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/devices.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/devices.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/enhanced_mode_video.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/enhanced_mode_video.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/flexible_io_device.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/flexible_io_device.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_connection.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection_info.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_connection_info.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_crash_reporting.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_crash_reporting.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_os.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_os.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_state.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_state.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/host_processor_modify_request.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/host_processor_modify_request.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hosted_system.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/hosted_system.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_2.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_2.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_address.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_address.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_service_config.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_service_config.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_system_config.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_system_config.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/interrupt_moderation_mode.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/interrupt_moderation_mode.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/iov_settings.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/iov_settings.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/keyboard.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/keyboard.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/layer.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/layer.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/linux_kernel_direct.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/linux_kernel_direct.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/logical_processor.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/logical_processor.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_directory.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/mapped_directory.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_pipe.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/mapped_pipe.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/memory.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_2.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_2.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_information_for_vm.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_information_for_vm.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_stats.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_stats.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modification_request.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/modification_request.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modify_setting_request.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/modify_setting_request.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mouse.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/mouse.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/network_adapter.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/network_adapter.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/networking.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/networking.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_notification.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/pause_notification.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_options.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/pause_options.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/plan9.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9_share.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/plan9_share.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_details.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/process_details.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_modify_request.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/process_modify_request.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_parameters.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/process_parameters.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_status.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/process_status.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/processor.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_2.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_2.go) | 5 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_stats.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_stats.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_topology.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_topology.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/properties.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/properties.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_query.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/property_query.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_type.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/property_type.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/rdp_connection_options.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/rdp_connection_options.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_changes.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_changes.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_key.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_key.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_value.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_value.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/restore_state.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/restore_state.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/save_options.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/save_options.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/scsi.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/scsi.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/service_properties.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/service_properties.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_configuration.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_configuration.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_region.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region_info.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_region_info.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/silo_properties.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/silo_properties.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/statistics.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/statistics.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/storage.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage_qo_s.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/storage_qo_s.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage_stats.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/storage_stats.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/topology.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/topology.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/uefi.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/uefi.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/uefi_boot_entry.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/uefi_boot_entry.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/version.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/version.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/video_monitor.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/video_monitor.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_machine.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_machine.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_node_info.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_node_info.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_p_mem_controller.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_p_mem_controller.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_p_mem_device.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_p_mem_device.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_pci_device.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_pci_device.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_pci_function.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_pci_function.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_smb.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_smb.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_smb_share.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_smb_share.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_smb_share_options.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_smb_share_options.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/vm_memory.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/vm_memory.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/vm_processor_limits.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/vm_processor_limits.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/windows_crash_reporting.go (renamed from vendor/github.com/Microsoft/hcsshim/internal/schema2/windows_crash_reporting.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/service.go | 6 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/hcs/system.go | 38 | ||||
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/internal/wclayer/expandscratchsize.go | 2 |
115 files changed, 96 insertions, 38 deletions
diff --git a/vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go b/vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go index b8e2d4f30..27a62a723 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go @@ -4,8 +4,8 @@ import ( "context" "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. @@ -17,6 +17,12 @@ type Process interface { // CloseStdin causes the process's stdin handle to receive EOF/EPIPE/whatever // is appropriate to indicate that no more data is available. 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() int // Stdio returns the stdio streams for a process. These may be nil if a stream diff --git a/vendor/github.com/Microsoft/hcsshim/internal/hcs/callback.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/callback.go index cebbe75ad..d13772b03 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/hcs/callback.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/callback.go @@ -13,7 +13,7 @@ import ( var ( nextCallback uintptr - callbackMap = map[uintptr]*notifcationWatcherContext{} + callbackMap = map[uintptr]*notificationWatcherContext{} callbackMapLock = sync.RWMutex{} notificationWatcherCallback = syscall.NewCallback(notificationWatcher) @@ -87,7 +87,7 @@ func (hn hcsNotification) String() string { type notificationChannel chan error -type notifcationWatcherContext struct { +type notificationWatcherContext struct { channels notificationChannels handle vmcompute.HcsCallback diff --git a/vendor/github.com/Microsoft/hcsshim/internal/hcs/process.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/process.go index b74389eca..8f2034668 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/hcs/process.go +++ b/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() defer process.handleLock.RUnlock() - operation := "hcsshim::Process::Signal" + operation := "hcs::Process::Signal" if process.handle == 0 { return false, makeProcessError(process, operation, ErrAlreadyClosed, nil) @@ -143,7 +143,7 @@ func (process *Process) Kill(ctx context.Context) (bool, error) { process.handleLock.RLock() defer process.handleLock.RUnlock() - operation := "hcsshim::Process::Kill" + operation := "hcs::Process::Kill" if process.handle == 0 { 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 // call multiple times. func (process *Process) waitBackground() { - operation := "hcsshim::Process::waitBackground" + operation := "hcs::Process::waitBackground" ctx, span := trace.StartSpan(context.Background(), operation) defer span.End() span.AddAttributes( @@ -229,7 +229,7 @@ func (process *Process) ResizeConsole(ctx context.Context, width, height uint16) process.handleLock.RLock() defer process.handleLock.RUnlock() - operation := "hcsshim::Process::ResizeConsole" + operation := "hcs::Process::ResizeConsole" if process.handle == 0 { return makeProcessError(process, operation, ErrAlreadyClosed, nil) @@ -267,7 +267,7 @@ func (process *Process) ExitCode() (int, error) { } return process.exitCode, nil 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 // are the responsibility of the caller to close. 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) defer span.End() defer func() { oc.SetSpanStatus(span, err) }() @@ -327,7 +327,7 @@ func (process *Process) CloseStdin(ctx context.Context) error { process.handleLock.RLock() defer process.handleLock.RUnlock() - operation := "hcsshim::Process::CloseStdin" + operation := "hcs::Process::CloseStdin" if process.handle == 0 { return makeProcessError(process, operation, ErrAlreadyClosed, nil) @@ -361,10 +361,59 @@ func (process *Process) CloseStdin(ctx context.Context) error { 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 // or wait on it. func (process *Process) Close() (err error) { - operation := "hcsshim::Process::Close" + operation := "hcs::Process::Close" ctx, span := trace.StartSpan(context.Background(), operation) defer span.End() defer func() { oc.SetSpanStatus(span, err) }() @@ -414,7 +463,7 @@ func (process *Process) Close() (err error) { } func (process *Process) registerCallback(ctx context.Context) error { - callbackContext := ¬ifcationWatcherContext{ + callbackContext := ¬ificationWatcherContext{ channels: newProcessChannels(), systemID: process.SystemID(), processID: process.processID, diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema1/schema1.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema1/schema1.go index b468ad636..b621c5593 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema1/schema1.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema1/schema1.go @@ -5,7 +5,7 @@ import ( "time" "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 diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/attachment.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/attachment.go index bcfeb34d5..bcfeb34d5 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/attachment.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/attachment.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/battery.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/battery.go index ecbbed4c2..ecbbed4c2 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/battery.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/battery.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cache_query_stats_response.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cache_query_stats_response.go index c1ea3953b..c1ea3953b 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cache_query_stats_response.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cache_query_stats_response.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/chipset.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/chipset.go index ca75277a3..ca75277a3 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/chipset.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/chipset.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/close_handle.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/close_handle.go index b4f9c315b..b4f9c315b 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/close_handle.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/close_handle.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/com_port.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/com_port.go index 8bf8cab60..8bf8cab60 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/com_port.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/com_port.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/compute_system.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/compute_system.go index 10cea67e0..10cea67e0 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/compute_system.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/compute_system.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/configuration.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/configuration.go index 1d5dfe68a..1d5dfe68a 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/configuration.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/configuration.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/console_size.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/console_size.go index 68aa04a57..68aa04a57 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/console_size.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/console_size.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container.go index 4fb231076..4fb231076 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_add_instance_request.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_add_instance_request.go index 495c6ebc8..495c6ebc8 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_add_instance_request.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_add_instance_request.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_hv_socket_service_config.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_hv_socket_service_config.go index 1ed4c008f..1ed4c008f 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_hv_socket_service_config.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_hv_socket_service_config.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_instance.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_instance.go index d7ebd0fcc..d7ebd0fcc 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_instance.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_instance.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_modify_operation.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_modify_operation.go index 71005b090..71005b090 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_modify_operation.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_modify_operation.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_operation_request.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_operation_request.go index 952cda496..952cda496 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_operation_request.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_operation_request.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_remove_instance_request.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_remove_instance_request.go index 32e5a3bee..32e5a3bee 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_remove_instance_request.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_remove_instance_request.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_state.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_state.go index 0f8f64437..0f8f64437 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_state.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_state.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_system_info.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_system_info.go index ea306fa21..ea306fa21 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_credential_guard_system_info.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_system_info.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_memory_information.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_memory_information.go index 1fd7ca5d5..1fd7ca5d5 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/container_memory_information.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_memory_information.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group.go index 90332a519..90332a519 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_affinity.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_affinity.go index 8794961bf..8794961bf 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_affinity.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_affinity.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_config.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_config.go index f1a28cd38..f1a28cd38 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_config.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_config.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_configurations.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_configurations.go index 3ace0ccc3..3ace0ccc3 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_configurations.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_configurations.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_operations.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_operations.go index 7d8978070..7d8978070 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_operations.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_operations.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_property.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_property.go index bbad6a2c4..bbad6a2c4 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/cpu_group_property.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_property.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/create_group_operation.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/create_group_operation.go index 91a8278fe..91a8278fe 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/create_group_operation.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/create_group_operation.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/delete_group_operation.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/delete_group_operation.go index 134bd9881..134bd9881 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/delete_group_operation.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/delete_group_operation.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/device.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/device.go index 107caddad..107caddad 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/device.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/device.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/devices.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/devices.go index e985d96d2..e985d96d2 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/devices.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/devices.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/enhanced_mode_video.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/enhanced_mode_video.go index 85450c41e..85450c41e 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/enhanced_mode_video.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/enhanced_mode_video.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/flexible_io_device.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/flexible_io_device.go index fe86cab65..fe86cab65 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/flexible_io_device.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/flexible_io_device.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_connection.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection.go index 7db29495b..7db29495b 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_connection.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_connection_info.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection_info.go index 8a369bab7..8a369bab7 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_connection_info.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection_info.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_crash_reporting.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_crash_reporting.go index af8280048..af8280048 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_crash_reporting.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_crash_reporting.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_os.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_os.go index 8838519a3..8838519a3 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_os.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_os.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_state.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_state.go index ef1eec886..ef1eec886 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/guest_state.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_state.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/host_processor_modify_request.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/host_processor_modify_request.go index 2238ce530..2238ce530 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/host_processor_modify_request.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/host_processor_modify_request.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hosted_system.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hosted_system.go index ea3084bca..ea3084bca 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hosted_system.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hosted_system.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket.go index 23b2ee9e7..23b2ee9e7 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_2.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_2.go index a017691f0..a017691f0 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_2.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_2.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_address.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_address.go index 84c11b93e..84c11b93e 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_address.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_address.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_service_config.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_service_config.go index ecd9f7fba..ecd9f7fba 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_service_config.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_service_config.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_system_config.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_system_config.go index 69f4f9d39..69f4f9d39 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/hv_socket_system_config.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_system_config.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/interrupt_moderation_mode.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/interrupt_moderation_mode.go index a614d63bd..a614d63bd 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/interrupt_moderation_mode.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/interrupt_moderation_mode.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/iov_settings.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/iov_settings.go index 2a55cc37c..2a55cc37c 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/iov_settings.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/iov_settings.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/keyboard.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/keyboard.go index 3d3fa3b1c..3d3fa3b1c 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/keyboard.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/keyboard.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/layer.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/layer.go index 176c49d49..176c49d49 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/layer.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/layer.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/linux_kernel_direct.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/linux_kernel_direct.go index 0ab6c280f..0ab6c280f 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/linux_kernel_direct.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/linux_kernel_direct.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/logical_processor.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/logical_processor.go index 2e3aa5e17..2e3aa5e17 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/logical_processor.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/logical_processor.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/mapped_directory.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_directory.go index 9b86a4045..9b86a4045 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/mapped_directory.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_directory.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/mapped_pipe.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_pipe.go index 208074e9a..208074e9a 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/mapped_pipe.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_pipe.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/memory.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory.go index 30749c672..30749c672 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/memory.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_2.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_2.go index 71224c75b..71224c75b 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_2.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_2.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_information_for_vm.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_information_for_vm.go index 811779b04..811779b04 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_information_for_vm.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_information_for_vm.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_stats.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_stats.go index 906ba597f..906ba597f 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/memory_stats.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_stats.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/modification_request.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modification_request.go index 1384ed888..1384ed888 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/modification_request.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modification_request.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/modify_setting_request.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modify_setting_request.go index d29455a3e..d29455a3e 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/modify_setting_request.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modify_setting_request.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/mouse.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mouse.go index ccf8b938f..ccf8b938f 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/mouse.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mouse.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/network_adapter.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/network_adapter.go index 7408abd31..7408abd31 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/network_adapter.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/network_adapter.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/networking.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/networking.go index e5ea187a2..e5ea187a2 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/networking.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/networking.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/pause_notification.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_notification.go index d96c9501f..d96c9501f 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/pause_notification.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_notification.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/pause_options.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_options.go index 21707a88e..21707a88e 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/pause_options.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_options.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/plan9.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9.go index 29d8c8012..29d8c8012 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/plan9.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/plan9_share.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9_share.go index 41f8fdea0..41f8fdea0 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/plan9_share.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9_share.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/process_details.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_details.go index e9a662dd5..e9a662dd5 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/process_details.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_details.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/process_modify_request.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_modify_request.go index e4ed095c7..e4ed095c7 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/process_modify_request.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_modify_request.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/process_parameters.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_parameters.go index 82b0d0532..82b0d0532 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/process_parameters.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_parameters.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/process_status.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_status.go index ad9a4fa9a..ad9a4fa9a 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/process_status.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_status.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/processor.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor.go index bb24e88da..bb24e88da 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/processor.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_2.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_2.go index 21fe46062..c64f335ec 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_2.go +++ b/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) * - * API version: 2.1 + * API version: 2.5 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -17,4 +17,7 @@ type Processor2 struct { Weight int32 `json:"Weight,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"` } diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_stats.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_stats.go index 6157e2522..6157e2522 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_stats.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_stats.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_topology.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_topology.go index 885156e77..885156e77 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/processor_topology.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_topology.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/properties.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/properties.go index 17558cba0..17558cba0 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/properties.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/properties.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/property_query.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_query.go index d6d80df13..d6d80df13 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/property_query.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_query.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/property_type.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_type.go index 98f2c96ed..98f2c96ed 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/property_type.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_type.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/rdp_connection_options.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/rdp_connection_options.go index 8d5f5c171..8d5f5c171 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/rdp_connection_options.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/rdp_connection_options.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_changes.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_changes.go index 006906f6e..006906f6e 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_changes.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_changes.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_key.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_key.go index 26fde99c7..26fde99c7 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_key.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_key.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_value.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_value.go index 3f203176c..3f203176c 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/registry_value.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_value.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/restore_state.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/restore_state.go index 778ff5873..778ff5873 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/restore_state.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/restore_state.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/save_options.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/save_options.go index e55fa1d98..e55fa1d98 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/save_options.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/save_options.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/scsi.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/scsi.go index bf253a470..bf253a470 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/scsi.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/scsi.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/service_properties.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/service_properties.go index b8142ca6a..b8142ca6a 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/service_properties.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/service_properties.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_configuration.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_configuration.go index df9baa921..df9baa921 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_configuration.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_configuration.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_region.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region.go index 825b71865..825b71865 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_region.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_region_info.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region_info.go index f67b08eb5..f67b08eb5 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/shared_memory_region_info.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region_info.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/silo_properties.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/silo_properties.go index 5eaf6a7f4..5eaf6a7f4 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/silo_properties.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/silo_properties.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/statistics.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/statistics.go index ba7a6b396..ba7a6b396 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/statistics.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/statistics.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/storage.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage.go index 2627af913..2627af913 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/storage.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/storage_qo_s.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage_qo_s.go index 9c5e6eb53..9c5e6eb53 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/storage_qo_s.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage_qo_s.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/storage_stats.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage_stats.go index 4f042ffd9..4f042ffd9 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/storage_stats.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage_stats.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/topology.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/topology.go index 834869940..834869940 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/topology.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/topology.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/uefi.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/uefi.go index 0e48ece50..0e48ece50 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/uefi.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/uefi.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/uefi_boot_entry.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/uefi_boot_entry.go index 3ab409d82..3ab409d82 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/uefi_boot_entry.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/uefi_boot_entry.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/version.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/version.go index 2abfccca3..2abfccca3 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/version.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/version.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/video_monitor.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/video_monitor.go index ec5d0fb93..ec5d0fb93 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/video_monitor.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/video_monitor.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_machine.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_machine.go index 2d22b1bcb..2d22b1bcb 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_machine.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_machine.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_node_info.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_node_info.go index 91a3c83d4..91a3c83d4 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_node_info.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_node_info.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_p_mem_controller.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_p_mem_controller.go index f5b7f3e38..f5b7f3e38 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_p_mem_controller.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_p_mem_controller.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_p_mem_device.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_p_mem_device.go index 70cf2d90d..70cf2d90d 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_p_mem_device.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_p_mem_device.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_pci_device.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_pci_device.go index f5e05903c..f5e05903c 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_pci_device.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_pci_device.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_pci_function.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_pci_function.go index cedb7d18b..cedb7d18b 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_pci_function.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_pci_function.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_smb.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_smb.go index 362df363e..362df363e 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_smb.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_smb.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_smb_share.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_smb_share.go index 915e9b638..915e9b638 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_smb_share.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_smb_share.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_smb_share_options.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_smb_share_options.go index 75196bd8c..75196bd8c 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/virtual_smb_share_options.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_smb_share_options.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/vm_memory.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/vm_memory.go index 8e1836dd6..8e1836dd6 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/vm_memory.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/vm_memory.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/vm_processor_limits.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/vm_processor_limits.go index de1b9cf1a..de1b9cf1a 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/vm_processor_limits.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/vm_processor_limits.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/windows_crash_reporting.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/windows_crash_reporting.go index 8ed7e566d..8ed7e566d 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/schema2/windows_crash_reporting.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/windows_crash_reporting.go diff --git a/vendor/github.com/Microsoft/hcsshim/internal/hcs/service.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/service.go index 3a5f01250..a634dfc15 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/hcs/service.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/service.go @@ -4,13 +4,13 @@ import ( "context" "encoding/json" - hcsschema "github.com/Microsoft/hcsshim/internal/schema2" + hcsschema "github.com/Microsoft/hcsshim/internal/hcs/schema2" "github.com/Microsoft/hcsshim/internal/vmcompute" ) // GetServiceProperties returns properties of the host compute service. func GetServiceProperties(ctx context.Context, q hcsschema.PropertyQuery) (*hcsschema.ServiceProperties, error) { - operation := "hcsshim::GetServiceProperties" + operation := "hcs::GetServiceProperties" queryb, err := json.Marshal(q) if err != nil { @@ -34,7 +34,7 @@ func GetServiceProperties(ctx context.Context, q hcsschema.PropertyQuery) (*hcss // ModifyServiceSettings modifies settings of the host compute service. func ModifyServiceSettings(ctx context.Context, settings hcsschema.ModificationRequest) error { - operation := "hcsshim::ModifyServiceSettings" + operation := "hcs::ModifyServiceSettings" settingsJSON, err := json.Marshal(settings) if err != nil { diff --git a/vendor/github.com/Microsoft/hcsshim/internal/hcs/system.go b/vendor/github.com/Microsoft/hcsshim/internal/hcs/system.go index cea11dee7..75499c967 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/hcs/system.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/hcs/system.go @@ -9,10 +9,10 @@ import ( "syscall" "github.com/Microsoft/hcsshim/internal/cow" + "github.com/Microsoft/hcsshim/internal/hcs/schema1" + hcsschema "github.com/Microsoft/hcsshim/internal/hcs/schema2" "github.com/Microsoft/hcsshim/internal/log" "github.com/Microsoft/hcsshim/internal/oc" - "github.com/Microsoft/hcsshim/internal/schema1" - hcsschema "github.com/Microsoft/hcsshim/internal/schema2" "github.com/Microsoft/hcsshim/internal/timeout" "github.com/Microsoft/hcsshim/internal/vmcompute" "go.opencensus.io/trace" @@ -40,7 +40,7 @@ func newSystem(id string) *System { // CreateComputeSystem creates a new compute system with the given configuration but does not start it. func CreateComputeSystem(ctx context.Context, id string, hcsDocumentInterface interface{}) (_ *System, err error) { - operation := "hcsshim::CreateComputeSystem" + operation := "hcs::CreateComputeSystem" // hcsCreateComputeSystemContext is an async operation. Start the outer span // here to measure the full create time. @@ -96,7 +96,7 @@ func CreateComputeSystem(ctx context.Context, id string, hcsDocumentInterface in // OpenComputeSystem opens an existing compute system by ID. func OpenComputeSystem(ctx context.Context, id string) (*System, error) { - operation := "hcsshim::OpenComputeSystem" + operation := "hcs::OpenComputeSystem" computeSystem := newSystem(id) handle, resultJSON, err := vmcompute.HcsOpenComputeSystem(ctx, id) @@ -148,7 +148,7 @@ func (computeSystem *System) IsOCI() bool { // GetComputeSystems gets a list of the compute systems on the system that match the query func GetComputeSystems(ctx context.Context, q schema1.ComputeSystemQuery) ([]schema1.ContainerProperties, error) { - operation := "hcsshim::GetComputeSystems" + operation := "hcs::GetComputeSystems" queryb, err := json.Marshal(q) if err != nil { @@ -174,7 +174,7 @@ func GetComputeSystems(ctx context.Context, q schema1.ComputeSystemQuery) ([]sch // Start synchronously starts the computeSystem. func (computeSystem *System) Start(ctx context.Context) (err error) { - operation := "hcsshim::System::Start" + operation := "hcs::System::Start" // hcsStartComputeSystemContext is an async operation. Start the outer span // here to measure the full start time. @@ -209,7 +209,7 @@ func (computeSystem *System) Shutdown(ctx context.Context) error { computeSystem.handleLock.RLock() defer computeSystem.handleLock.RUnlock() - operation := "hcsshim::System::Shutdown" + operation := "hcs::System::Shutdown" if computeSystem.handle == 0 { return nil @@ -230,7 +230,7 @@ func (computeSystem *System) Terminate(ctx context.Context) error { computeSystem.handleLock.RLock() defer computeSystem.handleLock.RUnlock() - operation := "hcsshim::System::Terminate" + operation := "hcs::System::Terminate" if computeSystem.handle == 0 { return nil @@ -252,7 +252,7 @@ func (computeSystem *System) Terminate(ctx context.Context) error { // This MUST be called exactly once per `computeSystem.handle` but `Wait` is // safe to call multiple times. func (computeSystem *System) waitBackground() { - operation := "hcsshim::System::waitBackground" + operation := "hcs::System::waitBackground" ctx, span := trace.StartSpan(context.Background(), operation) defer span.End() span.AddAttributes(trace.StringAttribute("cid", computeSystem.id)) @@ -300,7 +300,7 @@ func (computeSystem *System) Properties(ctx context.Context, types ...schema1.Pr computeSystem.handleLock.RLock() defer computeSystem.handleLock.RUnlock() - operation := "hcsshim::System::Properties" + operation := "hcs::System::Properties" queryBytes, err := json.Marshal(schema1.PropertyQuery{PropertyTypes: types}) if err != nil { @@ -329,7 +329,7 @@ func (computeSystem *System) PropertiesV2(ctx context.Context, types ...hcsschem computeSystem.handleLock.RLock() defer computeSystem.handleLock.RUnlock() - operation := "hcsshim::System::PropertiesV2" + operation := "hcs::System::PropertiesV2" queryBytes, err := json.Marshal(hcsschema.PropertyQuery{PropertyTypes: types}) if err != nil { @@ -355,7 +355,7 @@ func (computeSystem *System) PropertiesV2(ctx context.Context, types ...hcsschem // Pause pauses the execution of the computeSystem. This feature is not enabled in TP5. func (computeSystem *System) Pause(ctx context.Context) (err error) { - operation := "hcsshim::System::Pause" + operation := "hcs::System::Pause" // hcsPauseComputeSystemContext is an async peration. Start the outer span // here to measure the full pause time. @@ -382,7 +382,7 @@ func (computeSystem *System) Pause(ctx context.Context) (err error) { // Resume resumes the execution of the computeSystem. This feature is not enabled in TP5. func (computeSystem *System) Resume(ctx context.Context) (err error) { - operation := "hcsshim::System::Resume" + operation := "hcs::System::Resume" // hcsResumeComputeSystemContext is an async operation. Start the outer span // here to measure the full restore time. @@ -409,7 +409,7 @@ func (computeSystem *System) Resume(ctx context.Context) (err error) { // Save the compute system func (computeSystem *System) Save(ctx context.Context, options interface{}) (err error) { - operation := "hcsshim::System::Save" + operation := "hcs::System::Save" // hcsSaveComputeSystemContext is an async peration. Start the outer span // here to measure the full save time. @@ -465,7 +465,7 @@ func (computeSystem *System) createProcess(ctx context.Context, operation string // CreateProcess launches a new process within the computeSystem. func (computeSystem *System) CreateProcess(ctx context.Context, c interface{}) (cow.Process, error) { - operation := "hcsshim::System::CreateProcess" + operation := "hcs::System::CreateProcess" process, processInfo, err := computeSystem.createProcess(ctx, operation, c) if err != nil { return nil, err @@ -498,7 +498,7 @@ func (computeSystem *System) OpenProcess(ctx context.Context, pid int) (*Process computeSystem.handleLock.RLock() defer computeSystem.handleLock.RUnlock() - operation := "hcsshim::System::OpenProcess" + operation := "hcs::System::OpenProcess" if computeSystem.handle == 0 { return nil, makeSystemError(computeSystem, operation, ErrAlreadyClosed, nil) @@ -521,7 +521,7 @@ func (computeSystem *System) OpenProcess(ctx context.Context, pid int) (*Process // Close cleans up any state associated with the compute system but does not terminate or wait for it. func (computeSystem *System) Close() (err error) { - operation := "hcsshim::System::Close" + operation := "hcs::System::Close" ctx, span := trace.StartSpan(context.Background(), operation) defer span.End() defer func() { oc.SetSpanStatus(span, err) }() @@ -554,7 +554,7 @@ func (computeSystem *System) Close() (err error) { } func (computeSystem *System) registerCallback(ctx context.Context) error { - callbackContext := ¬ifcationWatcherContext{ + callbackContext := ¬ificationWatcherContext{ channels: newSystemChannels(), systemID: computeSystem.id, } @@ -615,7 +615,7 @@ func (computeSystem *System) Modify(ctx context.Context, config interface{}) err computeSystem.handleLock.RLock() defer computeSystem.handleLock.RUnlock() - operation := "hcsshim::System::Modify" + operation := "hcs::System::Modify" if computeSystem.handle == 0 { return makeSystemError(computeSystem, operation, ErrAlreadyClosed, nil) diff --git a/vendor/github.com/Microsoft/hcsshim/internal/wclayer/expandscratchsize.go b/vendor/github.com/Microsoft/hcsshim/internal/wclayer/expandscratchsize.go index 93f27da8a..22f7605be 100644 --- a/vendor/github.com/Microsoft/hcsshim/internal/wclayer/expandscratchsize.go +++ b/vendor/github.com/Microsoft/hcsshim/internal/wclayer/expandscratchsize.go @@ -30,7 +30,7 @@ func ExpandScratchSize(ctx context.Context, path string, size uint64) (err error // Manually expand the volume now in order to work around bugs in 19H1 and // prerelease versions of Vb. Remove once this is fixed in Windows. - if build := osversion.Get().Build; build >= osversion.V19H1 && build < 19020 { + if build := osversion.Build(); build >= osversion.V19H1 && build < 19020 { err = expandSandboxVolume(ctx, path) if err != nil { return err |