[libvirt] [RFC] proposal for libiscsi storage pool

2018-06-04 Thread Clementine Hayat
using a switch case on VIR_STORAGE_POOL_LIBISCSI inside domain_conf. Best regards, -- Clementine Hayat -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH v2 2/3] storage: Introduce iscsi_direct pool type

2018-07-24 Thread Clementine Hayat
2018-07-24 14:24 GMT+02:00 Michal Privoznik : > On 07/23/2018 08:43 PM, c...@lse.epita.fr wrote: >> From: Clementine Hayat >> >> Introducing the pool as a noop. Integration inside the build >> system. Implementation will be in the following commits. >> &

[libvirt] [PATCH] Add function that raises error if domain is not active

2018-04-12 Thread Clementine Hayat
base. Signed-off-by: Clementine Hayat <c...@lse.epita.fr> --- Patch proposed for gsoc2018. src/conf/domain_conf.c | 11 + src/conf/domain_conf.h | 2 + src/libvirt_private.syms | 1 + src/qemu/qemu_driver.c | 96 +--- 4 files changed, 34 inse

Re: [libvirt] [PATCH] Add function that raises error if domain is not active

2018-04-13 Thread Clementine Hayat
2018-04-13 8:25 GMT+00:00 Erik Skultety <eskul...@redhat.com>: > On Fri, Apr 13, 2018 at 09:45:48AM +0200, Michal Privoznik wrote: >> On 04/13/2018 09:31 AM, Ján Tomko wrote: >> > On Thu, Apr 12, 2018 at 07:49:15PM +, Clementine Hayat wrote: >> >> Add a func

[libvirt] [PATCH v2 3/9] test: start using virDomainObjCheckActive

2018-04-17 Thread Clementine Hayat
Signed-off-by: Clementine Hayat <c...@lse.epita.fr> --- src/test/test_driver.c | 35 +++ 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index eec7a8292..43221e547 100644 --- a/src/test/test_dr

[libvirt] [PATCH v2 2/9] qemu: start using virDomainObjCheckActive

2018-04-17 Thread Clementine Hayat
Signed-off-by: Clementine Hayat <c...@lse.epita.fr> --- src/qemu/qemu_domain.c | 5 +- src/qemu/qemu_driver.c | 271 + 2 files changed, 56 insertions(+), 220 deletions(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 700

[libvirt] [PATCH v2 7/9] openvz: start using virDomainObjCheckActive

2018-04-17 Thread Clementine Hayat
Signed-off-by: Clementine Hayat <c...@lse.epita.fr> --- src/openvz/openvz_driver.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c index 9900e8bab..66e589313 100644 --- a/src/openvz/openvz_dr

[libvirt] [PATCH v2 5/9] bhyve: start using virDomainObjCheckActive

2018-04-17 Thread Clementine Hayat
Signed-off-by: Clementine Hayat <c...@lse.epita.fr> --- src/bhyve/bhyve_driver.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c index 24c4a9c80..8aff0c65c 100644 --- a/src/bhyve/bhyve_driver.c +++

[libvirt] [PATCH v2 8/9] uml: start using virDomainObjCheckActive

2018-04-17 Thread Clementine Hayat
Signed-off-by: Clementine Hayat <c...@lse.epita.fr> --- src/uml/uml_driver.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c index ac168ce77..56dfd7b58 100644 --- a/src/uml/uml_driver.c +++ b/src/uml/uml_driver.c @@ -2

[libvirt] [PATCH v2 9/9] vz: start using virDomainObjCheckActive

2018-04-17 Thread Clementine Hayat
Signed-off-by: Clementine Hayat <c...@lse.epita.fr> --- src/vz/vz_driver.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c index e51d968f2..3094afccb 100644 --- a/src/vz/vz_driver.c +++ b/src/vz/vz_driver.c @@ -3998,11 +

[libvirt] [PATCH v2 0/9] Add function that raises error if domain is not active

2018-04-17 Thread Clementine Hayat
/page/BiteSizedTasks#Add_function_that_raises_error_if_domain_is_not_active Changes since v2: * renamed virDomainObjCheckIsActive into virDomainObjCheckActive * add the remaining occurences Clementine Hayat (9): Add function that raises error if domain is not active qemu: start using virDomainObjCheck

[libvirt] [PATCH v2 4/9] libxl: start using virDomainObjCheckActive

2018-04-17 Thread Clementine Hayat
Signed-off-by: Clementine Hayat <c...@lse.epita.fr> --- src/libxl/libxl_driver.c | 97 +--- 1 file changed, 21 insertions(+), 76 deletions(-) diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c index 8808da8db..b66a1de5f 100644 --- a/src

[libvirt] [PATCH v2 1/9] Add function that raises error if domain is not active

2018-04-17 Thread Clementine Hayat
Add a function named virDomainObjCheckIsActive in src/conf/domain_conf.c. It calls virDomainObjIsActive, raises error if necessary and returns. There is a lot of occurence of this pattern and it will save 3 lines on each call. Signed-off-by: Clementine Hayat <c...@lse.epita.fr> --- sr

[libvirt] [PATCH v2 6/9] lxc: start using virDomainObjCheckActive

2018-04-17 Thread Clementine Hayat
Signed-off-by: Clementine Hayat <c...@lse.epita.fr> --- src/lxc/lxc_driver.c | 60 +--- 1 file changed, 12 insertions(+), 48 deletions(-) diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index 4097cef93..008e41bda 100644 --- a/src/lxc/lxc_dr