]> Git Repo - qemu.git/blob - qapi/migration.json
multifd: Drop x-
[qemu.git] / qapi / migration.json
1 # -*- Mode: Python -*-
2 #
3
4 ##
5 # = Migration
6 ##
7
8 { 'include': 'common.json' }
9 { 'include': 'sockets.json' }
10
11 ##
12 # @MigrationStats:
13 #
14 # Detailed migration status.
15 #
16 # @transferred: amount of bytes already transferred to the target VM
17 #
18 # @remaining: amount of bytes remaining to be transferred to the target VM
19 #
20 # @total: total amount of bytes involved in the migration process
21 #
22 # @duplicate: number of duplicate (zero) pages (since 1.2)
23 #
24 # @skipped: number of skipped zero pages (since 1.5)
25 #
26 # @normal: number of normal pages (since 1.2)
27 #
28 # @normal-bytes: number of normal bytes sent (since 1.2)
29 #
30 # @dirty-pages-rate: number of pages dirtied by second by the
31 #        guest (since 1.3)
32 #
33 # @mbps: throughput in megabits/sec. (since 1.6)
34 #
35 # @dirty-sync-count: number of times that dirty ram was synchronized (since 2.1)
36 #
37 # @postcopy-requests: The number of page requests received from the destination
38 #        (since 2.7)
39 #
40 # @page-size: The number of bytes per page for the various page-based
41 #        statistics (since 2.10)
42 #
43 # @multifd-bytes: The number of bytes sent through multifd (since 3.0)
44 #
45 # @pages-per-second: the number of memory pages transferred per second
46 #        (Since 4.0)
47 #
48 # Since: 0.14.0
49 ##
50 { 'struct': 'MigrationStats',
51   'data': {'transferred': 'int', 'remaining': 'int', 'total': 'int' ,
52            'duplicate': 'int', 'skipped': 'int', 'normal': 'int',
53            'normal-bytes': 'int', 'dirty-pages-rate' : 'int',
54            'mbps' : 'number', 'dirty-sync-count' : 'int',
55            'postcopy-requests' : 'int', 'page-size' : 'int',
56            'multifd-bytes' : 'uint64', 'pages-per-second' : 'uint64' } }
57
58 ##
59 # @XBZRLECacheStats:
60 #
61 # Detailed XBZRLE migration cache statistics
62 #
63 # @cache-size: XBZRLE cache size
64 #
65 # @bytes: amount of bytes already transferred to the target VM
66 #
67 # @pages: amount of pages transferred to the target VM
68 #
69 # @cache-miss: number of cache miss
70 #
71 # @cache-miss-rate: rate of cache miss (since 2.1)
72 #
73 # @overflow: number of overflows
74 #
75 # Since: 1.2
76 ##
77 { 'struct': 'XBZRLECacheStats',
78   'data': {'cache-size': 'int', 'bytes': 'int', 'pages': 'int',
79            'cache-miss': 'int', 'cache-miss-rate': 'number',
80            'overflow': 'int' } }
81
82 ##
83 # @CompressionStats:
84 #
85 # Detailed migration compression statistics
86 #
87 # @pages: amount of pages compressed and transferred to the target VM
88 #
89 # @busy: count of times that no free thread was available to compress data
90 #
91 # @busy-rate: rate of thread busy
92 #
93 # @compressed-size: amount of bytes after compression
94 #
95 # @compression-rate: rate of compressed size
96 #
97 # Since: 3.1
98 ##
99 { 'struct': 'CompressionStats',
100   'data': {'pages': 'int', 'busy': 'int', 'busy-rate': 'number',
101            'compressed-size': 'int', 'compression-rate': 'number' } }
102
103 ##
104 # @MigrationStatus:
105 #
106 # An enumeration of migration status.
107 #
108 # @none: no migration has ever happened.
109 #
110 # @setup: migration process has been initiated.
111 #
112 # @cancelling: in the process of cancelling migration.
113 #
114 # @cancelled: cancelling migration is finished.
115 #
116 # @active: in the process of doing migration.
117 #
118 # @postcopy-active: like active, but now in postcopy mode. (since 2.5)
119 #
120 # @postcopy-paused: during postcopy but paused. (since 3.0)
121 #
122 # @postcopy-recover: trying to recover from a paused postcopy. (since 3.0)
123 #
124 # @completed: migration is finished.
125 #
126 # @failed: some error occurred during migration process.
127 #
128 # @colo: VM is in the process of fault tolerance, VM can not get into this
129 #        state unless colo capability is enabled for migration. (since 2.8)
130 #
131 # @pre-switchover: Paused before device serialisation. (since 2.11)
132 #
133 # @device: During device serialisation when pause-before-switchover is enabled
134 #        (since 2.11)
135 #
136 # Since: 2.3
137 #
138 ##
139 { 'enum': 'MigrationStatus',
140   'data': [ 'none', 'setup', 'cancelling', 'cancelled',
141             'active', 'postcopy-active', 'postcopy-paused',
142             'postcopy-recover', 'completed', 'failed', 'colo',
143             'pre-switchover', 'device' ] }
144
145 ##
146 # @MigrationInfo:
147 #
148 # Information about current migration process.
149 #
150 # @status: @MigrationStatus describing the current migration status.
151 #          If this field is not returned, no migration process
152 #          has been initiated
153 #
154 # @ram: @MigrationStats containing detailed migration
155 #       status, only returned if status is 'active' or
156 #       'completed'(since 1.2)
157 #
158 # @disk: @MigrationStats containing detailed disk migration
159 #        status, only returned if status is 'active' and it is a block
160 #        migration
161 #
162 # @xbzrle-cache: @XBZRLECacheStats containing detailed XBZRLE
163 #                migration statistics, only returned if XBZRLE feature is on and
164 #                status is 'active' or 'completed' (since 1.2)
165 #
166 # @total-time: total amount of milliseconds since migration started.
167 #        If migration has ended, it returns the total migration
168 #        time. (since 1.2)
169 #
170 # @downtime: only present when migration finishes correctly
171 #        total downtime in milliseconds for the guest.
172 #        (since 1.3)
173 #
174 # @expected-downtime: only present while migration is active
175 #        expected downtime in milliseconds for the guest in last walk
176 #        of the dirty bitmap. (since 1.3)
177 #
178 # @setup-time: amount of setup time in milliseconds _before_ the
179 #        iterations begin but _after_ the QMP command is issued. This is designed
180 #        to provide an accounting of any activities (such as RDMA pinning) which
181 #        may be expensive, but do not actually occur during the iterative
182 #        migration rounds themselves. (since 1.6)
183 #
184 # @cpu-throttle-percentage: percentage of time guest cpus are being
185 #        throttled during auto-converge. This is only present when auto-converge
186 #        has started throttling guest cpus. (Since 2.7)
187 #
188 # @error-desc: the human readable error description string, when
189 #              @status is 'failed'. Clients should not attempt to parse the
190 #              error strings. (Since 2.7)
191 #
192 # @postcopy-blocktime: total time when all vCPU were blocked during postcopy
193 #           live migration. This is only present when the postcopy-blocktime
194 #           migration capability is enabled. (Since 3.0)
195 #
196 # @postcopy-vcpu-blocktime: list of the postcopy blocktime per vCPU.  This is
197 #           only present when the postcopy-blocktime migration capability
198 #           is enabled. (Since 3.0)
199 #
200 # @compression: migration compression statistics, only returned if compression
201 #           feature is on and status is 'active' or 'completed' (Since 3.1)
202 #
203 # @socket-address: Only used for tcp, to know what the real port is (Since 4.0)
204 #
205 # Since: 0.14.0
206 ##
207 { 'struct': 'MigrationInfo',
208   'data': {'*status': 'MigrationStatus', '*ram': 'MigrationStats',
209            '*disk': 'MigrationStats',
210            '*xbzrle-cache': 'XBZRLECacheStats',
211            '*total-time': 'int',
212            '*expected-downtime': 'int',
213            '*downtime': 'int',
214            '*setup-time': 'int',
215            '*cpu-throttle-percentage': 'int',
216            '*error-desc': 'str',
217            '*postcopy-blocktime' : 'uint32',
218            '*postcopy-vcpu-blocktime': ['uint32'],
219            '*compression': 'CompressionStats',
220            '*socket-address': ['SocketAddress'] } }
221
222 ##
223 # @query-migrate:
224 #
225 # Returns information about current migration process. If migration
226 # is active there will be another json-object with RAM migration
227 # status and if block migration is active another one with block
228 # migration status.
229 #
230 # Returns: @MigrationInfo
231 #
232 # Since: 0.14.0
233 #
234 # Example:
235 #
236 # 1. Before the first migration
237 #
238 # -> { "execute": "query-migrate" }
239 # <- { "return": {} }
240 #
241 # 2. Migration is done and has succeeded
242 #
243 # -> { "execute": "query-migrate" }
244 # <- { "return": {
245 #         "status": "completed",
246 #         "total-time":12345,
247 #         "setup-time":12345,
248 #         "downtime":12345,
249 #         "ram":{
250 #           "transferred":123,
251 #           "remaining":123,
252 #           "total":246,
253 #           "duplicate":123,
254 #           "normal":123,
255 #           "normal-bytes":123456,
256 #           "dirty-sync-count":15
257 #         }
258 #      }
259 #    }
260 #
261 # 3. Migration is done and has failed
262 #
263 # -> { "execute": "query-migrate" }
264 # <- { "return": { "status": "failed" } }
265 #
266 # 4. Migration is being performed and is not a block migration:
267 #
268 # -> { "execute": "query-migrate" }
269 # <- {
270 #       "return":{
271 #          "status":"active",
272 #          "total-time":12345,
273 #          "setup-time":12345,
274 #          "expected-downtime":12345,
275 #          "ram":{
276 #             "transferred":123,
277 #             "remaining":123,
278 #             "total":246,
279 #             "duplicate":123,
280 #             "normal":123,
281 #             "normal-bytes":123456,
282 #             "dirty-sync-count":15
283 #          }
284 #       }
285 #    }
286 #
287 # 5. Migration is being performed and is a block migration:
288 #
289 # -> { "execute": "query-migrate" }
290 # <- {
291 #       "return":{
292 #          "status":"active",
293 #          "total-time":12345,
294 #          "setup-time":12345,
295 #          "expected-downtime":12345,
296 #          "ram":{
297 #             "total":1057024,
298 #             "remaining":1053304,
299 #             "transferred":3720,
300 #             "duplicate":123,
301 #             "normal":123,
302 #             "normal-bytes":123456,
303 #             "dirty-sync-count":15
304 #          },
305 #          "disk":{
306 #             "total":20971520,
307 #             "remaining":20880384,
308 #             "transferred":91136
309 #          }
310 #       }
311 #    }
312 #
313 # 6. Migration is being performed and XBZRLE is active:
314 #
315 # -> { "execute": "query-migrate" }
316 # <- {
317 #       "return":{
318 #          "status":"active",
319 #          "total-time":12345,
320 #          "setup-time":12345,
321 #          "expected-downtime":12345,
322 #          "ram":{
323 #             "total":1057024,
324 #             "remaining":1053304,
325 #             "transferred":3720,
326 #             "duplicate":10,
327 #             "normal":3333,
328 #             "normal-bytes":3412992,
329 #             "dirty-sync-count":15
330 #          },
331 #          "xbzrle-cache":{
332 #             "cache-size":67108864,
333 #             "bytes":20971520,
334 #             "pages":2444343,
335 #             "cache-miss":2244,
336 #             "cache-miss-rate":0.123,
337 #             "overflow":34434
338 #          }
339 #       }
340 #    }
341 #
342 ##
343 { 'command': 'query-migrate', 'returns': 'MigrationInfo' }
344
345 ##
346 # @MigrationCapability:
347 #
348 # Migration capabilities enumeration
349 #
350 # @xbzrle: Migration supports xbzrle (Xor Based Zero Run Length Encoding).
351 #          This feature allows us to minimize migration traffic for certain work
352 #          loads, by sending compressed difference of the pages
353 #
354 # @rdma-pin-all: Controls whether or not the entire VM memory footprint is
355 #          mlock()'d on demand or all at once. Refer to docs/rdma.txt for usage.
356 #          Disabled by default. (since 2.0)
357 #
358 # @zero-blocks: During storage migration encode blocks of zeroes efficiently. This
359 #          essentially saves 1MB of zeroes per block on the wire. Enabling requires
360 #          source and target VM to support this feature. To enable it is sufficient
361 #          to enable the capability on the source VM. The feature is disabled by
362 #          default. (since 1.6)
363 #
364 # @compress: Use multiple compression threads to accelerate live migration.
365 #          This feature can help to reduce the migration traffic, by sending
366 #          compressed pages. Please note that if compress and xbzrle are both
367 #          on, compress only takes effect in the ram bulk stage, after that,
368 #          it will be disabled and only xbzrle takes effect, this can help to
369 #          minimize migration traffic. The feature is disabled by default.
370 #          (since 2.4 )
371 #
372 # @events: generate events for each migration state change
373 #          (since 2.4 )
374 #
375 # @auto-converge: If enabled, QEMU will automatically throttle down the guest
376 #          to speed up convergence of RAM migration. (since 1.6)
377 #
378 # @postcopy-ram: Start executing on the migration target before all of RAM has
379 #          been migrated, pulling the remaining pages along as needed. The
380 #          capacity must have the same setting on both source and target
381 #          or migration will not even start. NOTE: If the migration fails during
382 #          postcopy the VM will fail.  (since 2.6)
383 #
384 # @x-colo: If enabled, migration will never end, and the state of the VM on the
385 #        primary side will be migrated continuously to the VM on secondary
386 #        side, this process is called COarse-Grain LOck Stepping (COLO) for
387 #        Non-stop Service. (since 2.8)
388 #
389 # @release-ram: if enabled, qemu will free the migrated ram pages on the source
390 #        during postcopy-ram migration. (since 2.9)
391 #
392 # @block: If enabled, QEMU will also migrate the contents of all block
393 #          devices.  Default is disabled.  A possible alternative uses
394 #          mirror jobs to a builtin NBD server on the destination, which
395 #          offers more flexibility.
396 #          (Since 2.10)
397 #
398 # @return-path: If enabled, migration will use the return path even
399 #               for precopy. (since 2.10)
400 #
401 # @pause-before-switchover: Pause outgoing migration before serialising device
402 #          state and before disabling block IO (since 2.11)
403 #
404 # @multifd: Use more than one fd for migration (since 4.0)
405 #
406 # @dirty-bitmaps: If enabled, QEMU will migrate named dirty bitmaps.
407 #                 (since 2.12)
408 #
409 # @postcopy-blocktime: Calculate downtime for postcopy live migration
410 #                     (since 3.0)
411 #
412 # @late-block-activate: If enabled, the destination will not activate block
413 #           devices (and thus take locks) immediately at the end of migration.
414 #           (since 3.0)
415 #
416 # @x-ignore-shared: If enabled, QEMU will not migrate shared memory (since 4.0)
417 #
418 # Since: 1.2
419 ##
420 { 'enum': 'MigrationCapability',
421   'data': ['xbzrle', 'rdma-pin-all', 'auto-converge', 'zero-blocks',
422            'compress', 'events', 'postcopy-ram', 'x-colo', 'release-ram',
423            'block', 'return-path', 'pause-before-switchover', 'multifd',
424            'dirty-bitmaps', 'postcopy-blocktime', 'late-block-activate',
425            'x-ignore-shared' ] }
426
427 ##
428 # @MigrationCapabilityStatus:
429 #
430 # Migration capability information
431 #
432 # @capability: capability enum
433 #
434 # @state: capability state bool
435 #
436 # Since: 1.2
437 ##
438 { 'struct': 'MigrationCapabilityStatus',
439   'data': { 'capability' : 'MigrationCapability', 'state' : 'bool' } }
440
441 ##
442 # @migrate-set-capabilities:
443 #
444 # Enable/Disable the following migration capabilities (like xbzrle)
445 #
446 # @capabilities: json array of capability modifications to make
447 #
448 # Since: 1.2
449 #
450 # Example:
451 #
452 # -> { "execute": "migrate-set-capabilities" , "arguments":
453 #      { "capabilities": [ { "capability": "xbzrle", "state": true } ] } }
454 #
455 ##
456 { 'command': 'migrate-set-capabilities',
457   'data': { 'capabilities': ['MigrationCapabilityStatus'] } }
458
459 ##
460 # @query-migrate-capabilities:
461 #
462 # Returns information about the current migration capabilities status
463 #
464 # Returns: @MigrationCapabilitiesStatus
465 #
466 # Since: 1.2
467 #
468 # Example:
469 #
470 # -> { "execute": "query-migrate-capabilities" }
471 # <- { "return": [
472 #       {"state": false, "capability": "xbzrle"},
473 #       {"state": false, "capability": "rdma-pin-all"},
474 #       {"state": false, "capability": "auto-converge"},
475 #       {"state": false, "capability": "zero-blocks"},
476 #       {"state": false, "capability": "compress"},
477 #       {"state": true, "capability": "events"},
478 #       {"state": false, "capability": "postcopy-ram"},
479 #       {"state": false, "capability": "x-colo"}
480 #    ]}
481 #
482 ##
483 { 'command': 'query-migrate-capabilities', 'returns':   ['MigrationCapabilityStatus']}
484
485 ##
486 # @MigrationParameter:
487 #
488 # Migration parameters enumeration
489 #
490 # @announce-initial: Initial delay (in milliseconds) before sending the first
491 #          announce (Since 4.0)
492 #
493 # @announce-max: Maximum delay (in milliseconds) between packets in the
494 #          announcement (Since 4.0)
495 #
496 # @announce-rounds: Number of self-announce packets sent after migration
497 #          (Since 4.0)
498 #
499 # @announce-step: Increase in delay (in milliseconds) between subsequent
500 #          packets in the announcement (Since 4.0)
501 #
502 # @compress-level: Set the compression level to be used in live migration,
503 #          the compression level is an integer between 0 and 9, where 0 means
504 #          no compression, 1 means the best compression speed, and 9 means best
505 #          compression ratio which will consume more CPU.
506 #
507 # @compress-threads: Set compression thread count to be used in live migration,
508 #          the compression thread count is an integer between 1 and 255.
509 #
510 # @compress-wait-thread: Controls behavior when all compression threads are
511 #                        currently busy. If true (default), wait for a free
512 #                        compression thread to become available; otherwise,
513 #                        send the page uncompressed. (Since 3.1)
514 #
515 # @decompress-threads: Set decompression thread count to be used in live
516 #          migration, the decompression thread count is an integer between 1
517 #          and 255. Usually, decompression is at least 4 times as fast as
518 #          compression, so set the decompress-threads to the number about 1/4
519 #          of compress-threads is adequate.
520 #
521 # @cpu-throttle-initial: Initial percentage of time guest cpus are throttled
522 #                        when migration auto-converge is activated. The
523 #                        default value is 20. (Since 2.7)
524 #
525 # @cpu-throttle-increment: throttle percentage increase each time
526 #                          auto-converge detects that migration is not making
527 #                          progress. The default value is 10. (Since 2.7)
528 #
529 # @tls-creds: ID of the 'tls-creds' object that provides credentials for
530 #             establishing a TLS connection over the migration data channel.
531 #             On the outgoing side of the migration, the credentials must
532 #             be for a 'client' endpoint, while for the incoming side the
533 #             credentials must be for a 'server' endpoint. Setting this
534 #             will enable TLS for all migrations. The default is unset,
535 #             resulting in unsecured migration at the QEMU level. (Since 2.7)
536 #
537 # @tls-hostname: hostname of the target host for the migration. This is
538 #                required when using x509 based TLS credentials and the
539 #                migration URI does not already include a hostname. For
540 #                example if using fd: or exec: based migration, the
541 #                hostname must be provided so that the server's x509
542 #                certificate identity can be validated. (Since 2.7)
543 #
544 # @max-bandwidth: to set maximum speed for migration. maximum speed in
545 #                 bytes per second. (Since 2.8)
546 #
547 # @downtime-limit: set maximum tolerated downtime for migration. maximum
548 #                  downtime in milliseconds (Since 2.8)
549 #
550 # @x-checkpoint-delay: The delay time (in ms) between two COLO checkpoints in
551 #          periodic mode. (Since 2.8)
552 #
553 # @block-incremental: Affects how much storage is migrated when the
554 #       block migration capability is enabled.  When false, the entire
555 #       storage backing chain is migrated into a flattened image at
556 #       the destination; when true, only the active qcow2 layer is
557 #       migrated and the destination must already have access to the
558 #       same backing chain as was used on the source.  (since 2.10)
559 #
560 # @multifd-channels: Number of channels used to migrate data in
561 #                    parallel. This is the same number that the
562 #                    number of sockets used for migration.  The
563 #                    default value is 2 (since 4.0)
564 #
565 # @xbzrle-cache-size: cache size to be used by XBZRLE migration.  It
566 #                     needs to be a multiple of the target page size
567 #                     and a power of 2
568 #                     (Since 2.11)
569 #
570 # @max-postcopy-bandwidth: Background transfer bandwidth during postcopy.
571 #                     Defaults to 0 (unlimited).  In bytes per second.
572 #                     (Since 3.0)
573 #
574 # @max-cpu-throttle: maximum cpu throttle percentage.
575 #                    Defaults to 99. (Since 3.1)
576 #
577 # Since: 2.4
578 ##
579 { 'enum': 'MigrationParameter',
580   'data': ['announce-initial', 'announce-max',
581            'announce-rounds', 'announce-step',
582            'compress-level', 'compress-threads', 'decompress-threads',
583            'compress-wait-thread',
584            'cpu-throttle-initial', 'cpu-throttle-increment',
585            'tls-creds', 'tls-hostname', 'max-bandwidth',
586            'downtime-limit', 'x-checkpoint-delay', 'block-incremental',
587            'multifd-channels',
588            'xbzrle-cache-size', 'max-postcopy-bandwidth',
589            'max-cpu-throttle' ] }
590
591 ##
592 # @MigrateSetParameters:
593 #
594 # @announce-initial: Initial delay (in milliseconds) before sending the first
595 #          announce (Since 4.0)
596 #
597 # @announce-max: Maximum delay (in milliseconds) between packets in the
598 #          announcement (Since 4.0)
599 #
600 # @announce-rounds: Number of self-announce packets sent after migration
601 #          (Since 4.0)
602 #
603 # @announce-step: Increase in delay (in milliseconds) between subsequent
604 #          packets in the announcement (Since 4.0)
605 #
606 # @compress-level: compression level
607 #
608 # @compress-threads: compression thread count
609 #
610 # @compress-wait-thread: Controls behavior when all compression threads are
611 #                        currently busy. If true (default), wait for a free
612 #                        compression thread to become available; otherwise,
613 #                        send the page uncompressed. (Since 3.1)
614 #
615 # @decompress-threads: decompression thread count
616 #
617 # @cpu-throttle-initial: Initial percentage of time guest cpus are
618 #                        throttled when migration auto-converge is activated.
619 #                        The default value is 20. (Since 2.7)
620 #
621 # @cpu-throttle-increment: throttle percentage increase each time
622 #                          auto-converge detects that migration is not making
623 #                          progress. The default value is 10. (Since 2.7)
624 #
625 # @tls-creds: ID of the 'tls-creds' object that provides credentials
626 #             for establishing a TLS connection over the migration data
627 #             channel. On the outgoing side of the migration, the credentials
628 #             must be for a 'client' endpoint, while for the incoming side the
629 #             credentials must be for a 'server' endpoint. Setting this
630 #             to a non-empty string enables TLS for all migrations.
631 #             An empty string means that QEMU will use plain text mode for
632 #             migration, rather than TLS (Since 2.9)
633 #             Previously (since 2.7), this was reported by omitting
634 #             tls-creds instead.
635 #
636 # @tls-hostname: hostname of the target host for the migration. This
637 #                is required when using x509 based TLS credentials and the
638 #                migration URI does not already include a hostname. For
639 #                example if using fd: or exec: based migration, the
640 #                hostname must be provided so that the server's x509
641 #                certificate identity can be validated. (Since 2.7)
642 #                An empty string means that QEMU will use the hostname
643 #                associated with the migration URI, if any. (Since 2.9)
644 #                Previously (since 2.7), this was reported by omitting
645 #                tls-hostname instead.
646 #
647 # @max-bandwidth: to set maximum speed for migration. maximum speed in
648 #                 bytes per second. (Since 2.8)
649 #
650 # @downtime-limit: set maximum tolerated downtime for migration. maximum
651 #                  downtime in milliseconds (Since 2.8)
652 #
653 # @x-checkpoint-delay: the delay time between two COLO checkpoints. (Since 2.8)
654 #
655 # @block-incremental: Affects how much storage is migrated when the
656 #       block migration capability is enabled.  When false, the entire
657 #       storage backing chain is migrated into a flattened image at
658 #       the destination; when true, only the active qcow2 layer is
659 #       migrated and the destination must already have access to the
660 #       same backing chain as was used on the source.  (since 2.10)
661 #
662 # @multifd-channels: Number of channels used to migrate data in
663 #                    parallel. This is the same number that the
664 #                    number of sockets used for migration.  The
665 #                    default value is 2 (since 4.0)
666 #
667 # @xbzrle-cache-size: cache size to be used by XBZRLE migration.  It
668 #                     needs to be a multiple of the target page size
669 #                     and a power of 2
670 #                     (Since 2.11)
671 #
672 # @max-postcopy-bandwidth: Background transfer bandwidth during postcopy.
673 #                     Defaults to 0 (unlimited).  In bytes per second.
674 #                     (Since 3.0)
675 #
676 # @max-cpu-throttle: maximum cpu throttle percentage.
677 #                    The default value is 99. (Since 3.1)
678 #
679 # Since: 2.4
680 ##
681 # TODO either fuse back into MigrationParameters, or make
682 # MigrationParameters members mandatory
683 { 'struct': 'MigrateSetParameters',
684   'data': { '*announce-initial': 'size',
685             '*announce-max': 'size',
686             '*announce-rounds': 'size',
687             '*announce-step': 'size',
688             '*compress-level': 'int',
689             '*compress-threads': 'int',
690             '*compress-wait-thread': 'bool',
691             '*decompress-threads': 'int',
692             '*cpu-throttle-initial': 'int',
693             '*cpu-throttle-increment': 'int',
694             '*tls-creds': 'StrOrNull',
695             '*tls-hostname': 'StrOrNull',
696             '*max-bandwidth': 'int',
697             '*downtime-limit': 'int',
698             '*x-checkpoint-delay': 'int',
699             '*block-incremental': 'bool',
700             '*multifd-channels': 'int',
701             '*xbzrle-cache-size': 'size',
702             '*max-postcopy-bandwidth': 'size',
703             '*max-cpu-throttle': 'int' } }
704
705 ##
706 # @migrate-set-parameters:
707 #
708 # Set various migration parameters.
709 #
710 # Since: 2.4
711 #
712 # Example:
713 #
714 # -> { "execute": "migrate-set-parameters" ,
715 #      "arguments": { "compress-level": 1 } }
716 #
717 ##
718 { 'command': 'migrate-set-parameters', 'boxed': true,
719   'data': 'MigrateSetParameters' }
720
721 ##
722 # @MigrationParameters:
723 #
724 # The optional members aren't actually optional.
725 #
726 # @announce-initial: Initial delay (in milliseconds) before sending the
727 #          first announce (Since 4.0)
728 #
729 # @announce-max: Maximum delay (in milliseconds) between packets in the
730 #          announcement (Since 4.0)
731 #
732 # @announce-rounds: Number of self-announce packets sent after migration
733 #          (Since 4.0)
734 #
735 # @announce-step: Increase in delay (in milliseconds) between subsequent
736 #          packets in the announcement (Since 4.0)
737 #
738 # @compress-level: compression level
739 #
740 # @compress-threads: compression thread count
741 #
742 # @compress-wait-thread: Controls behavior when all compression threads are
743 #                        currently busy. If true (default), wait for a free
744 #                        compression thread to become available; otherwise,
745 #                        send the page uncompressed. (Since 3.1)
746 #
747 # @decompress-threads: decompression thread count
748 #
749 # @cpu-throttle-initial: Initial percentage of time guest cpus are
750 #                        throttled when migration auto-converge is activated.
751 #                        (Since 2.7)
752 #
753 # @cpu-throttle-increment: throttle percentage increase each time
754 #                          auto-converge detects that migration is not making
755 #                          progress. (Since 2.7)
756 #
757 # @tls-creds: ID of the 'tls-creds' object that provides credentials
758 #             for establishing a TLS connection over the migration data
759 #             channel. On the outgoing side of the migration, the credentials
760 #             must be for a 'client' endpoint, while for the incoming side the
761 #             credentials must be for a 'server' endpoint.
762 #             An empty string means that QEMU will use plain text mode for
763 #             migration, rather than TLS (Since 2.7)
764 #             Note: 2.8 reports this by omitting tls-creds instead.
765 #
766 # @tls-hostname: hostname of the target host for the migration. This
767 #                is required when using x509 based TLS credentials and the
768 #                migration URI does not already include a hostname. For
769 #                example if using fd: or exec: based migration, the
770 #                hostname must be provided so that the server's x509
771 #                certificate identity can be validated. (Since 2.7)
772 #                An empty string means that QEMU will use the hostname
773 #                associated with the migration URI, if any. (Since 2.9)
774 #                Note: 2.8 reports this by omitting tls-hostname instead.
775 #
776 # @max-bandwidth: to set maximum speed for migration. maximum speed in
777 #                 bytes per second. (Since 2.8)
778 #
779 # @downtime-limit: set maximum tolerated downtime for migration. maximum
780 #                  downtime in milliseconds (Since 2.8)
781 #
782 # @x-checkpoint-delay: the delay time between two COLO checkpoints. (Since 2.8)
783 #
784 # @block-incremental: Affects how much storage is migrated when the
785 #       block migration capability is enabled.  When false, the entire
786 #       storage backing chain is migrated into a flattened image at
787 #       the destination; when true, only the active qcow2 layer is
788 #       migrated and the destination must already have access to the
789 #       same backing chain as was used on the source.  (since 2.10)
790 #
791 # @multifd-channels: Number of channels used to migrate data in
792 #                    parallel. This is the same number that the
793 #                    number of sockets used for migration.
794 #                    The default value is 2 (since 4.0)
795 #
796 # @xbzrle-cache-size: cache size to be used by XBZRLE migration.  It
797 #                     needs to be a multiple of the target page size
798 #                     and a power of 2
799 #                     (Since 2.11)
800 #
801 # @max-postcopy-bandwidth: Background transfer bandwidth during postcopy.
802 #                     Defaults to 0 (unlimited).  In bytes per second.
803 #                     (Since 3.0)
804 #
805 # @max-cpu-throttle: maximum cpu throttle percentage.
806 #                    Defaults to 99.
807 #                     (Since 3.1)
808 #
809 # Since: 2.4
810 ##
811 { 'struct': 'MigrationParameters',
812   'data': { '*announce-initial': 'size',
813             '*announce-max': 'size',
814             '*announce-rounds': 'size',
815             '*announce-step': 'size',
816             '*compress-level': 'uint8',
817             '*compress-threads': 'uint8',
818             '*compress-wait-thread': 'bool',
819             '*decompress-threads': 'uint8',
820             '*cpu-throttle-initial': 'uint8',
821             '*cpu-throttle-increment': 'uint8',
822             '*tls-creds': 'str',
823             '*tls-hostname': 'str',
824             '*max-bandwidth': 'size',
825             '*downtime-limit': 'uint64',
826             '*x-checkpoint-delay': 'uint32',
827             '*block-incremental': 'bool' ,
828             '*multifd-channels': 'uint8',
829             '*xbzrle-cache-size': 'size',
830             '*max-postcopy-bandwidth': 'size',
831             '*max-cpu-throttle':'uint8'} }
832
833 ##
834 # @query-migrate-parameters:
835 #
836 # Returns information about the current migration parameters
837 #
838 # Returns: @MigrationParameters
839 #
840 # Since: 2.4
841 #
842 # Example:
843 #
844 # -> { "execute": "query-migrate-parameters" }
845 # <- { "return": {
846 #          "decompress-threads": 2,
847 #          "cpu-throttle-increment": 10,
848 #          "compress-threads": 8,
849 #          "compress-level": 1,
850 #          "cpu-throttle-initial": 20,
851 #          "max-bandwidth": 33554432,
852 #          "downtime-limit": 300
853 #       }
854 #    }
855 #
856 ##
857 { 'command': 'query-migrate-parameters',
858   'returns': 'MigrationParameters' }
859
860 ##
861 # @client_migrate_info:
862 #
863 # Set migration information for remote display.  This makes the server
864 # ask the client to automatically reconnect using the new parameters
865 # once migration finished successfully.  Only implemented for SPICE.
866 #
867 # @protocol:     must be "spice"
868 # @hostname:     migration target hostname
869 # @port:         spice tcp port for plaintext channels
870 # @tls-port:     spice tcp port for tls-secured channels
871 # @cert-subject: server certificate subject
872 #
873 # Since: 0.14.0
874 #
875 # Example:
876 #
877 # -> { "execute": "client_migrate_info",
878 #      "arguments": { "protocol": "spice",
879 #                     "hostname": "virt42.lab.kraxel.org",
880 #                     "port": 1234 } }
881 # <- { "return": {} }
882 #
883 ##
884 { 'command': 'client_migrate_info',
885   'data': { 'protocol': 'str', 'hostname': 'str', '*port': 'int',
886             '*tls-port': 'int', '*cert-subject': 'str' } }
887
888 ##
889 # @migrate-start-postcopy:
890 #
891 # Followup to a migration command to switch the migration to postcopy mode.
892 # The postcopy-ram capability must be set on both source and destination
893 # before the original migration command.
894 #
895 # Since: 2.5
896 #
897 # Example:
898 #
899 # -> { "execute": "migrate-start-postcopy" }
900 # <- { "return": {} }
901 #
902 ##
903 { 'command': 'migrate-start-postcopy' }
904
905 ##
906 # @MIGRATION:
907 #
908 # Emitted when a migration event happens
909 #
910 # @status: @MigrationStatus describing the current migration status.
911 #
912 # Since: 2.4
913 #
914 # Example:
915 #
916 # <- {"timestamp": {"seconds": 1432121972, "microseconds": 744001},
917 #     "event": "MIGRATION",
918 #     "data": {"status": "completed"} }
919 #
920 ##
921 { 'event': 'MIGRATION',
922   'data': {'status': 'MigrationStatus'}}
923
924 ##
925 # @MIGRATION_PASS:
926 #
927 # Emitted from the source side of a migration at the start of each pass
928 # (when it syncs the dirty bitmap)
929 #
930 # @pass: An incrementing count (starting at 1 on the first pass)
931 #
932 # Since: 2.6
933 #
934 # Example:
935 #
936 # { "timestamp": {"seconds": 1449669631, "microseconds": 239225},
937 #   "event": "MIGRATION_PASS", "data": {"pass": 2} }
938 #
939 ##
940 { 'event': 'MIGRATION_PASS',
941   'data': { 'pass': 'int' } }
942
943 ##
944 # @COLOMessage:
945 #
946 # The message transmission between Primary side and Secondary side.
947 #
948 # @checkpoint-ready: Secondary VM (SVM) is ready for checkpointing
949 #
950 # @checkpoint-request: Primary VM (PVM) tells SVM to prepare for checkpointing
951 #
952 # @checkpoint-reply: SVM gets PVM's checkpoint request
953 #
954 # @vmstate-send: VM's state will be sent by PVM.
955 #
956 # @vmstate-size: The total size of VMstate.
957 #
958 # @vmstate-received: VM's state has been received by SVM.
959 #
960 # @vmstate-loaded: VM's state has been loaded by SVM.
961 #
962 # Since: 2.8
963 ##
964 { 'enum': 'COLOMessage',
965   'data': [ 'checkpoint-ready', 'checkpoint-request', 'checkpoint-reply',
966             'vmstate-send', 'vmstate-size', 'vmstate-received',
967             'vmstate-loaded' ] }
968
969 ##
970 # @COLOMode:
971 #
972 # The COLO current mode.
973 #
974 # @none: COLO is disabled.
975 #
976 # @primary: COLO node in primary side.
977 #
978 # @secondary: COLO node in slave side.
979 #
980 # Since: 2.8
981 ##
982 { 'enum': 'COLOMode',
983   'data': [ 'none', 'primary', 'secondary'] }
984
985 ##
986 # @FailoverStatus:
987 #
988 # An enumeration of COLO failover status
989 #
990 # @none: no failover has ever happened
991 #
992 # @require: got failover requirement but not handled
993 #
994 # @active: in the process of doing failover
995 #
996 # @completed: finish the process of failover
997 #
998 # @relaunch: restart the failover process, from 'none' -> 'completed' (Since 2.9)
999 #
1000 # Since: 2.8
1001 ##
1002 { 'enum': 'FailoverStatus',
1003   'data': [ 'none', 'require', 'active', 'completed', 'relaunch' ] }
1004
1005 ##
1006 # @COLO_EXIT:
1007 #
1008 # Emitted when VM finishes COLO mode due to some errors happening or
1009 # at the request of users.
1010 #
1011 # @mode: report COLO mode when COLO exited.
1012 #
1013 # @reason: describes the reason for the COLO exit.
1014 #
1015 # Since: 3.1
1016 #
1017 # Example:
1018 #
1019 # <- { "timestamp": {"seconds": 2032141960, "microseconds": 417172},
1020 #      "event": "COLO_EXIT", "data": {"mode": "primary", "reason": "request" } }
1021 #
1022 ##
1023 { 'event': 'COLO_EXIT',
1024   'data': {'mode': 'COLOMode', 'reason': 'COLOExitReason' } }
1025
1026 ##
1027 # @COLOExitReason:
1028 #
1029 # The reason for a COLO exit
1030 #
1031 # @none: no failover has ever happened. This can't occur in the
1032 # COLO_EXIT event, only in the result of query-colo-status.
1033 #
1034 # @request: COLO exit is due to an external request
1035 #
1036 # @error: COLO exit is due to an internal error
1037 #
1038 # Since: 3.1
1039 ##
1040 { 'enum': 'COLOExitReason',
1041   'data': [ 'none', 'request', 'error' ] }
1042
1043 ##
1044 # @x-colo-lost-heartbeat:
1045 #
1046 # Tell qemu that heartbeat is lost, request it to do takeover procedures.
1047 # If this command is sent to the PVM, the Primary side will exit COLO mode.
1048 # If sent to the Secondary, the Secondary side will run failover work,
1049 # then takes over server operation to become the service VM.
1050 #
1051 # Since: 2.8
1052 #
1053 # Example:
1054 #
1055 # -> { "execute": "x-colo-lost-heartbeat" }
1056 # <- { "return": {} }
1057 #
1058 ##
1059 { 'command': 'x-colo-lost-heartbeat' }
1060
1061 ##
1062 # @migrate_cancel:
1063 #
1064 # Cancel the current executing migration process.
1065 #
1066 # Returns: nothing on success
1067 #
1068 # Notes: This command succeeds even if there is no migration process running.
1069 #
1070 # Since: 0.14.0
1071 #
1072 # Example:
1073 #
1074 # -> { "execute": "migrate_cancel" }
1075 # <- { "return": {} }
1076 #
1077 ##
1078 { 'command': 'migrate_cancel' }
1079
1080 ##
1081 # @migrate-continue:
1082 #
1083 # Continue migration when it's in a paused state.
1084 #
1085 # @state: The state the migration is currently expected to be in
1086 #
1087 # Returns: nothing on success
1088 # Since: 2.11
1089 # Example:
1090 #
1091 # -> { "execute": "migrate-continue" , "arguments":
1092 #      { "state": "pre-switchover" } }
1093 # <- { "return": {} }
1094 ##
1095 { 'command': 'migrate-continue', 'data': {'state': 'MigrationStatus'} }
1096
1097 ##
1098 # @migrate_set_downtime:
1099 #
1100 # Set maximum tolerated downtime for migration.
1101 #
1102 # @value: maximum downtime in seconds
1103 #
1104 # Returns: nothing on success
1105 #
1106 # Notes: This command is deprecated in favor of 'migrate-set-parameters'
1107 #
1108 # Since: 0.14.0
1109 #
1110 # Example:
1111 #
1112 # -> { "execute": "migrate_set_downtime", "arguments": { "value": 0.1 } }
1113 # <- { "return": {} }
1114 #
1115 ##
1116 { 'command': 'migrate_set_downtime', 'data': {'value': 'number'} }
1117
1118 ##
1119 # @migrate_set_speed:
1120 #
1121 # Set maximum speed for migration.
1122 #
1123 # @value: maximum speed in bytes per second.
1124 #
1125 # Returns: nothing on success
1126 #
1127 # Notes: This command is deprecated in favor of 'migrate-set-parameters'
1128 #
1129 # Since: 0.14.0
1130 #
1131 # Example:
1132 #
1133 # -> { "execute": "migrate_set_speed", "arguments": { "value": 1024 } }
1134 # <- { "return": {} }
1135 #
1136 ##
1137 { 'command': 'migrate_set_speed', 'data': {'value': 'int'} }
1138
1139 ##
1140 # @migrate-set-cache-size:
1141 #
1142 # Set cache size to be used by XBZRLE migration
1143 #
1144 # @value: cache size in bytes
1145 #
1146 # The size will be rounded down to the nearest power of 2.
1147 # The cache size can be modified before and during ongoing migration
1148 #
1149 # Returns: nothing on success
1150 #
1151 # Notes: This command is deprecated in favor of 'migrate-set-parameters'
1152 #
1153 # Since: 1.2
1154 #
1155 # Example:
1156 #
1157 # -> { "execute": "migrate-set-cache-size",
1158 #      "arguments": { "value": 536870912 } }
1159 # <- { "return": {} }
1160 #
1161 ##
1162 { 'command': 'migrate-set-cache-size', 'data': {'value': 'int'} }
1163
1164 ##
1165 # @query-migrate-cache-size:
1166 #
1167 # Query migration XBZRLE cache size
1168 #
1169 # Returns: XBZRLE cache size in bytes
1170 #
1171 # Notes: This command is deprecated in favor of 'query-migrate-parameters'
1172 #
1173 # Since: 1.2
1174 #
1175 # Example:
1176 #
1177 # -> { "execute": "query-migrate-cache-size" }
1178 # <- { "return": 67108864 }
1179 #
1180 ##
1181 { 'command': 'query-migrate-cache-size', 'returns': 'int' }
1182
1183 ##
1184 # @migrate:
1185 #
1186 # Migrates the current running guest to another Virtual Machine.
1187 #
1188 # @uri: the Uniform Resource Identifier of the destination VM
1189 #
1190 # @blk: do block migration (full disk copy)
1191 #
1192 # @inc: incremental disk copy migration
1193 #
1194 # @detach: this argument exists only for compatibility reasons and
1195 #          is ignored by QEMU
1196 #
1197 # @resume: resume one paused migration, default "off". (since 3.0)
1198 #
1199 # Returns: nothing on success
1200 #
1201 # Since: 0.14.0
1202 #
1203 # Notes:
1204 #
1205 # 1. The 'query-migrate' command should be used to check migration's progress
1206 #    and final result (this information is provided by the 'status' member)
1207 #
1208 # 2. All boolean arguments default to false
1209 #
1210 # 3. The user Monitor's "detach" argument is invalid in QMP and should not
1211 #    be used
1212 #
1213 # Example:
1214 #
1215 # -> { "execute": "migrate", "arguments": { "uri": "tcp:0:4446" } }
1216 # <- { "return": {} }
1217 #
1218 ##
1219 { 'command': 'migrate',
1220   'data': {'uri': 'str', '*blk': 'bool', '*inc': 'bool',
1221            '*detach': 'bool', '*resume': 'bool' } }
1222
1223 ##
1224 # @migrate-incoming:
1225 #
1226 # Start an incoming migration, the qemu must have been started
1227 # with -incoming defer
1228 #
1229 # @uri: The Uniform Resource Identifier identifying the source or
1230 #       address to listen on
1231 #
1232 # Returns: nothing on success
1233 #
1234 # Since: 2.3
1235 #
1236 # Notes:
1237 #
1238 # 1. It's a bad idea to use a string for the uri, but it needs to stay
1239 #    compatible with -incoming and the format of the uri is already exposed
1240 #    above libvirt.
1241 #
1242 # 2. QEMU must be started with -incoming defer to allow migrate-incoming to
1243 #    be used.
1244 #
1245 # 3. The uri format is the same as for -incoming
1246 #
1247 # Example:
1248 #
1249 # -> { "execute": "migrate-incoming",
1250 #      "arguments": { "uri": "tcp::4446" } }
1251 # <- { "return": {} }
1252 #
1253 ##
1254 { 'command': 'migrate-incoming', 'data': {'uri': 'str' } }
1255
1256 ##
1257 # @xen-save-devices-state:
1258 #
1259 # Save the state of all devices to file. The RAM and the block devices
1260 # of the VM are not saved by this command.
1261 #
1262 # @filename: the file to save the state of the devices to as binary
1263 # data. See xen-save-devices-state.txt for a description of the binary
1264 # format.
1265 #
1266 # @live: Optional argument to ask QEMU to treat this command as part of a live
1267 # migration. Default to true. (since 2.11)
1268 #
1269 # Returns: Nothing on success
1270 #
1271 # Since: 1.1
1272 #
1273 # Example:
1274 #
1275 # -> { "execute": "xen-save-devices-state",
1276 #      "arguments": { "filename": "/tmp/save" } }
1277 # <- { "return": {} }
1278 #
1279 ##
1280 { 'command': 'xen-save-devices-state',
1281   'data': {'filename': 'str', '*live':'bool' } }
1282
1283 ##
1284 # @xen-set-replication:
1285 #
1286 # Enable or disable replication.
1287 #
1288 # @enable: true to enable, false to disable.
1289 #
1290 # @primary: true for primary or false for secondary.
1291 #
1292 # @failover: true to do failover, false to stop. but cannot be
1293 #            specified if 'enable' is true. default value is false.
1294 #
1295 # Returns: nothing.
1296 #
1297 # Example:
1298 #
1299 # -> { "execute": "xen-set-replication",
1300 #      "arguments": {"enable": true, "primary": false} }
1301 # <- { "return": {} }
1302 #
1303 # Since: 2.9
1304 ##
1305 { 'command': 'xen-set-replication',
1306   'data': { 'enable': 'bool', 'primary': 'bool', '*failover' : 'bool' },
1307   'if': 'defined(CONFIG_REPLICATION)' }
1308
1309 ##
1310 # @ReplicationStatus:
1311 #
1312 # The result format for 'query-xen-replication-status'.
1313 #
1314 # @error: true if an error happened, false if replication is normal.
1315 #
1316 # @desc: the human readable error description string, when
1317 #        @error is 'true'.
1318 #
1319 # Since: 2.9
1320 ##
1321 { 'struct': 'ReplicationStatus',
1322   'data': { 'error': 'bool', '*desc': 'str' },
1323   'if': 'defined(CONFIG_REPLICATION)' }
1324
1325 ##
1326 # @query-xen-replication-status:
1327 #
1328 # Query replication status while the vm is running.
1329 #
1330 # Returns: A @ReplicationResult object showing the status.
1331 #
1332 # Example:
1333 #
1334 # -> { "execute": "query-xen-replication-status" }
1335 # <- { "return": { "error": false } }
1336 #
1337 # Since: 2.9
1338 ##
1339 { 'command': 'query-xen-replication-status',
1340   'returns': 'ReplicationStatus',
1341   'if': 'defined(CONFIG_REPLICATION)' }
1342
1343 ##
1344 # @xen-colo-do-checkpoint:
1345 #
1346 # Xen uses this command to notify replication to trigger a checkpoint.
1347 #
1348 # Returns: nothing.
1349 #
1350 # Example:
1351 #
1352 # -> { "execute": "xen-colo-do-checkpoint" }
1353 # <- { "return": {} }
1354 #
1355 # Since: 2.9
1356 ##
1357 { 'command': 'xen-colo-do-checkpoint',
1358   'if': 'defined(CONFIG_REPLICATION)' }
1359
1360 ##
1361 # @COLOStatus:
1362 #
1363 # The result format for 'query-colo-status'.
1364 #
1365 # @mode: COLO running mode. If COLO is running, this field will return
1366 #        'primary' or 'secondary'.
1367 #
1368 # @reason: describes the reason for the COLO exit.
1369 #
1370 # Since: 3.1
1371 ##
1372 { 'struct': 'COLOStatus',
1373   'data': { 'mode': 'COLOMode', 'reason': 'COLOExitReason' } }
1374
1375 ##
1376 # @query-colo-status:
1377 #
1378 # Query COLO status while the vm is running.
1379 #
1380 # Returns: A @COLOStatus object showing the status.
1381 #
1382 # Example:
1383 #
1384 # -> { "execute": "query-colo-status" }
1385 # <- { "return": { "mode": "primary", "reason": "request" } }
1386 #
1387 # Since: 3.1
1388 ##
1389 { 'command': 'query-colo-status',
1390   'returns': 'COLOStatus' }
1391
1392 ##
1393 # @migrate-recover:
1394 #
1395 # Provide a recovery migration stream URI.
1396 #
1397 # @uri: the URI to be used for the recovery of migration stream.
1398 #
1399 # Returns: nothing.
1400 #
1401 # Example:
1402 #
1403 # -> { "execute": "migrate-recover",
1404 #      "arguments": { "uri": "tcp:192.168.1.200:12345" } }
1405 # <- { "return": {} }
1406 #
1407 # Since: 3.0
1408 ##
1409 { 'command': 'migrate-recover',
1410   'data': { 'uri': 'str' },
1411   'allow-oob': true }
1412
1413 ##
1414 # @migrate-pause:
1415 #
1416 # Pause a migration.  Currently it only supports postcopy.
1417 #
1418 # Returns: nothing.
1419 #
1420 # Example:
1421 #
1422 # -> { "execute": "migrate-pause" }
1423 # <- { "return": {} }
1424 #
1425 # Since: 3.0
1426 ##
1427 { 'command': 'migrate-pause', 'allow-oob': true }
This page took 0.103018 seconds and 4 git commands to generate.