Re: [libvirt] [PATCH v2 3/7] qemu: Remove duplicated option formatting for virtio devices

2018-09-06 Thread Ján Tomko
On Thu, Sep 06, 2018 at 02:22:15PM +0200, Andrea Bolognani wrote: There are several functions where we pointlessly duplicate parts of the format string and pass the same arguments: refactor them so that the common parts are formatted separately from the variable parts. Signed-off-by: Andrea

[libvirt] [PATCH v2 3/7] qemu: Remove duplicated option formatting for virtio devices

2018-09-06 Thread Andrea Bolognani
There are several functions where we pointlessly duplicate parts of the format string and pass the same arguments: refactor them so that the common parts are formatted separately from the variable parts. Signed-off-by: Andrea Bolognani --- src/qemu/qemu_command.c | 42