[libvirt] [gconfig v2 1/6] libvirt-gconfig: Include GIO dependency

2016-08-17 Thread Visarion Alexandru
From: Visarion Alexandru We will need a GInetAddress for setting a graphics device's listen address, so let's include GIO2 in libvirt-gconfig. --- configure.ac| 2 ++ libvirt-gconfig-1.0.pc.in | 2 +- libvirt-gconfig/Makefile.am | 6 -- vapi/Makefile.am

[libvirt] [gconfig v2 3/6] Introduce libvirt-gconfig-domain-graphics-listen-address

2016-08-17 Thread Visarion Alexandru
From: Visarion Alexandru This is needed to be able to change the address a graphics device is listening for. --- libvirt-gconfig/Makefile.am| 2 + ...ibvirt-gconfig-domain-graphics-listen-address.c | 128 + ...ibvirt-gconfig-domain-graphics-listen

[libvirt] [gconfig v2 4/6] config: Add vnc listen getter/setter

2016-08-17 Thread Visarion Alexandru
From: Visarion Alexandru Learn to get/set the listen devices that vnc is using. When setting the listen devices, first remove the 'listen' attribute to avoid inconsistencies checks between the 'listen' attribute and the 'address' attribute of the 'listen

[libvirt] [gconfig v2 6/6] tests: Add test for GVirConfigDomainGraphicsListenAddress

2016-08-17 Thread Visarion Alexandru
From: Visarion Alexandru --- tests/test-gconfig.c | 36 ++ .../xml/gconfig-domain-device-graphics-listen.xml | 7 + 2 files changed, 43 insertions(+) create mode 100644 tests/xml/gconfig-domain-device-graphics-listen.xml diff --git a

[libvirt] [gconfig v2 0/6] Add support for changing listen address

2016-08-17 Thread Visarion Alexandru
From: Visarion Alexandru libvirt-domain-graphics-listen defines an abstract class used to represent one listen node. libvirt-domain-graphics-liste-address defines a class that represents a listen node of type 'address', for the graphics device. We have to first remove the 'liste

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

2016-08-17 Thread Visarion Alexandru
From: Visarion Alexandru 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 &

[libvirt] [gconfig v2 2/6] Introduce libvirt-domain-graphics-listen

2016-08-17 Thread Visarion Alexandru
From: Visarion Alexandru Abstract class which represents a listen child node of the graphics device. --- libvirt-gconfig/Makefile.am| 2 + .../libvirt-gconfig-domain-graphics-listen.c | 49 .../libvirt-gconfig-domain-graphics-listen.h | 65

[libvirt] [gconfig v2 1/4] Introduce libvirt-domain-graphics-listen

2016-08-01 Thread Visarion Alexandru
From: Visarion Alexandru Abstract class which represents a listen child node of the graphics device. --- libvirt-gconfig/Makefile.am| 2 + .../libvirt-gconfig-domain-graphics-listen.c | 48 .../libvirt-gconfig-domain-graphics-listen.h | 64

[libvirt] [gconfig v2 3/4] config: Add vnc host setter

2016-08-01 Thread Visarion Alexandru
From: Visarion Alexandru Learn to set the address that vnc is listening on. We first remove the 'listen' attribute to avoid inconsistencies checks between the 'listen' attribute and the 'address' attribute of the 'listen' node. --- .../libvirt-gco

[libvirt] [gconfig v2 4/4] config: Add spice host setter

2016-08-01 Thread Visarion Alexandru
From: Visarion Alexandru Learn to set the address that spice is listening on. We first remove the 'listen' attribute to avoid inconsistencies checks between the 'listen' attribute and the 'address' attribute of the 'listen' node. --- .../libvirt-gco

[libvirt] [gconfig v2 0/4] Add support for changing listen address

2016-08-01 Thread Visarion Alexandru
From: Visarion Alexandru libvirt-domain-graphics-listen defines an abstract class used to represent one listen node. libvirt-domain-graphics-liste-address defines a class that represents a listen node of type 'address', for the graphics device. We have to first remove the 'li

[libvirt] [gconfig v2 2/4] Introduce libvirt-gconfig-domain-graphics-listen-address

2016-08-01 Thread Visarion Alexandru
From: Visarion Alexandru This is needed to be able to change the address a graphics device is listening on. --- libvirt-gconfig/Makefile.am| 2 + ...ibvirt-gconfig-domain-graphics-listen-address.c | 79 ++ ...ibvirt-gconfig-domain-graphics-listen

[libvirt] [gconfig v2 2/2] config: Add spice host setter

2016-07-28 Thread Visarion Alexandru
From: Visarion Alexandru Learn to set the address that spice is listening on. --- libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c | 10 ++ libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.h | 3 +++ libvirt-gconfig/libvirt-gconfig.sym | 1 + 3 files

[libvirt] [gconfig v2 1/2] config: Add vnc host setter

2016-07-28 Thread Visarion Alexandru
From: Visarion Alexandru Learn to set the address that vnc is listening on. --- libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.c | 9 + libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.h | 3 +++ libvirt-gconfig/libvirt-gconfig.sym | 1 + 3 files changed, 13

[libvirt] [gconfig v2 0/2] Add host setters

2016-07-28 Thread Visarion Alexandru
From: Visarion Alexandru These new patches are a bit different than the last ones. I first delete the child node and then I modify the attribute. Visarion Alexandru (2): config: Add vnc host setter config: Add spice host setter libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c

[libvirt] [gconfig v2] config: Add spice host setter

2016-07-28 Thread Visarion Alexandru
From: Visarion Alexandru Learn to set the address that spice is listening on. Visarion Alexandru (1): config: Add spice host setter libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c | 10 ++ libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.h | 3 +++ libvirt-gconfig

[libvirt] [gconfig v2 1/2] config: Add spice listen setter

2016-07-18 Thread Visarion Alexandru
Learn to set the address that spice is listening on. --- .../libvirt-gconfig-domain-graphics-spice.c| 18 ++ .../libvirt-gconfig-domain-graphics-spice.h| 3 +++ libvirt-gconfig/libvirt-gconfig.sym| 1 + 3 files changed, 22 insertions(+)

[libvirt] [gconfig v2 2/2] config: Add vnc listen setter

2016-07-18 Thread Visarion Alexandru
Learn to set the address that vnc is listening on. --- libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.c | 18 ++ libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.h | 3 +++ libvirt-gconfig/libvirt-gconfig.sym | 1 + 3 files changed, 22 insertions(+) dif

[libvirt] [PATCH] config: Add listen address setter

2016-07-14 Thread Visarion Alexandru
Learn to set the address the domain is listening on. --- .../libvirt-gconfig-domain-graphics-spice.c| 18 ++ .../libvirt-gconfig-domain-graphics-spice.h| 3 +++ libvirt-gconfig/libvirt-gconfig.sym| 1 + 3 files changed, 22 insertions(+)

[libvirt] [PATCH] config: Add listen setter

2016-07-13 Thread Visarion Alexandru
Learn to set the listen attribute on spice. --- libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c | 10 ++ libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.h | 3 +++ libvirt-gconfig/libvirt-gconfig.sym | 4 3 files changed, 17 insertions(+) diff --gi