b14954f cpuCompare*: Add support for reporting failure on incompatible CPUs

Authored and Committed by Jiri Denemark 9 years ago
    cpuCompare*: Add support for reporting failure on incompatible CPUs
    
    When CPU comparison APIs return VIR_CPU_COMPARE_INCOMPATIBLE, the caller
    has no clue why the CPU is considered incompatible with host CPU. And in
    some cases, it would be nice to be able to get such info in a client
    rather than having to look in logs.
    
    To achieve this, the APIs can be told to return VIR_ERR_CPU_INCOMPATIBLE
    error for incompatible CPUs and the reason will be described in the
    associated error message.
    
    Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
    
        
file modified
+2 -0
file modified
+1 -1
file modified
+6 -4
file modified
+6 -3
file modified
+2 -1
file modified
+2 -1
file modified
+11 -4
file modified
+8 -2
file modified
+18 -2
file modified
+1 -1
file modified
+6 -0
file modified
+2 -2