Re: [libvirt] [PATCH 2/3] Introduce virDomainChrSourceDefNew for virDomainChrDefPtr

2016-10-21 Thread Pavel Hrdina
On Fri, Oct 21, 2016 at 09:01:43AM -0400, John Ferlan wrote: > Change the virDomainChrDef to use a pointer to 'source' and allocate > that pointer during virDomainChrDefNew. > > This has tremendous "fallout" in the rest of the code which mainly > has to change source.$field to source->$field. >

[libvirt] [PATCH 2/3] Introduce virDomainChrSourceDefNew for virDomainChrDefPtr

2016-10-21 Thread John Ferlan
Change the virDomainChrDef to use a pointer to 'source' and allocate that pointer during virDomainChrDefNew. This has tremendous "fallout" in the rest of the code which mainly has to change source.$field to source->$field. Signed-off-by: John Ferlan ---