mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
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:
parent
d4b8a35755
commit
33645d44f9
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user