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
implementations | implementation list | Choice of implementation technologies.
115
+
### sock_path
116
+
```json
117
+
"sock_path"
118
+
```
119
+
type `sock_path` = `string`
120
+
Path to a UNIX domain socket
115
121
### uri
116
122
```json
117
123
"uri"
@@ -510,6 +516,86 @@ class Datapath_myimplementation(Datapath_skeleton):
510
516
dbg | in | string | Debug context from the caller
511
517
uri | in | uri | A URI which represents how to access the volume disk data.
512
518
domain | in | domain | An opaque string which represents the Xen domain.
519
+
## Method: `import_activate`
520
+
\[import\_activate uri domain\] prepares a connection to the storage named by \[uri\] for use by inbound import mirroring, the \[domain\] parameter identifies which domain to connect to, most likely 0 or a custom storage domain. The return value is a path to a UNIX domain socket to which an open file descriptor may be passed, by SCM\_RIGHTS. This, in turn, will become the server end of a Network Block Device \(NBD\) connection using, new-fixed protocol. Implementations shall declare the VDI\_MIRROR\_IN feature for this method to be supported. It is expected that activate will have been previously called so that there is an active datapath.
uri | in | uri | A URI which represents how to access the volume disk data.
597
+
domain | in | domain | An opaque string which represents the Xen domain.
598
+
sock_path | out | sock_path | A path to a UNIX domain socket in the filesystem.
513
599
## Method: `deactivate`
514
600
\[deactivate uri domain\] is called as soon as a VM has finished reading or writing its disk. This is an opportunity for an implementation which needs to perform an explicit volume handover to do it. This function is called in the migration downtime window so delays here will be noticeable to users and should be minimised. This function is idempotent.
515
601
@@ -519,7 +605,7 @@ class Datapath_myimplementation(Datapath_skeleton):
0 commit comments