libxl: qemu_disk_scsi_drive_string: Break out common parts of disk config
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 13 Jun 2018 14:51:36 +0000 (15:51 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 22 Jun 2018 15:38:39 +0000 (16:38 +0100)
commit0bb180b734bedfdfe906c4bd57c289219803d471
treed4763bddf28a7723ead4c9c067e6d7ee96536be7
parente5fe66a03b72284cab31cdf9ede029330f72663a
libxl: qemu_disk_scsi_drive_string: Break out common parts of disk config

The generated configurations are identical apart from, in some cases,
reordering of the id=%s element.  So, overall, no functional change.

This is part of XSA-266.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Gbp-Pq: Name libxl-qemu_disk_scsi_drive_string-break-.patch
tools/libxl/libxl_dm.c