c62c59a virsh: Display an error when passing count <= 0 to setvcpus

1 file Authored by Luyao Huang 8 years ago, Committed by Andrea Bolognani 8 years ago,
    virsh: Display an error when passing count <= 0 to setvcpus
    
    The number of vCPUs for a guest must be between 1 and the
    maximum value configured in the domain XML. This commit
    introduces checks to make sure that passing count <= 0
    results in an error.
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1248277
    
    Signed-off-by: Luyao Huang <lhuang@redhat.com>
    
        
file modified
+7 -2