提交 33645d44 编写于 作者: E Eric Blake

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.
上级 d4b8a357
......@@ -296,9 +296,9 @@ typedef enum {
} virSchedParameterType;
typedef enum {
VIR_DOMAIN_SCHEDPARAM_CURRENT = (1 << 0), /* affect current domain state */
VIR_DOMAIN_SCHEDPARAM_LIVE = (1 << 1), /* Affect active domain */
VIR_DOMAIN_SCHEDPARAM_CONFIG = (1 << 2), /* Affect next boot */
VIR_DOMAIN_SCHEDPARAM_CURRENT = 0, /* affect current domain state */
VIR_DOMAIN_SCHEDPARAM_LIVE = (1 << 0), /* Affect active domain */
VIR_DOMAIN_SCHEDPARAM_CONFIG = (1 << 1), /* Affect next boot */
} virDomainSchedParameterFlags;
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册