]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Store cpu count as unsigned int
authorPeter Krempa <pkrempa@redhat.com>
Mon, 25 May 2015 13:43:29 +0000 (15:43 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 4 Jun 2015 08:52:30 +0000 (10:52 +0200)
commitfbbea79890882da2d3eba203d1453e53dc56ebaf
tree4bf18c2e98450d00231d335d101dd3af705518f1
parentd3889db071624dab72f15ce5b7c6a115336bf1f0
conf: Store cpu count as unsigned int

While we probably won't see machines with more than 65536 cpus for a
while lets store the cpu count as an integer so that we can avoid quite
a lot of overflow checks in our code.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt-domain.c
src/qemu/qemu_driver.c