Re: [libvirt] [PATCH v2 07/15] vbox: Support empty removable drives.

2017-11-03 Thread John Ferlan
On 10/24/2017 03:35 PM, Dawid Zamirski wrote: > Original code was checking for non empty disk source before proceeding > to actually attach disk device to VM. This prevented from creating > empty removable devices like DVD or floppy. Therefore, this patch > re-organizes the loop work-flow to

[libvirt] [PATCH v2 07/15] vbox: Support empty removable drives.

2017-10-24 Thread Dawid Zamirski
Original code was checking for non empty disk source before proceeding to actually attach disk device to VM. This prevented from creating empty removable devices like DVD or floppy. Therefore, this patch re-organizes the loop work-flow to allow such configurations as well as makes the code follow