On a Thursday in 2021, Peter Krempa wrote:
Move the code into a new function called
qemuBuildControllerSCSIDevStr
so that the code is self contained and the original function easier to
follow.
This patch also moves the formatting of the properties relevant only for
the 'virtio-scsi' controller to the specific case so it's more clear
where they belong to.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_command.c | 142 +++++++++++++++++++++++-----------------
1 file changed, 82 insertions(+), 60 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano