Support for the Xen credit scheduler
|Assignee:||Javi Fontan||% Done:|
|Category:||Drivers - Auth|
|Target version:||Release 1.0|
Set credits to VMs based on the CPU requested.
- Invoke xm sched-credit in the current driver
- Add WEIGHT variable to the xen template, to be parsed by the driver to set the VM weight. The final weight will be computed as:
WEIGHT=CPU * CREDIT
- The CREDIT-- is defined in the driver default file.
- Round-up CPU value in the Xen driver.