Re: [PATCH v1 11/24] qemu_command.c: reduce qemuBuildNicDevStr() if clauses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/14/20 10:42 PM, Daniel Henrique Barboza wrote:
We have a lot of "if (usingVirtio)" checks being done while
constructing the NIC command line. Let's put all of them in
a single "if".

Signed-off-by: Daniel Henrique Barboza <danielhb413@xxxxxxxxx>
---
  src/qemu/qemu_command.c | 50 ++++++++++++++++++++---------------------
  1 file changed, 25 insertions(+), 25 deletions(-)

This is exactly what I wanted to suggest when looking at previous patches. Kudos!

Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux