[Top][All Lists]

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

sync guest time

From: Miguel Duarte de Mora Barroso
Subject: sync guest time
Date: Thu, 30 Apr 2020 13:52:12 +0200


I'm seeing the following issue when attempting to update the guest's
clock on a running fc32 guest (using guest agent):

[root@virt-launcher-vmi-masquerade-mh2xm /]# virsh domtime 1 --pretty
Time: 2020-04-30 23:27:29
[root@virt-launcher-vmi-masquerade-mh2xm /]# virsh domtime 1 --sync
error: internal error: unable to execute QEMU agent command
'guest-set-time': hwclock failed to set hardware clock to system time

# now, this one works.
[root@virt-launcher-vmi-masquerade-mh2xm /]# virsh domtime 1 --now

[root@virt-launcher-vmi-masquerade-44v2x /]# virsh domtime 1 --pretty
Time: 2020-04-30 11:15:45


This is the simplest reproducer I could come with; the original issue
is this call to libvirt's `setTIme` in [0].

Is there any workaround I could try ? Am I doing something wrong here ?

[0] - 

reply via email to

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