[libvirt] [PATCH v3 3/3] storage: add wipeVol to iscsi-direct storage backend

2018-08-12 Thread clem
From: Clementine Hayat Signed-off-by: Clementine Hayat --- src/storage/storage_backend_iscsi_direct.c | 121 - 1 file changed, 120 insertions(+), 1 deletion(-) diff --git a/src/storage/storage_backend_iscsi_direct.c b/src/storage/storage_backend_iscsi_direct.c index

[libvirt] [PATCH v3 2/3] storage: add SetConnection to iscsi-direct backend

2018-08-12 Thread clem
From: Clementine Hayat The code to set the connection and connect using libiscsi will always be the same. Add function to avoid code duplication. Signed-off-by: Clementine Hayat --- src/storage/storage_backend_iscsi_direct.c | 38 +++--- 1 file changed, 26 insertions(+), 12

[libvirt] [PATCH v3 1/3] storage: refactor volume capacity in iscsi-direct backend

2018-08-12 Thread clem
From: Clementine Hayat The size of blocks inside a volume and the number of blocks are needed later. Having a function that return thoses information will avoid code duplication. Signed-off-by: Clementine Hayat --- src/storage/storage_backend_iscsi_direct.c | 21 - 1 file

[libvirt] [PATCH v3 0/3] add wipeVol to iscsi-direct

2018-08-12 Thread clem
From: Clementine Hayat Hello, This series of patch is the follow up of: v1:https://www.redhat.com/archives/libvir-list/2018-August/msg00557.html v2:https://www.redhat.com/archives/libvir-list/2018-August/msg00570.html Best Regards, -- Clementine Hayat Clementine Hayat (3): storage:

[libvirt] [PATCH v2] storage: add wipeVol to iscsi-direct storage backend

2018-08-10 Thread clem
From: Clementine Hayat Change set volume capacity to get volume capacity and put the connection and helpers in one function to avoid code duplicates. Signed-off-by: Clementine Hayat --- Set BLOCK_PER_PACKET to 128. Not sure about this value. Should be potentially tuned.

[libvirt] [PATCH] storage: add wipeVol to iscsi-direct storage backend

2018-08-10 Thread clem
From: Clementine Hayat Change set volume capacity to get volume capacity to avoid code duplicate. Signed-off-by: Clementine Hayat --- Set BLOCK_PER_PACKET to 128. Not sure about this value. Should be potentially tuned. src/storage/storage_backend_iscsi_direct.c | 152 +++--

[libvirt] [PATCH v4 0/4] iscsi-direct: first part

2018-08-05 Thread clem
From: Clementine Hayat Hello, This is the implementation of the iscsi-direct backend storage pool version 4. v1: https://www.redhat.com/archives/libvir-list/2018-July/msg00918.html v2: https://www.redhat.com/archives/libvir-list/2018-July/msg01528.html v3:

[libvirt] [PATCH v3 1/4] configure: Introduce libiscsi in build system

2018-08-05 Thread clem
From: Clementine Hayat The minimal required version is 1.18.0 because the synchrounous function needed were introduced here. Signed-off-by: Clementine Hayat --- configure.ac| 3 +++ m4/virt-libiscsi.m4 | 30 ++ 2 files changed, 33 insertions(+) create

[libvirt] [PATCH v3 3/4] storage: Implement iscsi_direct pool backend

2018-08-05 Thread clem
From: Clementine Hayat We need here libiscsi for the storgae pool backend. For the iscsi-direct storage pool, only checkPool and refreshPool should be necessary for basic support. The pool is state-less and just need the informations within the volume to work. Signed-off-by: Clementine Hayat

[libvirt] [PATCH v3 2/4] storage: Introduce iscsi_direct pool type

2018-08-05 Thread clem
From: Clementine Hayat Introducing the pool as a noop. Integration inside the build system. Implementation will be in the following commits. Signed-off-by: Clementine Hayat --- configure.ac | 6 +- docs/schemas/storagepool.rng | 35

[libvirt] [PATCH] storage: add findPoolSources to iscsi_direct pool backend

2018-08-02 Thread clem
From: Clementine Hayat Change the SetContext function to be able to take the session type in argument. Took the function findPoolSources of iscsi backend and wired it to my function since the formatting is essentially the same. Signed-off-by: Clementine Hayat ---

[libvirt] [PATCH v4 1/4] configure: Introduce libiscsi in build system

2018-07-31 Thread clem
From: Clementine Hayat The minimal required version is 1.18.0 because the synchrounous function needed were introduced here. Signed-off-by: Clementine Hayat --- configure.ac| 3 +++ m4/virt-libiscsi.m4 | 30 ++ 2 files changed, 33 insertions(+) create

[libvirt] [PATCH v4 4/4] news: add storage pool iscsi-direct

2018-07-31 Thread clem
From: Clementine Hayat Signed-off-by: Clementine Hayat --- docs/news.xml | 9 + 1 file changed, 9 insertions(+) diff --git a/docs/news.xml b/docs/news.xml index a68ef2dc1c..73e79dff0f 100644 --- a/docs/news.xml +++ b/docs/news.xml @@ -35,6 +35,15 @@ + + +

[libvirt] [PATCH v4 3/4] storage: Implement iscsi_direct pool backend

2018-07-31 Thread clem
From: Clementine Hayat We need here libiscsi for the storgae pool backend. For the iscsi-direct storage pool, only checkPool and refreshPool should be necessary for basic support. The pool is state-less and just need the informations within the volume to work. Signed-off-by: Clementine Hayat

