On 08/13/2012 09:02 AM, Eric Blake wrote:
> On 08/13/2012 04:50 AM, Juan Quintela wrote:
>> Signed-off-by: Juan Quintela <quint...@redhat.com>
>> ---
>>  hmp.c            | 4 ++++
>>  migration.c      | 5 ++++-
>>  migration.h      | 1 +
>>  qapi-schema.json | 6 +++++-
>>  4 files changed, 14 insertions(+), 2 deletions(-)
>>
>> diff --git a/hmp.c b/hmp.c
>> index c0b0a10..10fee1b 100644
>> --- a/hmp.c
>> +++ b/hmp.c
>> @@ -151,6 +151,10 @@ void hmp_info_migrate(Monitor *mon)
>>          monitor_printf(mon, "Migration status: %s\n", info->status);
>>          monitor_printf(mon, "total time: %" PRIu64 " milliseconds\n",
>>                         info->total_time);
>> +        if (strcmp(info->status, "completed") == 0) {
>> +            monitor_printf(mon, "downtime: %" PRIu64 " milliseconds\n",
>> +                           info->downtime);
>> +        }
> 
> Very nice stat - useful at showing how 'live' a live migration really is.
> 

Hit send too soon:

Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
Eric Blake   ebl...@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to