Revision 6b970cef lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
73 | 73 |
constants.HV_USB_MOUSE: |
74 | 74 |
hv_base.ParamInSet(False, constants.HT_KVM_VALID_MOUSE_TYPES), |
75 | 75 |
constants.HV_MIGRATION_PORT: hv_base.NET_PORT_CHECK, |
76 |
constants.HV_USE_LOCALTIME: hv_base.NO_CHECK, |
|
76 | 77 |
} |
77 | 78 |
|
78 | 79 |
_MIGRATION_STATUS_RE = re.compile('Migration\s+status:\s+(\w+)', |
... | ... | |
402 | 403 |
else: |
403 | 404 |
kvm_cmd.extend(['-serial', 'none']) |
404 | 405 |
|
406 |
if hvp[constants.HV_USE_LOCALTIME]: |
|
407 |
kvm_cmd.extend(['-localtime']) |
|
408 |
|
|
405 | 409 |
# Save the current instance nics, but defer their expansion as parameters, |
406 | 410 |
# as we'll need to generate executable temp files for them. |
407 | 411 |
kvm_nics = instance.nics |
Also available in: Unified diff