Re: vmm timer for linux guests

2020-05-24 Thread Sivaram Gowkanapalli
Hello Dave, Pratik, > My hacky "vmm-clock" implementation is here if you'd like to compare > notes: https://git.sr.ht/~voutilad/linux/log/linux-5.4-obsd The clock is in sync with these patches. It is keeping the clock in sync with the host. sudo dmesg | grep -i clock [0.034850]

Re: vmm timer for linux guests

2020-05-24 Thread Sivaram Gowkanapalli
Hello Pratik, I thought the serial console has been stable since this patch. I just noticed a hang. So, the issue seems to still persist. Thanks

Re: vmm timer for linux guests

2020-05-23 Thread Sivaram Gowkanapalli
; Sivaram Gowkanapalli; d...@sisu.io Subject: Re: vmm timer for linux guests * Renato Aguiar [2020-05-21 12:55:45 -0700]: >Hi Sivaram, > >I'm the author of the e-mail thread that you mentioned. After feedback >I got from OpenBSD community, I created a patch for Linux to enable >kvm-clo

Re: vmm timer for linux guests

2020-05-22 Thread Renato Aguiar
Hi Sivaram and David, Here is my patch for Linux 4.19: https://gitlab.com/renatoaguiar/linux/-/commit/325afccf1e2d156be745f811411327e22bbd4c20 I also tried same patch with Linux 5.4 , but for some

Re: vmm timer for linux guests

2020-05-22 Thread Sivaram Gowkanapalli
Hello Dave, Thanks for sharing this. I have been using your hacked up version of virtio_vmmci to keep the timer in sync all this time. btw, would you recommend a linux distro other than alpine for vmm? I need to run an Oracle Java app which needs glibc, hence, I cannot use alpine. I tried

Re: vmm timer for linux guests

2020-05-22 Thread Dave Voutila
On Fri, May 22, 2020 at 6:15 AM Pratik Vyas wrote: > Hi Sivaram and Renato, > > I have been looking at this issue this week with Dave. (funnily Dave > and I independently also decided to write a linux patch to attach > pvclock and debugging these crashes). My hacky "vmm-clock" implementation is

Re: vmm timer for linux guests

2020-05-22 Thread Sivaram Gowkanapalli
Hello Pratik, > For ref, this is my linux side patch to attach kvm-clock http://ix.io/2lzK Thanks, will try the below patches.

Re: vmm timer for linux guests

2020-05-22 Thread Sivaram Gowkanapalli
Hello Renato, Could you please share the linux patches? We can try with them too. Thanks From: Renato Aguiar [ren...@renatoaguiar.net] Sent: Thursday, May 21, 2020 3:55 PM To: tech@openbsd.org Cc: Sivaram Gowkanapalli Subject: Re: vmm timer for linux

Re: vmm timer for linux guests

2020-05-22 Thread Pratik Vyas
* Renato Aguiar [2020-05-21 12:55:45 -0700]: Hi Sivaram, I'm the author of the e-mail thread that you mentioned. After feedback I got from OpenBSD community, I created a patch for Linux to enable kvm-clock when booting on VMM. It managed to keep clock in sync, but I experienced random

Re: vmm timer for linux guests

2020-05-21 Thread Renato Aguiar
Hi Sivaram, I'm the author of the e-mail thread that you mentioned. After feedback I got from OpenBSD community, I created a patch for Linux to enable kvm-clock when booting on VMM. It managed to keep clock in sync, but I experienced random crashes in vmd after some time running the VM.