Re: [test-API][PATCH] Add new cases for testing setSchedulerParametersFlags related API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]