mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
virDriverFeatureIsGlobal: Handle VIR_DRV_FEATURE_TYPED_PARAM_STRING
This was a lockout to make strings in typed parameters compatible with versions which didn't have them. Now all drivers need to expose this capability. This namely enables it for 'esx' and 'vz' drivers, while they don't seem to be implementing any parameters for now, they might later. 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
0a6335cd22
commit
963ac787c4
@ -353,7 +353,13 @@ virDriverFeatureIsGlobal(virDrvFeature feat,
|
||||
*supported = 0;
|
||||
return true;
|
||||
|
||||
/* Limitation of string support in typed parameters was an RPC limitation.
|
||||
* At this point everything supports them and thus also drivers need to
|
||||
* always advertise this feature */
|
||||
case VIR_DRV_FEATURE_TYPED_PARAM_STRING:
|
||||
*supported = 1;
|
||||
return true;
|
||||
|
||||
case VIR_DRV_FEATURE_NETWORK_UPDATE_HAS_CORRECT_ORDER:
|
||||
case VIR_DRV_FEATURE_FD_PASSING:
|
||||
case VIR_DRV_FEATURE_MIGRATION_V2:
|
||||
|
Loading…
Reference in New Issue
Block a user