You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -419,6 +430,9 @@ var _ StorageDeviceAttachment = (*NetworkBlockDeviceStorageDeviceAttachment)(nil
419
430
// Uniform Resource Indicator (URI) represented as a URL, timeout value, and read-only and synchronization modes
420
431
// that you provide.
421
432
//
433
+
// It also set up a channel that will be used by the VZNetworkBlockDeviceStorageDeviceAttachmentDelegate to
434
+
// return changes to the NetworkBlockDeviceAttachment
435
+
//
422
436
// - url is the NBD server URI. The format specified by https://github.com/NetworkBlockDevice/nbd/blob/master/doc/uri.md
423
437
// - timeout is the duration for the connection between the client and server. When the timeout expires, an attempt to reconnect with the server takes place.
424
438
// - forcedReadOnly if true forces the disk attachment to be read-only, regardless of whether or not the NBD server supports write requests.
// The DidEncounterError is triggered via the channel when the NBD client encounters an error that cannot be resolved on the client side.
497
+
// In this state, the client will continue attempting to reconnect, but recovery depends entirely on the server's availability.
498
+
// If the server resumes operation, the connection will recover automatically; however, until the server is restored, the client will continue to experience errors.
// attachmentWasConnectedHandler function is called when a connection to the server is first established as the VM starts,
517
+
// and during any reconnection attempts triggered by connection timeouts or recoverable errors encountered by the NBD client,
518
+
// such as server-side I/O errors.
519
+
//
520
+
// Note that the Virtualization framework may invoke this method multiple times throughout the VM’s lifecycle,
521
+
// ensuring reconnection processes remain seamless and transparent to the guest.
522
+
// For more details, see: https://developer.apple.com/documentation/virtualization/vznetworkblockdevicestoragedeviceattachmentdelegate/4168511-attachmentwasconnected?language=objc
@abstract Return the list of storage devices configurations for this VZVirtualMachineConfiguration. Return an empty array if no storage device configuration is set.
0 commit comments