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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.