Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use KVM/libvirt based virtualization. Some of vm guests have set date far in future (2-3 years, different month, day, etc) After each guest shutdown down, the date is being set to host date (kvmclock works that way).

Is there any possibility to keep date during guest shutdown? It should work even guest won't shutdown gracefully (crash, etc).

Guest and host are recent version of centos 6.4.

share|improve this question

All you need to do is stop using kvm-clock. To switch to another clocksource, edit your grub configuration and add hpet=force to the kernel boot line, to make it even more stable, you can also add a failover clocksource as follows: clocksource_failover=acpi_pm

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.