[libvirt] [PATCH 12/12] qemu-command: Move qemuAssign*Alias* API's into their own module

Ján Tomko jtomko at redhat.com
Tue Feb 16 14:40:01 UTC 2016


On Mon, Feb 15, 2016 at 02:37:26PM -0500, John Ferlan wrote:
> Create a new module qemu_assign_alias.c to handle the qemuAssign*Alias* APIs

qemu_alias.c is shorter and could contain that one function that
extracts info from the alias.

> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  po/POTFILES.in               |   1 +
>  src/Makefile.am              |   1 +
>  src/qemu/qemu_assign_alias.c | 468 +++++++++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_assign_alias.h |  60 ++++++
>  src/qemu/qemu_command.c      | 427 +--------------------------------------
>  src/qemu/qemu_command.h      |  16 --
>  src/qemu/qemu_driver.c       |   1 +
>  src/qemu/qemu_hotplug.c      |   1 +
>  src/qemu/qemu_process.c      |   1 +
>  tests/qemuhotplugtest.c      |   1 +
>  tests/qemuxml2argvtest.c     |   1 +
>  11 files changed, 536 insertions(+), 442 deletions(-)
>  create mode 100644 src/qemu/qemu_assign_alias.c
>  create mode 100644 src/qemu/qemu_assign_alias.h
> 

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160216/8e723c8f/attachment-0001.sig>


More information about the libvir-list mailing list