]> Git Repo - qemu.git/blobdiff - hmp.c
Postcopy: Add stats on page requests
[qemu.git] / hmp.c
diff --git a/hmp.c b/hmp.c
index a4b1d3d220840536a07b0edc70149395ffc14464..4b8e9878b17c45f4ce1fbb26e3cc6c5b1d17b0a4 100644 (file)
--- a/hmp.c
+++ b/hmp.c
@@ -217,6 +217,10 @@ void hmp_info_migrate(Monitor *mon, const QDict *qdict)
             monitor_printf(mon, "dirty pages rate: %" PRIu64 " pages\n",
                            info->ram->dirty_pages_rate);
         }
+        if (info->ram->postcopy_requests) {
+            monitor_printf(mon, "postcopy request count: %" PRIu64 "\n",
+                           info->ram->postcopy_requests);
+        }
     }
 
     if (info->has_disk) {
This page took 0.021213 seconds and 4 git commands to generate.