Re: [libvirt] [PATCH 3/6] qemu: capabilities: Move logic deciding whether to probe into probing functions

2019-03-29 Thread Erik Skultety
On Fri, Mar 29, 2019 at 01:26:31PM +0100, Peter Krempa wrote: > Most probing functions in virQEMUCapsInitQMPMonitor decide internally if > there's anything to do and return success if there isn't. Move the > decision logic for virQEMUCapsProbeQMPGICCapabilities, >

[libvirt] [PATCH 3/6] qemu: capabilities: Move logic deciding whether to probe into probing functions

2019-03-29 Thread Peter Krempa
Most probing functions in virQEMUCapsInitQMPMonitor decide internally if there's anything to do and return success if there isn't. Move the decision logic for virQEMUCapsProbeQMPGICCapabilities, virQEMUCapsProbeQMPSEVCapabilities, and virQEMUCapsProbeQMPSchemaCapabilities into the function itself