summaryrefslogtreecommitdiff
path: root/migration.h
diff options
context:
space:
mode:
authorOrit Wasserman <owasserm@redhat.com>2012-08-06 21:42:56 +0300
committerJuan Quintela <quintela@redhat.com>2012-08-08 13:51:12 +0200
commit004d4c10aee9d64869ca3a8ef21f56c0045bf31b (patch)
tree343419704493551998e21f5a54142cea310f297b /migration.h
parent62d4e3fe31844ee76bf2314bf1c22d25bad37589 (diff)
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/migration.h b/migration.h
index 337e2255a..e4a7cd72f 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
*