On 2013年12月12日 16:29, Xuesong Zhang wrote:
---
cases/sched_params.conf | 120 +++++++++++++++++++++++++++++++
repos/domain/sched_params.py | 136 ++++++++++++++++-------------------
repos/domain/sched_params_flag.py | 148 ++++++++++++++++++++++++++++++++++++++
3 files changed, 330 insertions(+), 74 deletions(-)
create mode 100755 cases/sched_params.conf
create mode 100644 repos/domain/sched_params_flag.py
Both sched_params_flag.py and sched_params.py are used to test vcpu scheduler.
Most of their codes are duplicated.
setSchedulerParameters() is equivalent to setSchedulerParametersFlags with() flag
VIR_DOMAIN_AFFECT_CURRENT
So we can only keep sched_params_flag.py.
Guannan