diff options
author | Chuan Zheng | 2020-09-16 08:21:57 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2020-09-25 13:45:57 +0200 |
commit | 7df3aa30838c010ce9b2f587afdcd6609386f630 (patch) | |
tree | a874150d0cd46b48ef80c06061caac11283bd52b /qapi | |
parent | migration/dirtyrate: setup up query-dirtyrate framwork (diff) | |
download | qemu-7df3aa30838c010ce9b2f587afdcd6609386f630.tar.gz qemu-7df3aa30838c010ce9b2f587afdcd6609386f630.tar.xz qemu-7df3aa30838c010ce9b2f587afdcd6609386f630.zip |
migration/dirtyrate: add DirtyRateStatus to denote calculation status
add DirtyRateStatus to denote calculating status.
Signed-off-by: Chuan Zheng <zhengchuan@huawei.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <1600237327-33618-3-git-send-email-zhengchuan@huawei.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
atomic name fixup
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/migration.json | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/qapi/migration.json b/qapi/migration.json index 675f70bb67..76a59b4f92 100644 --- a/qapi/migration.json +++ b/qapi/migration.json @@ -1720,3 +1720,20 @@ ## { 'event': 'UNPLUG_PRIMARY', 'data': { 'device-id': 'str' } } + +## +# @DirtyRateStatus: +# +# An enumeration of dirtyrate status. +# +# @unstarted: the dirtyrate thread has not been started. +# +# @measuring: the dirtyrate thread is measuring. +# +# @measured: the dirtyrate thread has measured and results are available. +# +# Since: 5.2 +# +## +{ 'enum': 'DirtyRateStatus', + 'data': [ 'unstarted', 'measuring', 'measured'] } |