[libvirt] [PATCH v4 2/4] storage: Introduce iscsi_direct pool type

2018-07-31 Thread clem
From: Clementine Hayat Introducing the pool as a noop. Integration inside the build system. Implementation will be in the following commits. Signed-off-by: Clementine Hayat --- configure.ac | 6 +- docs/schemas/storagepool.rng | 35

[libvirt] [PATCH v3 4/4] news: add storage pool iscsi-direct

2018-07-31 Thread clem
From: Clementine Hayat Signed-off-by: Clementine Hayat --- docs/news.xml | 9 + 1 file changed, 9 insertions(+) diff --git a/docs/news.xml b/docs/news.xml index a68ef2dc1c..73e79dff0f 100644 --- a/docs/news.xml +++ b/docs/news.xml @@ -35,6 +35,15 @@ + + +

[libvirt] [PATCH v3 0/4] iscsi-direct: first part

2018-07-31 Thread clem
From: Clementine Hayat Hello, This is the implementation of the iscsi-direct backend storage pool version 3. v1: https://www.redhat.com/archives/libvir-list/2018-July/msg00918.html v2: https://www.redhat.com/archives/libvir-list/2018-July/msg01528.html Best Regards, -- Clementine Hayat

[libvirt] [PATCH v2 0/3] iscsi-direct: first part

2018-07-23 Thread clem
From: Clementine Hayat Hello, This is the implementation of the iscsi-direct backend storage pool version 2. The documentation, some API calls and tests are still missing and will be comming in a second part. Best Regards, -- Clementine Hayat Clementine Hayat (3): configure: Introduce

[libvirt] [PATCH v2 3/3] storage: Implement iscsi_direct pool backend

2018-07-23 Thread clem
From: Clementine Hayat We need here libiscsi for the storgae pool backend. For the iscsi-direct storage pool, only checkPool and refreshPool should be necessary. The pool is state-less and just need the informations within the volume to work. Signed-off-by: Clementine Hayat ---

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

2018-07-23 Thread clem
From: Clementine Hayat Introducing the pool as a noop. Integration inside the build system. Implementation will be in the following commits. Signed-off-by: Clementine Hayat --- configure.ac | 6 ++- m4/virt-storage-iscsi-direct.m4| 41 +++

[libvirt] [PATCH v2 1/3] configure: Introduce libiscsi in build system

2018-07-23 Thread clem
From: Clementine Hayat The minimal required version is 1.18.0 because the synchrounous function needed were introduced here. Signed-off-by: Clementine Hayat --- configure.ac| 3 +++ m4/virt-libiscsi.m4 | 30 ++ 2 files changed, 33 insertions(+) create

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

2018-07-13 Thread clem
From: Clementine Hayat Signed-off-by: Clementine Hayat --- configure.ac | 6 ++- m4/virt-storage-iscsi-direct.m4| 41 + src/conf/domain_conf.c | 1 + src/conf/storage_conf.c| 31

[libvirt] [PATCH 1/3] configure: Introduce libiscsi in build system

2018-07-13 Thread clem
From: Clementine Hayat The minimal required version is 1.18.0 because the synchrounous function needed were introduced here. Signed-off-by: Clementine Hayat --- configure.ac| 3 +++ m4/virt-libiscsi.m4 | 30 ++ 2 files changed, 33 insertions(+) create

[libvirt] [PATCH 3/3] storage: Implement iscsi_direct pool backend

2018-07-13 Thread clem
From: Clementine Hayat We need here libiscsi for the storgae pool backend. For the iscsi-direct storage pool, only checkPool and refreshPool should be necessary. The pool is state-less and just need the informations within the volume to work. Signed-off-by: Clementine Hayat ---

[libvirt] [PATCH 0/3] iscsi-direct: first part

2018-07-13 Thread clem
From: Clementine Hayat Hello, This is the implementation of the iscsi-direct backend storage pool. The documentation, some API calls and tests are still missing and will be comming in a second part. Best Regards, -- Clementine Hayat Clementine Hayat (3): configure: Introduce libiscsi in

[libvirt] [PATCH 3/3] bhyve: start using virDomainObjCheckActive

2018-05-13 Thread clem
From: Clementine Hayat Signed-off-by: Clementine Hayat --- src/bhyve/bhyve_driver.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c index 24c4a9c80e..848116f14a 100644

[libvirt] [PATCH 0/3] Finish replacements for virDomainObjCheckActive

2018-05-13 Thread clem
From: Clementine Hayat Follow-up of https://www.redhat.com/archives/libvir-list/2018-April/msg01591.html Here is the changes asked by Ján Tomko: * Refactor also checks when the error message is close to "domain is not running" * Add forgotten checks in qemu_migration.c *

[libvirt] [PATCH 2/3] lxc: start using virDomainObjCheckActive

2018-05-13 Thread clem
From: Clementine Hayat Signed-off-by: Clementine Hayat --- src/lxc/lxc_driver.c | 65 +--- 1 file changed, 13 insertions(+), 52 deletions(-) diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index

[libvirt] [PATCH 1/3] qemu: start using virDomainObjCheckActive

2018-05-13 Thread clem
From: Clementine Hayat Signed-off-by: Clementine Hayat --- src/qemu/qemu_domain.c| 5 +- src/qemu/qemu_driver.c| 271 -- src/qemu/qemu_migration.c | 10 +- 3 files changed, 58 insertions(+), 228 deletions(-)