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:
Marcus Sorensen 2013-05-15 10:36:22 -06:00 committed by Chip Childers
parent aed9a623d8
commit c7ebcb4e8c
1 changed files with 2 additions and 0 deletions

View File

@ -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);