Re: [gconfig v2 5/6] config: Add spice listen getter/setter

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

 



On Wed, Aug 17, 2016 at 06:58:50PM +0300, Visarion Alexandru wrote:
> From: Visarion Alexandru <viorel.visarion@xxxxxxxxx>
> 
> Learn to get/set the listen devices that spice graphics is using.
> 
> When setting the listen devices, first remove the 'listen'
> attribute to avoid the inconsistencies checks between the 'listen'
> attribute and the 'address' attribute of the 'listen' node.
> ---
>  .../libvirt-gconfig-domain-graphics-spice.c        | 84 ++++++++++++++++++++++
>  .../libvirt-gconfig-domain-graphics-spice.h        |  4 ++
>  libvirt-gconfig/libvirt-gconfig.sym                |  2 +
>  3 files changed, 90 insertions(+)
> 
> diff --git a/libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c b/libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c
> index 079ea27..133eb1f 100644
> --- a/libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c
> +++ b/libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c
> @@ -157,6 +157,90 @@ void gvir_config_domain_graphics_spice_set_image_compression
>          compression);
>  }
>  
> +/**
> + * gvir_config_domain_graphics_spice_set_listen_devices:
> + * @graphics: a #GVirConfigDomainGraphicsSpice
> + * @listens: (in) (element-type LibvirtGConfig.DomainGraphicsListen): listens
> + *
> + * This method is used to set the various listen nodes a #GVirConfigDomainGraphicsSpice
> + * device can handle.
> +*/
> +void gvir_config_domain_graphics_spice_set_listen_devices(GVirConfigDomainGraphicsSpice *graphics,
> +                                                          GList *listens)

Same comment as in the previous patch regarding the naming.

Christophe

Attachment: signature.asc
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]