Revision 4f5277e7 lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
56 | 56 |
constants.HV_ACPI: hv_base.NO_CHECK, |
57 | 57 |
constants.HV_SERIAL_CONSOLE: hv_base.NO_CHECK, |
58 | 58 |
constants.HV_VNC_BIND_ADDRESS: \ |
59 |
(False, lambda x: (utils.IsValidIP(x) or os.path.isabs(x)),
|
|
59 |
(False, lambda x: (utils.IsValidIP(x) or utils.IsAbsNormPath(x)),
|
|
60 | 60 |
"the VNC bind address must be either a valid IP address or an absolute" |
61 | 61 |
" pathname", None, None), |
62 | 62 |
constants.HV_VNC_TLS: hv_base.NO_CHECK, |
Also available in: Unified diff