diff options
author | Peter Xu <peterx@redhat.com> | 2016-02-18 13:16:48 +0800 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:45:30 -0600 |
commit | f562dfa2e062e2641460b76f7a8b5817f3116490 (patch) | |
tree | 3c8790d1c3851dddb09b4e4ed359da8c9885bf43 /qapi-schema.json | |
parent | 4b4d731a300e53c842a8d13b2b2b2d57f0289913 (diff) | |
download | hqemu-f562dfa2e062e2641460b76f7a8b5817f3116490.zip hqemu-f562dfa2e062e2641460b76f7a8b5817f3116490.tar.gz |
dump-guest-memory: using static DumpState, add DumpStatus
Instead of malloc/free each time for DumpState, make it
static. Added DumpStatus to show status for dump.
This is to be used for detached dump.
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-Id: <1455772616-8668-4-git-send-email-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index caff580..ccd30c8 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2219,6 +2219,24 @@ '*format': 'DumpGuestMemoryFormat'} } ## +# @DumpStatus +# +# Describe the status of a long-running background guest memory dump. +# +# @none: no dump-guest-memory has started yet. +# +# @active: there is one dump running in background. +# +# @completed: the last dump has finished successfully. +# +# @failed: the last dump has failed. +# +# Since 2.6 +## +{ 'enum': 'DumpStatus', + 'data': [ 'none', 'active', 'completed', 'failed' ] } + +## # @DumpGuestMemoryCapability: # # A list of the available formats for dump-guest-memory |