Re: [libvirt] [PATCH v2 10/14] qemuBuildVhostuserCommandLine: Reuse qemuBuildChrChardevStr

2016-10-13 Thread John Ferlan
On 10/06/2016 09:38 AM, Michal Privoznik wrote: > There's no need to reinvent the wheel here. We already have a > function to format virDomainChrSourceDefPtr. It's called > qemuBuildChrChardevStr(). Use that instead of some dummy > virBufferAsprintf(). > > Signed-off-by: Michal Privoznik > ---

[libvirt] [PATCH v2 10/14] qemuBuildVhostuserCommandLine: Reuse qemuBuildChrChardevStr

2016-10-06 Thread Michal Privoznik
There's no need to reinvent the wheel here. We already have a function to format virDomainChrSourceDefPtr. It's called qemuBuildChrChardevStr(). Use that instead of some dummy virBufferAsprintf(). Signed-off-by: Michal Privoznik --- src/qemu/qemu_command.c | 16 +--- 1 file changed,