On Sun, Nov 11, 2018 at 13:59:17 -0600, Chris Venteicher wrote: > Failure to connect to QEMU to probe capabilities is not considered a error case > and does not result in a negative return value. That's not really true anymore. It used to be true when there was a fallback to parsing qemu -help output, but that's gone for some time now. So even though virQEMUCapsInitQMP reports 0 when probe fails, the caller (virQEMUCapsNewForBinaryInternal) uses !qemuCaps->usedQMP check to see whether we actually probed for anything. If not, an error is reported anyway. Thus this patch can be dropped completely and virQEMUCapsInitQMP should be fixed to just properly report an error when probing fails. And it should be done earlier, just before patch 8 I think. Jirka -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list