libxl: qemu_disk_scsi_drive_string: Break out common parts of disk config
authorJan Beulich <jbeulich@suse.com>
Thu, 28 Jun 2018 07:38:34 +0000 (09:38 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Jun 2018 07:38:34 +0000 (09:38 +0200)
commit3075d22f10af8232c363fa84144e7c34dc004485
treeb1cfb2622d5e2ca09002d63ec37df9df755a2f5c
parent8d3638489181d854497fd7bd87116ed63af0de8f
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.

Reported-by: Andrew Reimers <andrew.reimers@orionvm.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
master commit: 724e5aa31b58d1e430ad36b484cf0ec021497399
master date: 2018-06-28 09:04:55 +0200
tools/libxl/libxl_dm.c