diff options
author | Glauber Costa <glommer@redhat.com> | 2009-05-21 17:38:01 -0400 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-22 10:50:29 -0500 |
commit | 9f9e28cda74bc8cddd8ac4c0a9c007b31d42c6f6 (patch) | |
tree | 87790daf978b77e5f000e43d34d564a74df26cf9 /sysemu.h | |
parent | ed8b330bccabb03c930ed1e4d72e341130f9b406 (diff) |
augment info migrate with page status
This patch augments info migrate output with status about:
* ram bytes remaining
* ram bytes transferred
* ram bytes total
This should be enough for management tools to realize
whether or not there is progress in migration. We can
add more information later on, if the need arrives
[v2: fixes bytes_transferred type]
Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -28,6 +28,10 @@ void qemu_del_vm_change_state_handler(VMChangeStateEntry *e); void vm_start(void); void vm_stop(int reason); +uint64_t ram_bytes_remaining(void); +uint64_t ram_bytes_transferred(void); +uint64_t ram_bytes_total(void); + int64_t cpu_get_ticks(void); void cpu_enable_ticks(void); void cpu_disable_ticks(void); |