Re: [libvirt] [PATCH v3 17/18] util: Alter virNodeDevice{Create|Delete}Vport to use nodedev APIs

2017-03-12 Thread Laine Stump
On 03/10/2017 04:10 PM, John Ferlan wrote: > If we have a connection pointer there's no sense walking through the > sysfs in order to create/destroy the vHBA. Instead, let's make use of > the node device create/destroy API's. > > Since we don't have to rewrite all the various parent options for > t

Re: [libvirt] [PATCH v3 16/18] conf: Move/rename createVport and deleteVport

2017-03-12 Thread Laine Stump
On 03/10/2017 04:10 PM, John Ferlan wrote: > Move the bulk of the code to the node_device_conf and rename to > virNodeDevice{Create|Delete}Vport. > > Alter the create algorithm slightly in order to return the name of > the scsi_host vHBA that was created. The existing code would fetch > the name an

Re: [libvirt] [PATCH v3 14/18] conf: Convert virStoragePoolSourceAdapter to virStorageAdapter

2017-03-12 Thread Laine Stump
On 03/10/2017 04:10 PM, John Ferlan wrote: > Move the virStoragePoolSourceAdapter from storage_conf.h and rename > to virStorageAdapter. > > Continue with code realignment for brevity and flow. > > Signed-off-by: John Ferlan > --- > src/conf/storage_adapter_conf.c| 71 > ++---

Re: [libvirt] [PATCH v3 13/18] storage: Rework createVport and deleteVport

2017-03-12 Thread Laine Stump
On 03/10/2017 04:10 PM, John Ferlan wrote: > Rework the code to use the new FCHost specific adapter structures. > > Also rework the parameters to only pass what's need and leave logic in > the caller for the adapter type and the need to call the helpers. > > Signed-off-by: John Ferlan > --- > src

Re: [libvirt] [PATCH v3 12/18] storage: Rework getAdapterName to use adapter specific typedefs

2017-03-12 Thread Laine Stump
On 03/10/2017 04:10 PM, John Ferlan wrote: > Use the FCHost and SCSIHost adapter specific typedefs > > Signed-off-by: John Ferlan > --- > src/storage/storage_backend_scsi.c | 29 +++-- > 1 file changed, 15 insertions(+), 14 deletions(-) > > diff --git a/src/storage/storage

Re: [libvirt] [PATCH v3 04/18] conf: Rework parsing in virStoragePoolDefParseSourceAdapter

2017-03-12 Thread Laine Stump
On 03/12/2017 08:42 AM, John Ferlan wrote: > > >> >> (This is the first time I've seen "relnode" used to save a ctxt->node. When >> I look through the source, the one other place I see it is in virxml.c >> (other places use "node", "save_node", "oldnode", "save_ctxt", "tmpnode", >> and on an on)

[libvirt] [PATCH] docs: moved 'timestamps' and 'encryption' sub-element description in formatstorage doc

2017-03-12 Thread Alexander Vasilenko
--- docs/formatstorage.html.in | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in index c787a059d..225e19000 100644 --- a/docs/formatstorage.html.in +++ b/docs/formatstorage.html.in @@ -

[libvirt] [PATCH 7/7] docs: moved 'timestamps' and 'encryption' sub-element description in formatstorage doc

2017-03-12 Thread Alexander Vasilenko
--- docs/formatstorage.html.in | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in index c787a059d..225e19000 100644 --- a/docs/formatstorage.html.in +++ b/docs/formatstorage.html.in @@ -

Re: [libvirt] [PATCH 6/6] bhyve: test cases for VNC

2017-03-12 Thread Roman Bogorodskiy
Michal Privoznik wrote: > On 02/12/2017 04:12 PM, Roman Bogorodskiy wrote: > > Signed-off-by: Roman Bogorodskiy > > --- > > tests/bhyvexml2argvdata/bhyvexml2argv-vnc.args | 12 +++ > > tests/bhyvexml2argvdata/bhyvexml2argv-vnc.ldargs | 1 + > > tests/bhyvexml2argvdata/bhyvexml2argv-

Re: [libvirt] [PATCH v3 04/18] conf: Rework parsing in virStoragePoolDefParseSourceAdapter

2017-03-12 Thread John Ferlan
On 03/11/2017 08:16 PM, Laine Stump wrote: > On 03/10/2017 04:10 PM, John Ferlan wrote: >> Rather than use virXPathString, pass along an virXPathNode and alter >> the parsing to use virXMLPropString. > > Just so I understand the reasoning correctly - you're not doing this so you > can use virXM

Re: [libvirt] [PATCH v3 03/18] conf: Split out storage pool source adapter helpers

2017-03-12 Thread John Ferlan
On 03/11/2017 12:22 PM, Laine Stump wrote: > On 03/10/2017 04:10 PM, John Ferlan wrote: >> Split out the code that munges through the storage pool adapter into >> helpers - it's about to be moved into it's own source file. >> >> This is purely code motion at this point. >> >> Signed-off-by: John

Re: [libvirt] [PATCH v3 01/18] conf: Ensure both parent_wwnn/parent_wwpn provided

2017-03-12 Thread John Ferlan
On 03/11/2017 09:56 PM, Laine Stump wrote: > On 03/11/2017 10:34 AM, Laine Stump wrote: >> On 03/10/2017 04:10 PM, John Ferlan wrote: >>> https://bugzilla.redhat.com/show_bug.cgi?id=1428209 >>> >>> Commit id 'bb74a7ffe' neglected to check that both the parent_wwnn >>> parent_wwpn are in the XML i