Re: [libvirt] [PATCH v2 4/9] qemu: Make QEMU_DRIVE_HOST_PREFIX more private

2016-08-01 Thread Ján Tomko
On Tue, Jul 19, 2016 at 10:30:47AM -0400, John Ferlan wrote: Move QEMU_DRIVE_HOST_PREFIX into the qemu_alias.c to disuade future s/disuade/dissuade/ disuade is the Spanish spelling. I know that because I had to look it up in the dictionary anyway. callers from using it. Create qemuAliasDevic

[libvirt] [PATCH v2 4/9] qemu: Make QEMU_DRIVE_HOST_PREFIX more private

2016-07-19 Thread John Ferlan
Move QEMU_DRIVE_HOST_PREFIX into the qemu_alias.c to disuade future callers from using it. Create qemuAliasDeviceDiskDriveSkipPrefix in order to handle the current consumers that desire to check if an alias has the drive- prefix and "get beyond it" in order to get the disk alias. Signed-off-by: Jo