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

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

 



ACK

On Thu, Mar 01, 2012 at 12:15:37AM +0200, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx>
> 
> 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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list

Attachment: pgpDzG7GhU7PQ.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]