Re: [PATCHv3 2c/9] qemu: Use qemuAliasFromDisk instead of qemuDeviceDriveHostAlias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]