diff options
author | Orit Wasserman <owasserm@redhat.com> | 2012-08-06 21:42:56 +0300 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-08-08 13:51:12 +0200 |
commit | 004d4c10aee9d64869ca3a8ef21f56c0045bf31b (patch) | |
tree | 343419704493551998e21f5a54142cea310f297b /migration.h | |
parent | 62d4e3fe31844ee76bf2314bf1c22d25bad37589 (diff) | |
download | qemu-004d4c10aee9d64869ca3a8ef21f56c0045bf31b.zip qemu-004d4c10aee9d64869ca3a8ef21f56c0045bf31b.tar.gz qemu-004d4c10aee9d64869ca3a8ef21f56c0045bf31b.tar.bz2 |
Add migration accounting for normal and duplicate pages
Signed-off-by: Benoit Hudzia <benoit.hudzia@sap.com>
Signed-off-by: Petter Svard <petters@cs.umu.se>
Signed-off-by: Aidan Shribman <aidan.shribman@sap.com>
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'migration.h')
-rw-r--r-- | migration.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/migration.h b/migration.h index 337e225..e4a7cd7 100644 --- a/migration.h +++ b/migration.h @@ -87,6 +87,11 @@ uint64_t ram_bytes_total(void); extern SaveVMHandlers savevm_ram_handlers; +uint64_t dup_mig_bytes_transferred(void); +uint64_t dup_mig_pages_transferred(void); +uint64_t norm_mig_bytes_transferred(void); +uint64_t norm_mig_pages_transferred(void); + /** * @migrate_add_blocker - prevent migration from proceeding * |