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

Erik Skultety eskultet at redhat.com
Fri Mar 29 14:11:59 UTC 2019


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,
> virQEMUCapsProbeQMPSEVCapabilities, and virQEMUCapsProbeQMPSchemaCapabilities
> into the function itself so that virQEMUCapsInitQMPMonitor looks tidy.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---

You might want to split the adjustments into 3 patches, your call.

Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list