Re: [libvirt] [PATCH v3 08/13] vbox: Correctly generate drive name in dumpxml

2017-11-07 Thread John Ferlan
On 11/07/2017 01:49 PM, Dawid Zamirski wrote: > If a VBOX VM has e.g. a SATA and SCSI disk attached, the XML generated > by dumpxml used to produce "sda" for both of those disks. This is an > invalid domain XML as libvirt does not allow duplicate device names. To > address this, keep the running

[libvirt] [PATCH v3 08/13] vbox: Correctly generate drive name in dumpxml

2017-11-07 Thread Dawid Zamirski
If a VBOX VM has e.g. a SATA and SCSI disk attached, the XML generated by dumpxml used to produce "sda" for both of those disks. This is an invalid domain XML as libvirt does not allow duplicate device names. To address this, keep the running total of disks that will use "sd" prefix for device