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

Ján Tomko jtomko at redhat.com
Thu Sep 6 12:39:15 UTC 2018


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 Bolognani <abologna at redhat.com>
>---
> src/qemu/qemu_command.c | 42 ++++++++++++++++++++++++-----------------
> 1 file changed, 25 insertions(+), 17 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180906/7c607dc5/attachment-0001.sig>


More information about the libvir-list mailing list