Time inside Virtual Machine does not get synchronized after 'virsh suspend/resume' with SYNC_TIME=1

Solution Verified - Updated -

Issue

While searching for an easy way of resyncing time after 'virsh suspend/resume', we've found that this is something what SYNC_TIME=1 parameter in the /etc/sysconfig/libvirt-guests should do. However, it seems it doesn't work and time synchronization doesn't happen, despite the qemu-guest-anget is installed in the VM and is working. Manual configuration using command virsh domtime --name $vm_name works without any problem.

Environment

Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content