[PATCH] conf: rename virDomainCheckVirtioOptions

Peter Krempa pkrempa at redhat.com
Fri Jan 29 12:37:49 UTC 2021


On Fri, Jan 29, 2021 at 12:39:22 +0100, Boris Fiuczynski wrote:
> Rename virDomainCheckVirtioOptions into
> virDomainCheckVirtioOptionsAreAbent since it checks if all virtio
> options are absent. The old name was very misleading.

We usually have functions which check presence using the 'Has' verb,
thus in this case it'd become:

virDomainHasVirtioOptions

> 
> Signed-off-by: Boris Fiuczynski <fiuczy at linux.ibm.com>
> ---
>  src/conf/domain_validate.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)




More information about the libvir-list mailing list