On Mon, Aug 01, 2016 at 08:48:27AM -0400, John Ferlan wrote:
Since we already have a function that will generate the drivestr from
the alias, let's use it and remove the qemuDeviceDriveHostAlias.
Move the QEMU_DRIVE_HOST_PREFIX definition into qemu_alias.h.
Also alter qemuAliasFromDisk to use the QEMU_DRIVE_HOST_PREFIX instead
of "drive-%s".
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
src/qemu/qemu_alias.c | 13 +++++++++++--
src/qemu/qemu_alias.h | 2 ++
src/qemu/qemu_command.c | 11 -----------
src/qemu/qemu_command.h | 1 -
src/qemu/qemu_hotplug.c | 4 ++--
src/qemu/qemu_migration.c | 2 +-
src/qemu/qemu_monitor_json.c | 2 +-
src/qemu/qemu_monitor_text.c | 2 +-
8 files changed, 18 insertions(+), 19 deletions(-)
ACK
Jan