]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Clarify semantic of nparams argument of virDomainGetSchedulerType
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 18 May 2011 07:55:32 +0000 (09:55 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 18 May 2011 16:20:47 +0000 (18:20 +0200)
commit7b2f20b10be903133419be9bed2fc02c1c14f513
tree4846ea0ba25d8525f68f555a6166358e2e6b87d1
parented97be6176f8ecab3fd36113b29488505bf52577
Clarify semantic of nparams argument of virDomainGetSchedulerType

Some drivers assumed it can be NULL (e.g. qemu and lxc) and check it
before assigning to it, other drivers assumed it must be non-NULL
(e.g. test and esx) and just assigned to it.

Unify this to nparams being optional and document it.
src/esx/esx_driver.c
src/libvirt.c
src/libxl/libxl_driver.c
src/test/test_driver.c
src/xen/xend_internal.c
src/xenapi/xenapi_driver.c