On 01/06/2018 12:47 AM, John Ferlan wrote: > From: Marc Hartmayer <mhartmay@xxxxxxxxxxxxxxxxxx> > > Use a switch statement instead of if-else-if statements. Move the > command line building of the iothread attribute into the common path > as the SCSI controller attributes are already validated. > > Signed-off-by: Marc Hartmayer <mhartmay@xxxxxxxxxxxxxxxxxx> > Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx> > --- > src/qemu/qemu_command.c | 45 +++++++++++++++++++++++++-------------------- > 1 file changed, 25 insertions(+), 20 deletions(-) ACK Michal -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list