Bug 524766 - command 'schedinfo' fails on fedora12 Alpha
Summary: command 'schedinfo' fails on fedora12 Alpha
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: rawhide
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-22 05:41 UTC by zhanghaiyan
Modified: 2009-09-30 10:54 UTC (History)
10 users (show)

Fixed In Version:
Clone Of: 509779
Environment:
Last Closed: 2009-09-30 10:54:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Comment 1 Daniel Berrangé 2009-09-22 09:26:14 UTC
FYI, to make this work you need to have cgroups mounted.

eg, 

   mkdir /dev/cgroup
   mount -t cgroup none -o cpu,devices /dev/cgroup


And then restart libvirtd, and restart any guests and it should work.

Comment 2 Gurhan Ozen 2009-09-30 10:54:48 UTC
I am closing this as notabug . This works fine when kernel cgroups are utilized correctly. 

[root@dell-pe1955-01 ~]# virsh schedinfo F11_gold_x86_64
Scheduler      : posix
cpu_shares     : 1024

[root@dell-pe1955-01 ~]# virsh schedinfo --set cpu_shares=2048 F11_gold_x86_64
Scheduler      : posix
cpu_shares     : 2048

[root@dell-pe1955-01 ~]# virsh schedinfo F11_gold_x86_64
Scheduler      : posix
cpu_shares     : 2048


Note You need to log in before you can comment on or make changes to this bug.