[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [libvirt-glib 1/6] Set correct target node attribute for domain interface



ACK

On Thu, Mar 01, 2012 at 12:15:37AM +0200, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>
> 
> gvir_config_domain_interface_set_ifname() should be setting 'dev'
> attribute under 'target', not 'device'.
> ---
>  libvirt-gconfig/libvirt-gconfig-domain-interface.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libvirt-gconfig/libvirt-gconfig-domain-interface.c b/libvirt-gconfig/libvirt-gconfig-domain-interface.c
> index 85cc194..eab4313 100644
> --- a/libvirt-gconfig/libvirt-gconfig-domain-interface.c
> +++ b/libvirt-gconfig/libvirt-gconfig-domain-interface.c
> @@ -57,7 +57,7 @@ void gvir_config_domain_interface_set_ifname(GVirConfigDomainInterface *interfac
>      g_return_if_fail(GVIR_CONFIG_IS_DOMAIN_INTERFACE(interface));
>  
>      gvir_config_object_replace_child_with_attribute(GVIR_CONFIG_OBJECT(interface),
> -                                                    "target", "device", ifname);
> +                                                    "target", "dev", ifname);
>  }
>  
>  void gvir_config_domain_interface_set_link_state(GVirConfigDomainInterface *interface,
> -- 
> 1.7.7.6
> 
> --
> libvir-list mailing list
> libvir-list redhat com
> https://www.redhat.com/mailman/listinfo/libvir-list

Attachment: pgpwaN8WoGifW.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]