]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Remove need for qemuDomainParseIOThreadAlias
authorJohn Ferlan <jferlan@redhat.com>
Mon, 27 Apr 2015 18:16:54 +0000 (14:16 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 28 Apr 2015 10:33:30 +0000 (06:33 -0400)
commit4c2ca5664ac56c2b582a0f44851df73f0af39c92
tree73cafffe3f03d79e8f25329177fa8e6f01dc7f68
parente505591e28a3bc84f4647afdd6df6884bd939e48
qemu: Remove need for qemuDomainParseIOThreadAlias

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.
src/qemu/qemu_command.c
src/qemu/qemu_command.h
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_process.c
tests/qemumonitorjsontest.c