]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
xenapi: Refactor extraction of vcpu count
authorPeter Krempa <pkrempa@redhat.com>
Fri, 16 Oct 2015 13:38:48 +0000 (15:38 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 24 Nov 2015 12:16:55 +0000 (13:16 +0100)
commit8e104ef011e25d1d9b5e5d6b0da63e87a1b7c235
tree51ece480e2753e60aef39e0fea9a220c2090d889
parente29dfe9b27f6c81592ae805c256f8d25216ad2f8
xenapi: Refactor extraction of vcpu count

To simplify further refactors change the way the vcpu count is extracted
to use a temp variable rather than juggling with def->maxvcpus.
src/xenapi/xenapi_driver.c