diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-05-24 13:45:47 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-05-24 13:45:47 +0100 |
commit | 8cc22ae8d13a1fc27758e11b6cdf68a17401761d (patch) | |
tree | cfe8c98371c0e6d5de71cda3fe2fa67a4af5dc67 /tools/misc/xen-python-path | |
parent | 7ffb087b8c67560a75ec2e32e3acdf1a7e1a943e (diff) | |
download | xen-8cc22ae8d13a1fc27758e11b6cdf68a17401761d.tar.gz xen-8cc22ae8d13a1fc27758e11b6cdf68a17401761d.tar.bz2 xen-8cc22ae8d13a1fc27758e11b6cdf68a17401761d.zip |
xend: Fix scheduler parameters of rebooted domain
When I changed the scheduler parameters of a domain with
xm sched-credit, the information of xm sched-credit was changed.
But as for the information of xm list, the values of the domain
configuration definition were kept.
And, then I rebooted the domain. The information of xm list was
not changed. But as for the information of xm sched-credit, the
values of the domain configuration definition were returned.
# xm create /xen/PVdomain.1 cpu_cap=150 cpu_weight=512
Using config file "/xen/PVdomain.1".
Started domain PVdomain.1
# xm sched-credit -d PVdomain.1
Name ID Weight Cap
PVdomain.1 1 512 150
# xm sched-credit -d PVdomain.1 -c 75 -w 384
# xm sched-credit -d PVdomain.1
Name ID Weight Cap
PVdomain.1 1 384 75
# xm list --long PVdomain.1 | grep cpu_
(cpu_weight 512)
(cpu_cap 150)
(cpu_time 29.353831745)
# xm reboot PVdomain.1
# xm sched-credit -d PVdomain.1
Name ID Weight Cap
PVdomain.1 2 512 150
# xm list --long PVdomain.1 | grep cpu_
(cpu_weight 512)
(cpu_cap 150)
(cpu_time 5.950247186)
If the scheduler parameters of the domain were changed with
xm sched-credit, I think that xm list should show the current
values about the scheduler parameters.
And, then if the domain is rebooted, I think that the rebooted
domain should keep the preceding values about the scheduler
parameters.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Diffstat (limited to 'tools/misc/xen-python-path')
0 files changed, 0 insertions, 0 deletions