[PATCH 0/8] driver: Fix handling of driver feature flags

Andrea Bolognani abologna at redhat.com
Wed Feb 16 17:58:51 UTC 2022


On Wed, Feb 16, 2022 at 04:41:04PM +0100, Peter Krempa wrote:
> In a review of code using FD passing I was asked to add the check, so I
> wanted to see how it works and found a few issues.
>
> Peter Krempa (8):
>   driver: Introduce global driver feature flag handling function
>   virDriverFeatureIsGlobal: Handle VIR_DRV_FEATURE_REMOTE
>   virDriverFeatureIsGlobal: Handle VIR_DRV_FEATURE_PROGRAM_KEEPALIVE
>   virDriverFeatureIsGlobal: Handle
>     VIR_DRV_FEATURE_REMOTE_(CLOSE|EVENT)_CALLBACK
>   virDriverFeatureIsGlobal: Handle VIR_DRV_FEATURE_TYPED_PARAM_STRING
>   virDriverFeatureIsGlobal: Handle
>     VIR_DRV_FEATURE_NETWORK_UPDATE_HAS_CORRECT_ORDER
>   virDriverFeatureIsGlobal: Handle VIR_DRV_FEATURE_FD_PASSING
>   virDomainCreate(XML)WithFiles: Add check for
>     VIR_DRV_FEATURE_FD_PASSING

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

I've also posted a small follow-up patch:

  https://listman.redhat.com/archives/libvir-list/2022-February/msg00656.html

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list