Skip to content

Commit bfc5887

Browse files
author
Marcus Sorensen
committed
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
1 parent 8f7a51e commit bfc5887

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3152,6 +3152,8 @@ So if getMinSpeed() returns null we fall back to getSpeed().
31523152
if (vmTO.getOs().startsWith("Windows")) {
31533153
clock.setClockOffset(ClockDef.ClockOffset.LOCALTIME);
31543154
clock.setTimer("rtc", "catchup", null);
3155+
} else if (vmTO.getType() != VirtualMachine.Type.User) {
3156+
clock.setTimer("kvmclock", "catchup", null);
31553157
}
31563158

31573159
vm.addComp(clock);

0 commit comments

Comments
 (0)