mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-31 00:45:18 +00:00
virDriverFeatureIsGlobal: Handle VIR_DRV_FEATURE_FD_PASSING
The feature implies that fd passing works with RPC. Non-remote impls thus should always report support. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
5c95340100
commit
ef476708f3
@ -362,10 +362,14 @@ virDriverFeatureIsGlobal(virDrvFeature feat,
|
||||
* thus use the correct ordering with an updated server. All drivers must
|
||||
* signal support for this feature. */
|
||||
case VIR_DRV_FEATURE_NETWORK_UPDATE_HAS_CORRECT_ORDER:
|
||||
/* The remote driver intercepts and always reports the feature since it was
|
||||
* introduced. This means that all driver implementations should advertise
|
||||
* it too as it works natively without RPC. Always enabling this will also
|
||||
* prevent regressions when a driver is used in embedded mode */
|
||||
case VIR_DRV_FEATURE_FD_PASSING:
|
||||
*supported = 1;
|
||||
return true;
|
||||
|
||||
case VIR_DRV_FEATURE_FD_PASSING:
|
||||
case VIR_DRV_FEATURE_MIGRATION_V2:
|
||||
case VIR_DRV_FEATURE_MIGRATION_V3:
|
||||
case VIR_DRV_FEATURE_MIGRATION_P2P:
|
||||
|
Loading…
x
Reference in New Issue
Block a user