Re: [libvirt] [PATCH v5 16/16] qemu: Use switch statement for address types in qemuBuildControllerDevStr

2018-01-28 Thread Michal Privoznik
On 01/06/2018 12:47 AM, John Ferlan wrote: > From: Marc Hartmayer > > 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. >

[libvirt] [PATCH v5 16/16] qemu: Use switch statement for address types in qemuBuildControllerDevStr

2018-01-05 Thread John Ferlan
From: Marc Hartmayer 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