qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

migration: move the units of migrate parameters from milliseconds to ms

Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <474bb6cf67defb8be9de5035c11aee57a680557a.1585641083.git.maozhongyi@cmss.chinamobile.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

authored by

Mao Zhongyi and committed by
Dr. David Alan Gilbert
7ac5529a f96c6a87

+5 -5
+1 -1
migration/migration.c
··· 1214 1214 error_setg(errp, QERR_INVALID_PARAMETER_VALUE, 1215 1215 "downtime_limit", 1216 1216 "an integer in the range of 0 to " 1217 - stringify(MAX_MIGRATE_DOWNTIME)" milliseconds"); 1217 + stringify(MAX_MIGRATE_DOWNTIME)" ms"); 1218 1218 return false; 1219 1219 } 1220 1220
+4 -4
monitor/hmp-cmds.c
··· 231 231 monitor_printf(mon, "\n"); 232 232 } 233 233 234 - monitor_printf(mon, "total time: %" PRIu64 " milliseconds\n", 234 + monitor_printf(mon, "total time: %" PRIu64 " ms\n", 235 235 info->total_time); 236 236 if (info->has_expected_downtime) { 237 - monitor_printf(mon, "expected downtime: %" PRIu64 " milliseconds\n", 237 + monitor_printf(mon, "expected downtime: %" PRIu64 " ms\n", 238 238 info->expected_downtime); 239 239 } 240 240 if (info->has_downtime) { 241 - monitor_printf(mon, "downtime: %" PRIu64 " milliseconds\n", 241 + monitor_printf(mon, "downtime: %" PRIu64 " ms\n", 242 242 info->downtime); 243 243 } 244 244 if (info->has_setup_time) { 245 - monitor_printf(mon, "setup: %" PRIu64 " milliseconds\n", 245 + monitor_printf(mon, "setup: %" PRIu64 " ms\n", 246 246 info->setup_time); 247 247 } 248 248 }