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
aed9a623d8
commit
c7ebcb4e8c
|
|
@ -3048,6 +3048,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