mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Add dirty-sync-missed-zero-copy migration stat
Signed-off-by: Leonardo Bras <leobras@redhat.com> Acked-by: Markus Armbruster <armbru@redhat.com> Acked-by: Peter Xu <peterx@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20220711211112.18951-3-leobras@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
parent
927f93e099
commit
cf20c89733
3 changed files with 13 additions and 1 deletions
|
@ -307,6 +307,11 @@ void hmp_info_migrate(Monitor *mon, const QDict *qdict)
|
|||
monitor_printf(mon, "postcopy ram: %" PRIu64 " kbytes\n",
|
||||
info->ram->postcopy_bytes >> 10);
|
||||
}
|
||||
if (info->ram->dirty_sync_missed_zero_copy) {
|
||||
monitor_printf(mon,
|
||||
"Zero-copy-send fallbacks happened: %" PRIu64 " times\n",
|
||||
info->ram->dirty_sync_missed_zero_copy);
|
||||
}
|
||||
}
|
||||
|
||||
if (info->has_disk) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue