diff options
| author | Dr. David Alan Gilbert | 2021-02-02 14:55:21 +0100 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2021-02-08 12:19:51 +0100 |
| commit | 3af8554bd068576b0399087583df48518a2a98f6 (patch) | |
| tree | 46a40a36e03b4201ba562180e5ec2f581fe5be02 /qapi | |
| parent | migration: Fix a few absurdly defective error messages (diff) | |
| download | qemu-3af8554bd068576b0399087583df48518a2a98f6.tar.gz qemu-3af8554bd068576b0399087583df48518a2a98f6.tar.xz qemu-3af8554bd068576b0399087583df48518a2a98f6.zip | |
migration: Add blocker information
Modify query-migrate so that it has a flag indicating if outbound
migration is blocked, and if it is a list of reasons.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20210202135522.127380-2-dgilbert@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'qapi')
| -rw-r--r-- | qapi/migration.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qapi/migration.json b/qapi/migration.json index 797f9edbc2..076d2d5634 100644 --- a/qapi/migration.json +++ b/qapi/migration.json @@ -224,6 +224,10 @@ # only returned if VFIO device is present, migration is supported by all # VFIO devices and status is 'active' or 'completed' (since 5.2) # +# @blocked: True if outgoing migration is blocked (since 6.0) +# +# @blocked-reasons: A list of reasons an outgoing migration is blocked (since 6.0) +# # Since: 0.14 ## { 'struct': 'MigrationInfo', @@ -237,6 +241,8 @@ '*setup-time': 'int', '*cpu-throttle-percentage': 'int', '*error-desc': 'str', + 'blocked': 'bool', + '*blocked-reasons': ['str'], '*postcopy-blocktime' : 'uint32', '*postcopy-vcpu-blocktime': ['uint32'], '*compression': 'CompressionStats', |
