[libvirt] [PATCH] domain_conf.c:fix the comment.

John Ferlan jferlan at redhat.com
Wed Sep 21 20:20:03 UTC 2016



On 09/21/2016 01:17 PM, Nitesh Konkar wrote:
> Signed-off-by: Nitesh Konkar <nitkon12 at linux.vnet.ibm.com>
> ---
>  src/conf/domain_conf.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 

ACK and pushed

Tks -

John

> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> index ebddf5f..7daf2fd 100644
> --- a/src/conf/domain_conf.c
> +++ b/src/conf/domain_conf.c
> @@ -14091,9 +14091,9 @@ void
>  virDomainNetRemoveHostdev(virDomainDefPtr def,
>                            virDomainNetDefPtr net)
>  {
> -    /* hostdev net devices are normally also be in the hostdevs
> -     * array, but might have already been removed by the time we
> -     * get here.
> +    /* hostdev net devices are normally in the hostdevs
> +     * array, but might have already been removed by the
> +     * time we get here.

NB: I took the liberty to make this 2 lines instead of 4

>       */
>      virDomainHostdevDefPtr hostdev = virDomainNetGetActualHostdev(net);
>      size_t i;
> 




More information about the libvir-list mailing list