d6d7e28 cgroup: Fix possible bug as a result of code motion for vcpu cgroup setup

Authored and Committed by John Ferlan 8 years ago
    cgroup: Fix possible bug as a result of code motion for vcpu cgroup setup
    
    Commit id '90b721e43' moved where the virCgroupAddTask was made until
    after the check for the vcpupin checks. However, in doing so it missed
    an option where if the cpumap didn't exist, then the code would continue
    back to the top of the current vcpu loop. The results was that the
    virCgroupAddTask wouldn't be called.
    
    Signed-off-by: John Ferlan <jferlan@redhat.com>
    
        
file modified
+1 -4