Re: [PATCH v3 02/24] qemu: monitor: Return struct from qemuMonitor(Text|Json)QueryCPUs

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

 



On Wed, Aug 24, 2016 at 09:35:18AM -0400, Peter Krempa wrote:
Prepare to extract more data by returning a array of structs rather than
*an array

just an array of thread ids. Additionally report fatal errors separately
from qemu not being able to produce data.
---

Notes:
   v3:
   - fixed uninitialized variable in tests
   v2:
   - initialized ncpus in qemuMonitorTextQueryCPUs
   - fixed return value on alloc fail

src/qemu/qemu_monitor.c      | 31 ++++++++++++------
src/qemu/qemu_monitor.h      |  6 ++++
src/qemu/qemu_monitor_json.c | 77 +++++++++++++++++++++++---------------------
src/qemu/qemu_monitor_json.h |  3 +-
src/qemu/qemu_monitor_text.c | 41 +++++++++++------------
src/qemu/qemu_monitor_text.h |  3 +-
tests/qemumonitorjsontest.c  | 39 +++++++++++++++-------
7 files changed, 121 insertions(+), 79 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]