]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: return correct number of CPUs
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 29 May 2012 07:12:32 +0000 (09:12 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 30 May 2012 10:51:44 +0000 (12:51 +0200)
commit87dfdb0b92f234a08408332095454260f1c86917
tree3f9c52f0f3c7d9acaaedf968fa7c572737f89917
parentbe6c46b1b44f9a8b6e5278508cadd835c53c47c4
lxc: return correct number of CPUs

When getting number of CPUs the host has assigned, there was always
number "1" returned. Even though all lxc domains with no pinning
launched by libvirt run on all pCPUs (by default, no matter what's the
number), we should at least return the same number as the user
specified when creating the domain.
src/lxc/lxc_driver.c