sched: adjust parameter values to make current = 0

See virDomainMemoryModFlags for precedent.

* include/libvirt/libvirt.h.in (virDomainSchedParameterFlags): Set
CURRENT as a synonym to 0.
This commit is contained in:
Eric Blake 2011-05-17 10:02:07 -06:00
parent d4b8a35755
commit 33645d44f9

View File

@ -296,9 +296,9 @@ typedef enum {
} virSchedParameterType; } virSchedParameterType;
typedef enum { typedef enum {
VIR_DOMAIN_SCHEDPARAM_CURRENT = (1 << 0), /* affect current domain state */ VIR_DOMAIN_SCHEDPARAM_CURRENT = 0, /* affect current domain state */
VIR_DOMAIN_SCHEDPARAM_LIVE = (1 << 1), /* Affect active domain */ VIR_DOMAIN_SCHEDPARAM_LIVE = (1 << 0), /* Affect active domain */
VIR_DOMAIN_SCHEDPARAM_CONFIG = (1 << 2), /* Affect next boot */ VIR_DOMAIN_SCHEDPARAM_CONFIG = (1 << 1), /* Affect next boot */
} virDomainSchedParameterFlags; } virDomainSchedParameterFlags;
/** /**