qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Introduce "info migrate-times" monitor command


From: Michal Novotny
Subject: Re: [Qemu-devel] [PATCH] Introduce "info migrate-times" monitor command
Date: Thu, 14 Jul 2011 12:20:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b2 Thunderbird/3.1.10

On 07/14/2011 12:15 PM, Paolo Bonzini wrote:
> On 07/14/2011 12:05 PM, Michal Novotny wrote:
>> What do you mean by removing migration.c from the list? Do you mean
>> doing no modifications to this file?
> No usage of the time variables in migration.c.
>
>> it's about milliseconds
> It's noise anyway.
>
>> The arch_init.c to include savevm-related code doesn't make any sense in
>> general which is the thing I have to agree but if we want to measure the
>> ram_save_live() per each stage we need to alter the ram_save_live()
>> function which is present in the arch_init.c file (this is directly in
>> vl.c file for RHEL-6 version of qemu however for upstream version we
>> need to modify arch_init.c to provide the most precise RAM transfer
>> values per each stage). We can move the ram_save_live() function into
>> some other file, like savevm.c or vl.c... Is this what you mean by "If
>> you move that code back to savevm.c" ? The code is in vl.c file for
>> RHEL-6, not savevm.c and I don't know whether it ever was in savevm.c .
> I think savevm.c is the right place for it.
>
> Alternatively, what about updating the information for ram and disk 
> directly in qemu_savevm_state_begin/iterate/complete (and similarly for 
> loading)?  Just change "disk" to "block" so that it matches the 
> parameter of register_savevm_live in block-migration.c.
>
> Paolo
Ok, I can see what you mean now however the v2 has been already sent so
I'll wait for feedback on this version since there may be some new
points that comes to your (or any other's) mind when reviewing v2 :-)

Thanks,
Michal

-- 
Michal Novotny <address@hidden>, RHCE, Red Hat
Virtualization | libvirt-php bindings | php-virt-control.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]