Il Sab 21 Ott 2023, 09:37 Luca Di Gregorio <luc...@gmail.com> ha scritto:
> Host: > # uname -a > OpenBSD xxx.my.domain 7.4 GENERIC.MP#1397 amd64 > # dmesg | egrep '(VMX/EPT|SVM/RVI)' > vmm0 at mainbus0: VMX/EPT > # vmctl show > ID PID VCPUS MAXMEM CURMEM TTY OWNER STATE NAME > 2 17798 1 1.0G 519M ttyp4 root running debian > 1 89226 1 1.0G 1006M ttyp2 root running obsd > > Guest debian: > root@debian:~# lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 12 (bookworm) > Release: 12 > Codename: bookworm > > I see a strange behavior on the guest debian. > With a simple 'sleep 2', I see that the sleep time is much more than 2 > secs. > Can be observed with: > root@debian:~# while [ 1 ]; do sleep 2; date; done > > On obsd guest, that is OpenBSD 7.4, sleep works as expected. > > Is this a bug of vmd? > You should try this: https://github.com/voutilad/vmm_clock Ciao, David