All of my Debian/stable and Centos/7.8 guests (on proxmox 6.2 host) are having their time paused for the duration of any pause/hibernate.
The guests have agents installed:
[root@north-jump ~]# rpm -qa | grep guest
qemu-guest-agent-2.12.0-3.el7.x86_64
49096,1> dpkg --get-selections | grep guest
qemu-guest-agent install
(Version: 1:3.1+dfsg-8+deb10u5)
But while the machine is paused, the guest clock stops ticking, and does not get reset when resumed.
I *can* run manually from the host foreach guest being resumed:
sudo socat unix-connect:/var/run/qemu-server/100.qga stdin <<< '{"execute":"guest-set-time"}'
and that works, but this seems strongly like the kind of job I'd expect the hypervisor to do for me?
The results are independent of whether ntp/chrony is running or not.
Am I missing something obvious, or is this a bug? Google is returning nothing relevant about timekeeping in linux guests compared to the copious documentation about how to configure ntp and guest agents for vmware! But nor is it returning results that anyone else is having trouble with timekeeping!
The guests have agents installed:
[root@north-jump ~]# rpm -qa | grep guest
qemu-guest-agent-2.12.0-3.el7.x86_64
49096,1> dpkg --get-selections | grep guest
qemu-guest-agent install
(Version: 1:3.1+dfsg-8+deb10u5)
But while the machine is paused, the guest clock stops ticking, and does not get reset when resumed.
I *can* run manually from the host foreach guest being resumed:
sudo socat unix-connect:/var/run/qemu-server/100.qga stdin <<< '{"execute":"guest-set-time"}'
and that works, but this seems strongly like the kind of job I'd expect the hypervisor to do for me?
The results are independent of whether ntp/chrony is running or not.
Am I missing something obvious, or is this a bug? Google is returning nothing relevant about timekeeping in linux guests compared to the copious documentation about how to configure ntp and guest agents for vmware! But nor is it returning results that anyone else is having trouble with timekeeping!