mirror of https://github.com/apache/cloudstack.git
Summary: Use hypervisor as clock source for system vms
BUG-ID: CLOUDSTACK-2492 Bugfix-for: 4.1,master Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1368635782 -0600
This commit is contained in:
parent
8f7a51ee5f
commit
bfc5887a1b
|
|
@ -3152,6 +3152,8 @@ ServerResource {
|
|||
if (vmTO.getOs().startsWith("Windows")) {
|
||||
clock.setClockOffset(ClockDef.ClockOffset.LOCALTIME);
|
||||
clock.setTimer("rtc", "catchup", null);
|
||||
} else if (vmTO.getType() != VirtualMachine.Type.User) {
|
||||
clock.setTimer("kvmclock", "catchup", null);
|
||||
}
|
||||
|
||||
vm.addComp(clock);
|
||||
|
|
|
|||
Loading…
Reference in New Issue