• J
    Change return value of VIR_DRV_SUPPORTS_FEATURE to bool · 4186f929
    Jiri Denemark 提交于
    virDrvSupportsFeature API is allowed to return -1 on error while all but
    one uses of VIR_DRV_SUPPORTS_FEATURE only check for (non)zero return
    value. Let's make this macro return zero on error, which is what
    everyone expects anyway.
    4186f929
driver.h 44.7 KB