7f2498e Do not log invalid operations in libvirtd logs

Authored and Committed by veillard 12 years ago
    Do not log invalid operations in libvirtd logs
    
      This is a bit painful for example when starting virt-manager
    it tends to clutter libvirtd.log with invalid operation on cpu pinning
    for defined but not running domains. A priori those kind of errors
    don't indicate an error when executing the command but on a precondition
    for running the API, and honnestly while the application should report
    it, logging it as an error in libvirtd.log is not really useful,
    
       Related bug: https://bugzilla.redhat.com/show_bug.cgi?id=590807
    
    * daemon/libvirtd.c: extend daemonErrorLogFilter() to filter out
       errors of type VIR_ERR_OPERATION_INVALID
    
        
file modified
+1 -0