Revision 2c368f28 lib/hypervisor/hv_xen.py
b/lib/hypervisor/hv_xen.py | ||
---|---|---|
632 | 632 |
constants.HV_REBOOT_BEHAVIOR: |
633 | 633 |
hv_base.ParamInSet(True, constants.REBOOT_BEHAVIORS), |
634 | 634 |
constants.HV_CPU_MASK: hv_base.OPT_MULTI_CPU_MASK_CHECK, |
635 |
constants.HV_CPU_CAP: hv_base.NO_CHECK,
|
|
635 |
constants.HV_CPU_CAP: hv_base.OPT_NONNEGATIVE_INT_CHECK,
|
|
636 | 636 |
constants.HV_CPU_WEIGHT: |
637 | 637 |
(False, lambda x: 0 < x < 65536, "invalid weight", None, None), |
638 | 638 |
} |
Also available in: Unified diff