diff options
| author | Peter Xu | 2016-02-18 06:16:54 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2016-02-22 18:40:28 +0100 |
| commit | 39ba2ea61f510512764e6f9063a8396d05fe57fe (patch) | |
| tree | 1f8243bc6934d82a8faa75e6eed2d24448c026e1 /linux-headers | |
| parent | DumpState: adding total_size and written_size fields (diff) | |
| download | qemu-39ba2ea61f510512764e6f9063a8396d05fe57fe.tar.gz qemu-39ba2ea61f510512764e6f9063a8396d05fe57fe.tar.xz qemu-39ba2ea61f510512764e6f9063a8396d05fe57fe.zip | |
Dump: add qmp command "query-dump"
When dump-guest-memory is requested with detach flag, after its
return, user could query its status using "query-dump" command (with
no argument). The result contains:
- status: current dump status
- completed: bytes written in the latest dump
- total: bytes to write in the latest dump
From completed and total, we could know how much work
finished by calculating:
100.0 * completed / total (%)
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1455772616-8668-10-git-send-email-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions
