[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH 02/13] qemu: eliminate duplicated code in qemuBuildDriveDevStr()
- From: John Ferlan <jferlan redhat com>
- To: Laine Stump <laine laine org>, libvir-list redhat com
- Subject: Re: [libvirt] [PATCH 02/13] qemu: eliminate duplicated code in qemuBuildDriveDevStr()
- Date: Fri, 08 May 2015 12:39:23 -0400
On 05/05/2015 02:03 PM, Laine Stump wrote:
> The code to add device type to the commandline was identical for lsi
> and other models of SCSI controllers, but was duplicated (with the
> exception of a minor ordering difference of the if-else clauses) for
> the two cases. This patch replaces those two with a single instance of
> the code just before the if().
> ---
> src/qemu/qemu_command.c | 39 +++++++++++++--------------------------
> 1 file changed, 13 insertions(+), 26 deletions(-)
>
ACK,
John
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]