Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.