Dong, Eddie wrote:
>> Or is the timer saved in absolute time?  if so you are right, and yes,
>> your solution is needed.
>>
>>     
> Looks like current live migration, also save/restore, doesn't migrate 
> guest time. (do I miss something?) So the new guest will 
> see a totally different TSC and OS feel stranger or 
> many lost ticks etc.
>
> Should we add this one?
> thx,eddie
>   

cpu_save (qemu/hw/pc.c) has this:

#ifdef USE_KVM
    if (kvm_allowed) {
        for (i = 0; i < NR_IRQ_WORDS ; i++) {
            qemu_put_be32s(f, &env->kvm_interrupt_bitmap[i]);
        }
        qemu_put_be64s(f, &env->tsc);
    }
#endif

And I think the apic code saves the timer?

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to