[libvirt] [PATCH v2 1/3] qemu: Remove need for qemuDomainParseIOThreadAlias

Peter Krempa pkrempa at redhat.com
Tue Apr 28 11:13:49 UTC 2015


On Tue, Apr 28, 2015 at 06:40:30 -0400, John Ferlan wrote:
> Rather than have a separate routine to parse the alias of an iothread
> returned from qemu in order to get the iothread_id value, parse the alias
> when returning and just return the iothread_id in qemuMonitorIOThreadInfoPtr
> 
> This set of patches removes the function, changes the "char *name" to
> "unsigned int" and handles all the fallout.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/qemu/qemu_command.c      | 17 -----------------
>  src/qemu/qemu_command.h      |  3 ---
>  src/qemu/qemu_driver.c       |  9 ++-------
>  src/qemu/qemu_monitor.c      |  1 -
>  src/qemu/qemu_monitor.h      |  2 +-
>  src/qemu/qemu_monitor_json.c | 20 ++++++++++++++------
>  src/qemu/qemu_process.c      | 11 ++++-------
>  tests/qemumonitorjsontest.c  | 12 ++++++------
>  8 files changed, 27 insertions(+), 48 deletions(-)
> 

ACK,

Peter
-------------- 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/20150428/64107326/attachment-0001.sig>


More information about the libvir-list mailing list