aboutsummaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorChenLiang <chenliang88@huawei.com>2014-04-04 17:57:56 +0800
committerJuan Quintela <quintela@redhat.com>2014-05-05 22:15:03 +0200
commit8bc3923343e91902ca541112b3bdb5448f8d288e (patch)
tree2f6a005134c54ba599e21675ea93e1f2d4fcc0ae /migration.c
parent58570ed894631904bcdbcd1e8b34479cebe2aae9 (diff)
downloadqemu-8bc3923343e91902ca541112b3bdb5448f8d288e.zip
qemu-8bc3923343e91902ca541112b3bdb5448f8d288e.tar.gz
qemu-8bc3923343e91902ca541112b3bdb5448f8d288e.tar.bz2
migration: expose xbzrle cache miss rate
expose xbzrle cache miss rate Signed-off-by: ChenLiang <chenliang88@huawei.com> Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration.c')
-rw-r--r--migration.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration.c b/migration.c
index 2cb768d..52cda27 100644
--- a/migration.c
+++ b/migration.c
@@ -174,6 +174,7 @@ static void get_xbzrle_cache_stats(MigrationInfo *info)
info->xbzrle_cache->bytes = xbzrle_mig_bytes_transferred();
info->xbzrle_cache->pages = xbzrle_mig_pages_transferred();
info->xbzrle_cache->cache_miss = xbzrle_mig_pages_cache_miss();
+ info->xbzrle_cache->cache_miss_rate = xbzrle_mig_cache_miss_rate();
info->xbzrle_cache->overflow = xbzrle_mig_pages_overflow();
}
}