Re: [libvirt] [PATCH v2 3/5] bhyve: implement virConnectDomainXMLFromNative

2016-06-23 Thread Fabian Freyer
On 12/06/16 16:03, Roman Bogorodskiy wrote: > Fabian Freyer wrote: > >> First, remove escaped newlines and split up the string into an argv-list for >> the bhyve and loader commands, respectively. This is done by iterating over >> the >> string splitting it by newlines, and then re-iterating

Re: [libvirt] [PATCH v2 3/5] bhyve: implement virConnectDomainXMLFromNative

2016-06-12 Thread Roman Bogorodskiy
Fabian Freyer wrote: > First, remove escaped newlines and split up the string into an argv-list for > the bhyve and loader commands, respectively. This is done by iterating over > the > string splitting it by newlines, and then re-iterating over each line, > splitting it by spaces. > > Since

[libvirt] [PATCH v2 3/5] bhyve: implement virConnectDomainXMLFromNative

2016-06-12 Thread Fabian Freyer
First, remove escaped newlines and split up the string into an argv-list for the bhyve and loader commands, respectively. This is done by iterating over the string splitting it by newlines, and then re-iterating over each line, splitting it by spaces. Since this code reuses part of the code of