qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] about the patch kvmclock Ensure proper env->tsc value f


From: Marcin Gibuła
Subject: Re: [Qemu-devel] about the patch kvmclock Ensure proper env->tsc value for kvmclock_current_nsec calculation
Date: Fri, 14 Aug 2015 10:51:36 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

     Thanks for your reply, I have read the thread in your email, what's the 
mean of 'switching from old to new disk', could give a detail description?

The test case was like that (using libvirt):

1. Get VM running (linux, using kvmclock),
2. Use blockcopy to copy disk data from one location to another,
3. Issue blockjob --pivot (to finish mirroring)

From what I remember, at point 3, VM is momentarily paused and resumed, so kvm state change handler is called twice. Without this patch, the VM hanged because its time goes backwards (or qemu crashed if assertion was not compiled out).

--
mg




reply via email to

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