libvirt/src/libxl
Jim Fehlig 4c600de755 libxl: fix param assignment in domainGetSchedulerParameters
Due to a copy and paste error, the scheduler 'cap' parameter
was over-writing the 'weight' parameter when preparing the
return parameters in libxlDomainGetSchedulerParametersFlags.
As a result, the scheduler weight was never shown when getting
schedinfo and setting the weight failed as well

virsh  schedinfo testvm
Scheduler      : credit
cap            : 0

virsh  schedinfo testvm --cap 50 --weight 500
Scheduler      : credit
error: invalid scheduler option: weight

The obvious fix is to assign the 'caps' parameter to the correct
item in the parameter list.

Reported-by: Volo M. <vm@vovs.net>
2016-09-27 22:18:50 -06:00
..
libvirtd_libxl.aug libxl: keepalive messages support 2016-02-09 21:14:12 -07:00
libxl_capabilities.c libxl: describe host cpu features based on hwcaps 2016-09-12 12:49:03 +02:00
libxl_capabilities.h libxl: implement connectGetDomainCapabilities 2016-06-13 14:13:17 -06:00
libxl_conf.c libxl: channels support 2016-09-27 15:15:03 -06:00
libxl_conf.h libxl: channels support 2016-09-27 15:15:03 -06:00
libxl_domain.c libxl: channels support 2016-09-27 15:15:03 -06:00
libxl_domain.h libxl: add a flag to mark guests as tainted by a hook 2016-08-02 14:20:31 +02:00
libxl_driver.c libxl: fix param assignment in domainGetSchedulerParameters 2016-09-27 22:18:50 -06:00
libxl_driver.h libxl: Use standard format for source file copyright notice 2013-09-03 23:53:48 -06:00
libxl_migration.c virDomainDefParse{File,String}: Introduce @parseOpaque argument 2016-09-26 16:50:12 +02:00
libxl_migration.h libxl: support VIR_MIGRATE_PERSIST_DEST migration flag 2016-09-21 15:42:41 -06:00
libxl.conf libxl: keepalive messages support 2016-02-09 21:14:12 -07:00
test_libvirtd_libxl.aug.in libxl: keepalive messages support 2016-02-09 21:14:12 -07:00