ab87155 parallels: report proper error in Create/Destroy/Suspend e.t.c.

2 files Authored by Dmitry Guryanov 9 years ago, Committed by Peter Krempa 9 years ago,
    parallels: report proper error in Create/Destroy/Suspend e.t.c.
    
    If we want to perform some operation and domain state is not suitable
    for that operation, we should report error VIR_ERR_OPERATION_INVALID.
    
    Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
    
        
file modified
+28 -10