mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
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…
x
Reference in New Issue
Block a user