Hi Alexander,

On Fri, May 12, 2017 at 03:54:12PM +0200, Alexander Bluhm wrote:
| On Fri, May 12, 2017 at 01:00:22PM +0200, Paul de Weerd wrote:
| > Is this a misconfiguration on my end or a bug?
| 
| There is an easy way to detect this, run a loop in the guest system:
| 
| root@q71:~# while sleep 1; do date; done                                
| Fri May 12 06:27:20 CEST 2017
| Fri May 12 06:27:22 CEST 2017
| Fri May 12 06:27:24 CEST 2017
| 
| I see it on a fully emulated amd64 qemu.  As a workaround I compile
| my guest kernel with option HZ=50.

Thanks for your reply.  Yours and an off-list reply both pointed at
the HZ parameter.  I built a kernel with HZ=1000, and things now work
much better in the vm.

| Problem is that the host clock and the guest clock a ticking
| with exactly the same frequency.  Then interrupts are lost.
| This has been discussed with mlarkin@, he knows more details.
| 
| I am not aware of a fix.

If not a fix, this is a fine workaround.

Thanks to all involved in the development of vmm, it's really useful
for testing lots of things!

Cheers,

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to