[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/7] migration: print total downtime for final p
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 3/7] migration: print total downtime for final phase of migration |
Date: |
Mon, 13 Aug 2012 09:03:50 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
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 <address@hidden>
>> ---
>> 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 <address@hidden>
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [RFC 0/7] Migration stats, Juan Quintela, 2012/08/13
- [Qemu-devel] [PATCH 1/7] migration: move total_time from ram stats to migration info, Juan Quintela, 2012/08/13
- [Qemu-devel] [PATCH 2/7] migration: store end_time in a local variable, Juan Quintela, 2012/08/13
- [Qemu-devel] [PATCH 3/7] migration: print total downtime for final phase of migration, Juan Quintela, 2012/08/13
- [Qemu-devel] [PATCH 4/7] migration: rename expected_time to expected_downtime, Juan Quintela, 2012/08/13
- [Qemu-devel] [PATCH 5/7] migration: export migration_get_current(), Juan Quintela, 2012/08/13
- [Qemu-devel] [PATCH 7/7] migration: Add dirty_pages_rate to query migrate output, Juan Quintela, 2012/08/13
- [Qemu-devel] [PATCH 6/7] migration: print expected downtime in info migrate, Juan Quintela, 2012/08/13