Bug 524766

Summary: command 'schedinfo' fails on fedora12 Alpha
Product: [Fedora] Fedora Reporter: zhanghaiyan <yoyzhang>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: berrange, clalance, crobinso, gozen, itamar, llim, veillard, virt-maint, virt-maint, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 509779 Environment:
Last Closed: 2009-09-30 06:54:48 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Comment 1 Daniel Berrange 2009-09-22 05:26:14 EDT
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 06:54:48 EDT
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