mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +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
3fa8fda37c
commit
20a9d877cf
@ -3146,6 +3146,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