[libvirt] [PATCH 1/6] qemu: eliminate redundant if clauses in qemuCollectPCIAddress

Ján Tomko jtomko at redhat.com
Wed Sep 25 14:07:27 UTC 2013


On 09/25/2013 02:30 PM, Laine Stump wrote:
> Replace them with switch cases. This will make it more efficient when
> we add exceptions more controller types, and other device types.

s/more/for more/

> 
> This is a prerequisite for patches to resolve:
> 
>    https://bugzilla.redhat.com/show_bug.cgi?id=1003983
> ---
>  src/qemu/qemu_command.c | 57 +++++++++++++++++++++++++++----------------------
>  1 file changed, 32 insertions(+), 25 deletions(-)
> 

ACK

Jan




More information about the libvir-list mailing list